Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ 

A

AbstractCsvLineResourceBuilder - Class in org.thales.punch.libraries.punchlang.resource.builder
Abstract class to load a remote CSV resource using a streaming strategy.
AbstractCsvLineResourceBuilder(List<String>, String, boolean, boolean) - Constructor for class org.thales.punch.libraries.punchlang.resource.builder.AbstractCsvLineResourceBuilder
Ctor.
AbstractCsvResourceBuilder - Class in org.thales.punch.libraries.punchlang.resource.builder
In addition to AbstractCsvLineResourceBuilder, this abstract class addthe processing of extracting one of the column using a provided column name, and ocnstructs a dictionary.
AbstractCsvResourceBuilder(List<String>, String, boolean, String, boolean, boolean) - Constructor for class org.thales.punch.libraries.punchlang.resource.builder.AbstractCsvResourceBuilder
Ctor.
AbstractJsonResourceBuilder - Class in org.thales.punch.libraries.punchlang.resource.builder
Abstract class to load a remote JSON resource using a streaming strategy.
AbstractJsonResourceBuilder(String, boolean) - Constructor for class org.thales.punch.libraries.punchlang.resource.builder.AbstractJsonResourceBuilder
Ctor.
AbstractRemoteResourceHandler - Class in org.thales.punch.libraries.punchlang.resource
This abstract class responsibility is to take care of the thread that will periodically check and fire the reloading of a remote resource file.
AbstractRemoteResourceHandler(String, IResourceBuilder, String, boolean, boolean, IMetricContext) - Constructor for class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
Ctor using a plain HTTP HTTPS or file URL.
AbstractRemoteResourceHandler.AtomicTupleReference - Class in org.thales.punch.libraries.punchlang.resource
The result fetched by caller.
AbstractRemoteResourceHandlerBuilder<T> - Class in org.thales.punch.libraries.punchlang.api
So called remote handlers are in charge of loading, once or periodically, remote resource files and transform them in tuples.
AbstractRemoteResourceHandlerBuilder() - Constructor for class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
Ctor
AbstractTupleImpl - Class in org.thales.punch.libraries.punchlang.impl
This class provide the many useful api methods defined in the Tuple interface.
AbstractTupleImpl() - Constructor for class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
activate() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
The activate method is called after startup, and before receiving input tuples.
activate() - Method in class org.thales.punch.libraries.punchlang.api.PunchletDag
 
activate() - Method in class org.thales.punch.libraries.punchlang.api.Punchlets
 
activate() - Method in class org.thales.punch.libraries.punchlang.impl.TestPunchlet
 
add(T) - Method in class org.thales.punch.libraries.punchlang.api.PunchBloomFilter
Add an element
add(List<Punchlet>, String) - Method in class org.thales.punch.libraries.punchlang.api.PunchletDag
Add a punchlet to the list
add(Punchlet) - Method in class org.thales.punch.libraries.punchlang.api.PunchletSequence
Add a punchlet to the list
add(Object) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Add a tuple element into a set.
add(Object) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
addBlock(List<PunchletSequence>, String) - Method in class org.thales.punch.libraries.punchlang.api.PunchletDag
 
addEvent(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Adds a new asynchronous event to the queue.
addEventCallback(PunchletEventCallback) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
This method is not meant to be executed from within a punchlet.
addEventCallback(PunchletEventCallback) - Method in class org.thales.punch.libraries.punchlang.api.Punchlets
 
addEventCallback(PunchletEventCallback) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Register a user callback to process asynchronous events.
addKeyValue(String, Tuple) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.ByteBufTuple
 
addKeyValue(String, Tuple) - Method in interface org.thales.punch.libraries.punchlang.resource.tuple.IResourceTuple
Set or reset a value in a resource tuple
addKeyValue(String, Tuple) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.LazyInPlaceTuple
This method is called from the thread that fetch a remote resource In all cases an onStart was fired before, and once done an onEnd will follow.
addKeyValue(String, Tuple) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.LazyTuple
 
addKeyValue(String, Tuple) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.PlainTuple
 
addMapping(Tuple) - Method in class org.thales.punch.libraries.punchlang.mapping.api.MappingValidatorBuilder
Add a mapping to the mapping list.
addOutputRoute(String) - Method in class org.thales.punch.libraries.punchlang.operator.NifiOperator
Add route to output routes
addOutputRoute(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.NifiOperator
Add route to output routes
addRemoteResource(String, ISettingsMap) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandlers
Create a resource handler for given configuration.
addRuntimeData(Object, int, Object) - Method in interface org.thales.punch.libraries.punchlang.api.IRuntimeContext
 
addRuntimeData(Object, int, Object) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Add a new object as part of the runtime context of a punchlet.
addStaticGrokResource(String) - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletResources
Registers in a enrichment json tuple.
addStaticSiddhiRule(String, String) - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletResources
Registers in a siddhi rule.
addStaticString(Map<String, String>) - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletResources
Registers in a string resource rule.
addTestRemoteResource(String, String, String, boolean, String, ISettingsMap) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandlers
Create a resource handler for given parameters.
ancestor - Variable in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
Ancestor - Class in org.thales.punch.libraries.punchlang.impl
Keep track of the parent node for these tuple nodes that contain collections.
Ancestor(Ancestor.Type, TupleImpl) - Constructor for class org.thales.punch.libraries.punchlang.impl.Ancestor
 
AncestorArray - Class in org.thales.punch.libraries.punchlang.impl
 
AncestorArray(TupleImpl, int) - Constructor for class org.thales.punch.libraries.punchlang.impl.AncestorArray
 
AncestorMap - Class in org.thales.punch.libraries.punchlang.impl
 
AncestorMap(String, TupleImpl) - Constructor for class org.thales.punch.libraries.punchlang.impl.AncestorMap
 
AncestorSet - Class in org.thales.punch.libraries.punchlang.impl
 
AncestorSet(TupleImpl) - Constructor for class org.thales.punch.libraries.punchlang.impl.AncestorSet
 
append(Object) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Add a abject element at the end of an array.
append(Object) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
append(T) - Method in interface org.thales.punch.punchlang.util.ICodec
Append a new String into the codec.
append(char[], int) - Method in interface org.thales.punch.punchlang.util.ICodec
Append a char array at the end of the codec.
append(String) - Method in class org.thales.punch.punchlang.util.JsonArrayCodec
Add some data to the decoder
append(char[], int) - Method in class org.thales.punch.punchlang.util.JsonArrayCodec
Add some data taken from an input char array
append(String) - Method in class org.thales.punch.punchlang.util.LineCodec
Add some data to the decoder
append(char[], int) - Method in class org.thales.punch.punchlang.util.LineCodec
Add some data taken from an input char array
append(String) - Method in class org.thales.punch.punchlang.util.MultilineCodec
Add some data to the decoder
append(char[], int) - Method in class org.thales.punch.punchlang.util.MultilineCodec
 
append(char[], int) - Method in class org.thales.punch.punchlang.util.XmlCodec
Add some data taken from an input char array
append(String) - Method in class org.thales.punch.punchlang.util.XmlCodec
Add some data to the decoder
applyAsInt(String) - Method in class org.thales.punch.libraries.punchlang.resource.builder.AbstractJsonResourceBuilder
The callback invoked by the streaming JSON parser.
asArray() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Returns an ordered list of elements if the tuple is an array or a set.
asArray() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
asBoolean() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return the leaf value as a boolean.
asBoolean() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asBoolean(boolean) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
asBoolean(Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
asBytes() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return the leaf value as a byte array.
asBytes() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asCollection() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Returns a collection of elements.
asCollection() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asDouble() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return the leaf value as a double.
asDouble() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asDouble(Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
asDoubleArray() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Easily get an array of double.
asDoubleArray() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asFloat() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return the leaf value as a float.
asFloat() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asFloat(Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
asGeoShape() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Convert the Tuple in GeoFeatureTuple if the Tuple have the attributs : type and coordinates in content
asGeoShape() - Method in class org.thales.punch.libraries.punchlang.impl.GeoFeatureTuple
To avoid converting already converted tuples
asGeoShape() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
asInt() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return the leaf value as an integer.
asInt() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asInt(Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
asJson() - Method in class org.thales.punch.libraries.punchlang.api.PunchBloomFilter
 
asLong() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return the leaf value as a long.
asLong() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asLong(Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
asLongArray() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Easily get an array of long.
asLongArray() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asSet() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Returns a set of elements.
asSet() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
asShort(Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
asString() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return the leaf value as a String.
asString(String, Object...) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return the leaf value as a String.
asString() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asString(String, Object...) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asString(Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
asString() - Method in class org.thales.punch.libraries.punchlang.operator.HttpOperator
Get response as plain string text
asString() - Method in class org.thales.punch.libraries.punchlang.operator.ResourceOperator
 
asStringArray() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Easily get an array of long.
asStringArray() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
asTuple(Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
asTuple() - Method in class org.thales.punch.libraries.punchlang.operator.FetchCsvOperator
 
asTuple() - Method in class org.thales.punch.libraries.punchlang.operator.FetchJsonOperator
 
asTuple() - Method in class org.thales.punch.libraries.punchlang.operator.HttpOperator
Get response as Tuple
asTuple() - Method in class org.thales.punch.libraries.punchlang.operator.ResourceOperator
 
atomicTupleReference - Variable in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
The result that holds the fetched resource
AtomicTupleReference() - Constructor for class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler.AtomicTupleReference
 
attach(String, Object) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Attach a resource to this punchlet for later reuse.
attach(String, Object) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Attach some opaque data to this tuple.
attach(String, Object) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 

B

basicDate() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a basic formatter for a full date as four digit year, two digit month of year, and two digit day of month (yyyyMMdd).
basicDateTime() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a basic formatter that combines a basic date and time, separated by a 'T' (yyyyMMdd'T'HHmmss.SSSZ).
basicDateTimeNoMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a basic formatter that combines a basic date and time without millis, separated by a 'T' (yyyyMMdd'T'HHmmssZ).
basicOrdinalDate() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a full ordinal date, using a four digit year and three digit dayOfYear (yyyyDDD).
basicOrdinalDateTime() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a full ordinal date and time, using a four digit year and three digit dayOfYear (yyyyDDD'T'HHmmss.SSSZ).
basicOrdinalDateTimeNoMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a full ordinal date and time without millis, using a four digit year and three digit dayOfYear (yyyyDDD'T'HHmmssZ).
basicTime() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit millis, and time zone offset (HHmmss.SSSZ).
basicTimeNoMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset (HHmmssZ).
basicTTime() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit millis, and time zone offset prefixed by 'T' ('T'HHmmss.SSSZ).
basicTTimeNoMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset prefixed by 'T' ('T'HHmmssZ).
basicWeekDate() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a basic formatter for a full date as four digit weekyear, two digit week of weekyear, and one digit day of week (xxxx'W'wwe).
basicWeekDateTime() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a basic formatter that combines a basic weekyear date and time, separated by a 'T' (xxxx'W'wwe'T'HHmmss.SSSZ).
basicWeekDateTimeNoMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a basic formatter that combines a basic weekyear date and time without millis, separated by a 'T' (xxxx'W'wwe'T'HHmmssZ).
bestEffort() - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Indicate that the resource must not be absolutely loaded before the traffic pass.
between(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Look for all Json elements whose interval encloses the value contained in this tuple.
breakOnMatch(boolean) - Method in class org.thales.punch.libraries.punchlang.impl.GroksOperator
 
breakOnMatch(boolean) - Method in class org.thales.punch.libraries.punchlang.operator.GrokOperator
 
breakOnMatch(boolean) - Method in interface org.thales.punch.libraries.punchlang.operator.IGrokOperator
 
bug() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
BugOperator - Class in org.thales.punch.libraries.punchlang.operator
The bug operator introduces some bugs inside your topology.
BugOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.BugOperator
Default constructor
build() - Method in class org.thales.punch.libraries.punchlang.api.TupleBuilder
 
build() - Method in class org.thales.punch.libraries.punchlang.mapping.api.MappingValidatorBuilder
Create the Mapping Validator
build() - Method in class org.thales.punch.punchlang.util.JsonArrayCodecBuilder
 
build() - Method in class org.thales.punch.punchlang.util.LineCodecBuilder
 
build() - Method in class org.thales.punch.punchlang.util.MultilineCodecBuilder
 
build() - Method in class org.thales.punch.punchlang.util.XmlCodecBuilder
 
builder - Variable in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
 
builder - Variable in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
buildFromString(String) - Static method in class org.thales.punch.libraries.punchlang.api.PunchBloomFilter
 
busy() - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
Go for a busy loop, forever
busy(long) - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
Go busy for a while
ByteBufTuple - Class in org.thales.punch.libraries.punchlang.resource.tuple
This is the most efficient implementation.
ByteBufTuple() - Constructor for class org.thales.punch.libraries.punchlang.resource.tuple.ByteBufTuple
 

C

cef() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
CefOperator - Class in org.thales.punch.libraries.punchlang.operator
The CefOperator transform a CEF compliant string into a Json tuple.
CefOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.CefOperator
Create a CefOperator.
check() - Method in class org.thales.punch.libraries.punchlang.operator.CidrMatchOperator
Final action, return true or false if the given IP matches the subnet.
child - Variable in class org.thales.punch.libraries.punchlang.impl.PunchletContext
 
cidrField(String) - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Set the field providing the CIDR range.
cidrField(String) - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
Set the csv field to be used as the cidr range.
cidrmatch(int) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Return a CidrMatch operator for the corresponding index.
cidrmatch(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Return a CidrMatch operator for the corresponding index.
CidrMatchOperator - Class in org.thales.punch.libraries.punchlang.operator
The cidrmatch operator lets you check that an IP address (dotted number notation) matches a subnet.
CidrMatchOperator(Tuple) - Constructor for class org.thales.punch.libraries.punchlang.operator.CidrMatchOperator
Ctor.
CidrMatchOperator(Map<SubnetUtils, String>) - Constructor for class org.thales.punch.libraries.punchlang.operator.CidrMatchOperator
Ctor.
CidrMatchOperator(SubnetUtils) - Constructor for class org.thales.punch.libraries.punchlang.operator.CidrMatchOperator
Ctor.
cidrRange(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Deprecated.
cidrRange() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
CidrRangeOperator - Class in org.thales.punch.libraries.punchlang.operator
Important
CidrRangeOperator(RuntimeContext, String) - Constructor for class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Deprecated.
CidrRangeOperator(RuntimeContext) - Constructor for class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Constructor
cidrTrie() - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Use the CIDR trie.
clear() - Static method in class org.thales.punch.libraries.punchlang.operator.Clearer
 
clear() - Static method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
Test method to clear the resources after some tests
clear() - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandlers
Test method to repeat tests with a fresh starting point.
Clearer - Class in org.thales.punch.libraries.punchlang.operator
This is a utility test class that lets you easily clean all the static resources loaded in the jvm.
coalesce(Object...) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return the first non empty object in a list.
code - Variable in class org.thales.punch.libraries.punchlang.impl.PunchletContext
The original punchlet code
columns(String...) - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Provide the expected column names
columns(List<String>) - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Provide the expected column names as a list of strings
columns(String...) - Method in class org.thales.punch.libraries.punchlang.operator.FetchCsvOperator
Provide the expected column names
columns(List<String>) - Method in class org.thales.punch.libraries.punchlang.operator.FetchCsvOperator
Provide the expected column names as a list of strings
columns(String...) - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
 
columns - Variable in class org.thales.punch.libraries.punchlang.resource.builder.AbstractCsvLineResourceBuilder
 
compact() - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
In case you have very big resource files (30Mb, 100Mb or more), this option will represent the resource tuple in a way much more compact.
compactCidrTrie() - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Use the compact CIDR trie.
compactDirect() - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
This option is similar than the compact method but leverage bytebuffers with direct memory allocation.
compactInPlace() - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Set to true to make resource tuples refreshed in place.
compactionType - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Make it true to limit memory usage
compareTo(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
compareTo(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
compareTo(TupleImpl) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
CompileDissectOperator(String) - Static method in class org.thales.punch.libraries.punchlang.operator.DissectOperator
Pre-compile Dissect() pattern into Dissector objects to call them at runtime.
computeIfAbsent(String, Function<? super String, ?>) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
computeIfAbsent(String, Function<? super String, ? extends Supplier<Tuple>>) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandlers
This method will return the first IRemoteResourceHandler initialised in this JVM for the provided URL.
concat(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Concatenates the specified string to the end of this string.
concat(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
contains(String) - Method in class org.thales.punch.libraries.punchlang.api.IpList
 
contains(T) - Method in class org.thales.punch.libraries.punchlang.api.PunchBloomFilter
 
contains(String, String...) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a ContainsOperator operator.
contains(Tuple, String...) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a ContainsOperator operator.
contains(Object) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
This method behaves differently depending on the tuple type.
contains(Object) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
contains(Tuple, Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.GeoOperator
Return if the geoFeatureTuple T1 geometry contains geoFeatureTuple T2
contains(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.IpMatchOperator
fire the operator on the provided tuple.
contains(String) - Method in class org.thales.punch.libraries.punchlang.operator.IpMatchOperator
fire the operator on the provided string.
containsKey(K) - Method in class org.thales.punch.libraries.punchlang.api.RotatingMap
 
containsOneOf(String[]) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if this tuple contains a sub-string.
containsOneOf(Tuple) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if this tuple contains one of several sub-string.
containsOneOf(String[]) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
containsOneOf(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
ContainsOperator - Class in org.thales.punch.libraries.punchlang.operator
The Contains operator gives you efficient lookup inside Json documents, passed to your punchlet as punch Tuple.
ContainsOperator(Tuple, String...) - Constructor for class org.thales.punch.libraries.punchlang.operator.ContainsOperator
Return a new containsOperator, ready to answer queries with one or several lookup values.
content - Variable in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
the map for holding regular subtuples, if any
convert(String) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a convertor operator, transforming XML or JSON strings into tuples.
convert(Tuple) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a convertor operator, transforming XML or JSON strings into tuples.
ConvertorOperator - Class in org.thales.punch.libraries.punchlang.operator
The convertor operator transform a XML or Json input String into a punch tuple.
ConvertorOperator(String) - Constructor for class org.thales.punch.libraries.punchlang.operator.ConvertorOperator
Create a new converter operator for a given input String
cron - Variable in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
 
csv(String...) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
csvColumns(List<String>) - Method in class org.thales.punch.libraries.punchlang.api.TupleBuilder
 
csvDelimiter(String) - Method in class org.thales.punch.libraries.punchlang.api.TupleBuilder
Set the csv delimiter
CsvOperator - Class in org.thales.punch.libraries.punchlang.operator
The csv operator transform sequence of values separated by some delimiter into a key value map.
CsvOperator(String...) - Constructor for class org.thales.punch.libraries.punchlang.operator.CsvOperator
Create a csv operator with a list of field names.
CsvOperator(List<String>) - Constructor for class org.thales.punch.libraries.punchlang.operator.CsvOperator
Create a csv operator with a list of field names.
csvOperator - Variable in class org.thales.punch.libraries.punchlang.resource.builder.AbstractCsvLineResourceBuilder
 
CsvToArrayResourceBuilder - Class in org.thales.punch.libraries.punchlang.resource.builder
This builder constructs an array tuple from a CSV file provided in a streaming line by line mode.
CsvToArrayResourceBuilder(List<String>, String, boolean, boolean, boolean) - Constructor for class org.thales.punch.libraries.punchlang.resource.builder.CsvToArrayResourceBuilder
Ctor.
CsvToMapInPlaceResourceBuilder - Class in org.thales.punch.libraries.punchlang.resource.builder
Load a CSV file into a dictionary Tuple.
CsvToMapInPlaceResourceBuilder(Supplier<IResourceTuple>, List<String>, String, boolean, String, boolean, boolean) - Constructor for class org.thales.punch.libraries.punchlang.resource.builder.CsvToMapInPlaceResourceBuilder
Ctor.
CsvToMapResourceBuilder - Class in org.thales.punch.libraries.punchlang.resource.builder
Load a CSV as a resource tuple.
CsvToMapResourceBuilder(Supplier<IResourceTuple>, List<String>, String, boolean, String, boolean, boolean) - Constructor for class org.thales.punch.libraries.punchlang.resource.builder.CsvToMapResourceBuilder
Ctor.
CsvToTuple - Class in org.thales.punch.libraries.punchlang.resource.decoders
This decoder converts a JSON String to a Tuple.
CsvToTuple() - Constructor for class org.thales.punch.libraries.punchlang.resource.decoders.CsvToTuple
 
currentTimeMillis() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
currentTimeNanos() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
cutPrefix(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Remove a matching prefix
cutPrefix(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
cutSuffix(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Remove a matching prefix
cutSuffix(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 

D

data(String) - Method in class org.thales.punch.libraries.punchlang.operator.HttpOperator
Http POST and PUT data as plain string
data(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.HttpOperator
Http POST and PUT data as plain string
date() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
date(String) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a date operator with a destination time format.
date(String, String) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a date operator with a destination and source time format.
date() - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
date(int) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
date(int, int) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
date() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a full date as four digit year, two digit month of year, and two digit day of month (yyyy-MM-dd).
dateElementParser() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a generic ISO date parser for parsing dates.
DateFormatter - Interface in org.thales.punch.libraries.punchlang.mapping.tools
 
dateHour() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter that combines a full date and two digit hour of day.
dateHourMinute() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter that combines a full date, two digit hour of day, and two digit minute of hour.
dateHourMinuteSecond() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter that combines a full date, two digit hour of day, two digit minute of hour, and two digit second of minute.
dateHourMinuteSecondFraction() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter that combines a full date, two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second (yyyy-MM-dd'T'HH:mm:ss.SSS).
dateHourMinuteSecondMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter that combines a full date, two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second (yyyy-MM-dd'T'HH:mm:ss.SSS).
DateMathParser - Interface in org.thales.punch.libraries.punchlang.mapping.tools
An abstraction over date math parsing to allow different implementation for joda and java time.
DateOperator - Class in org.thales.punch.libraries.punchlang.operator
Basics
DateOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.DateOperator
Create a date operator with no destination or source date format.
DateOperator(DateTimeFormatter) - Constructor for class org.thales.punch.libraries.punchlang.operator.DateOperator
create a date operator with a destination date format.
DateOperator(DateTimeFormatter, DateTimeFormatter) - Constructor for class org.thales.punch.libraries.punchlang.operator.DateOperator
create a date operator with a destination and source date format.
dateOptionalTimeParser() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a generic ISO datetime parser where the date is mandatory and the time is optional.
dateParser() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a generic ISO date parser for parsing dates with a possible zone.
dateTime() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter that combines a full date and time, separated by a 'T' (yyyy-MM-dd'T'HH:mm:ss.SSSZZ).
dateTimeNoMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter that combines a full date and time without millis, separated by a 'T' (yyyy-MM-dd'T'HH:mm:ssZZ).
dateTimeParser() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a generic ISO datetime parser which parses either a date or a time or both.
dateTimeZoneToZoneId(DateTimeZone) - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.DateUtils
 
DateUtils - Class in org.thales.punch.libraries.punchlang.mapping.tools
 
debug() - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
debug() - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Turn debugging to true.
debug() - Method in class org.thales.punch.libraries.punchlang.operator.DissectOperator
Print multiple useful values for debugging.
debug() - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Make the operator print to standard output how the input string is processed.
decodeBase64() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Decode a string Tuple already in base64
decodeBase64() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
defaultMatch(String) - Method in class org.thales.punch.libraries.punchlang.operator.ContainsOperator
Set a default value if no match is found.
defaultMatch(String) - Method in class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Set a default value if no match is found.
defaultMatch(String) - Method in class org.thales.punch.libraries.punchlang.operator.FindByKeyOperator
Set a default value if no match is found.
delim(String) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Set the default separator.
delim(String, boolean) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Set the default separator and the separator type (regex or string).
delim(char) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Set the separator.
delim(String) - Method in class org.thales.punch.libraries.punchlang.operator.SplitOperator
Reset the delimiter.
delimiter(String) - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Set the CSV delimiter.
delimiter(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchCsvOperator
Set the CSV delimiter.
DEPRECATED_SHORT_TZ_IDS - Static variable in class org.thales.punch.libraries.punchlang.mapping.tools.DateUtils
 
disableEscaping() - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Disable the escaping that is performed as part of the key value conversion.
dissect(String) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a DissectOperator for a given pattern.
dissect(int) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
DissectOperator - Class in org.thales.punch.libraries.punchlang.operator
The dissect operator can be used to extract fields from unstructured data.
DissectOperator(Dissector) - Constructor for class org.thales.punch.libraries.punchlang.operator.DissectOperator
Dissect operator constructor.
distance(Tuple, Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.GeoOperator
Return a distance between two tuples.
divide(Tuple, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
divide(Tuple, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
divide(double, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
divide(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
divide(long, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
DnsTuple - Class in org.thales.punch.libraries.punchlang.impl
The DnsTuple is one of these tuple that give punchlets an access to the outside world.
DnsTuple() - Constructor for class org.thales.punch.libraries.punchlang.impl.DnsTuple
 
dtoPunchLeafValue(Object) - Static method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
When inserting leaf values into sets or arrays, we transform various types into the expected core punch types.
dump(Tuple) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Dump to stdout a plain String representation of a tuple.
dump() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return a String representation of this tuple.
dump() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
duplicate() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Clone a tuple.
duplicate() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 

E

ECodec - Enum in org.thales.punch.punchlang.util
The basic codecs you can plug in when reading data.
ecount() - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Return a counter, increased everytime you call it.
elasticsearchMappingValidation(Tuple, Tuple) - Method in class org.thales.punch.libraries.punchlang.mapping.impl.ElasticsearchMappingValidator
 
ElasticsearchMappingValidator - Class in org.thales.punch.libraries.punchlang.mapping.impl
 
ElasticsearchMappingValidator(List<Tuple>) - Constructor for class org.thales.punch.libraries.punchlang.mapping.impl.ElasticsearchMappingValidator
 
ElasticsearchParseException - Exception in org.thales.punch.libraries.punchlang.mapping.tools
 
ElasticsearchParseException(String, Object...) - Constructor for exception org.thales.punch.libraries.punchlang.mapping.tools.ElasticsearchParseException
 
ElasticsearchParseException(String, Throwable, Object...) - Constructor for exception org.thales.punch.libraries.punchlang.mapping.tools.ElasticsearchParseException
 
elements() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Returns an array of elements.
elements() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
empty() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Make a tuple empty.
empty() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
enclosingDelim(String) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Change the enclosing character.
encodeBase64() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Encode a string Tuple into a base64 String
encodeBase64() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
endsWith(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return true if the String value of this tuple ends with a given suffix.
endsWith(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
Entry - Class in org.thales.punch.libraries.punchlang.api
Entries used when iterating over sets or maps of tuples.
Entry(String, Tuple) - Constructor for class org.thales.punch.libraries.punchlang.api.Entry
Ctor
EpochTimeParser(boolean) - Constructor for class org.thales.punch.libraries.punchlang.mapping.tools.Joda.EpochTimeParser
 
EpochTimePrinter(boolean) - Constructor for class org.thales.punch.libraries.punchlang.mapping.tools.Joda.EpochTimePrinter
 
equals(Object) - Method in class org.thales.punch.libraries.punchlang.impl.GeoFeatureTuple
 
equals(int, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(double, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(long, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(long, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(Tuple, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(Tuple, short) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(double, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(Tuple, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(Tuple, float) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(String, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(Tuple, String) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(boolean, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(Tuple, boolean) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
equals(Object) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
Two tuples are equals if they are the same object or if they have the same leaf value.
equals(Object) - Method in class org.thales.punch.libraries.punchlang.operator.KvPortion
 
equalsOneOf(Tuple) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if this tuple contains a sub-string.
equalsOneOf(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
ERROR_LINE_OFFSET - Static variable in class org.thales.punch.libraries.punchlang.impl.PunchletSettings
This integer is used to compute the precise error line number should the punchlet encounter an exception.
escape(String) - Static method in class org.thales.punch.libraries.punchlang.impl.Utils
Escapes characters for text appearing as data in the Javascript Object Notation (JSON) data interchange format.
escape(String, List<KvPortion>) - Method in class org.thales.punch.libraries.punchlang.operator.KvJsonEscaper
Escape the provided string and return a list of portions.
escape(String, List<KvPortion>) - Method in class org.thales.punch.libraries.punchlang.operator.KvPlainEscaper
 
escape(char, char) - Method in class org.thales.punch.libraries.punchlang.operator.SplitOperator
Enable escaping
escapeAndReplace(boolean, String, char[], char, List<String>) - Static method in class org.thales.punch.libraries.punchlang.impl.Utils
Given an input String like this : hello,"world,you",moon it may be necessary before splitting it into "hello" and "world,you" and "moon", to make everything between (sqy) quotes be opacified.
escapeCharacter(char) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Allows to escape quote delimiters.
escapeCharacter(String) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Allows to escape quote delimiters.
escapeCharacter(char) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Allows to escape enclosing delimiters.
escapeDelimiters(String) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Alias for quoteDelimiters.
escapeJson() - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Enable the escaping of json objects and arrays
estimateParsedLength() - Method in class org.thales.punch.libraries.punchlang.mapping.tools.Joda.EpochTimeParser
 
estimatePrintedLength() - Method in class org.thales.punch.libraries.punchlang.mapping.tools.Joda.EpochTimePrinter
 
evaluate() - Method in class org.thales.punch.libraries.punchlang.operator.GrokOperator
Make the operator work in evaluation mode.
eventCount - Variable in class org.thales.punch.libraries.punchlang.impl.PunchletContext
 
every(long) - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
For testing performance punchlets it is handy to have something like this.
execute(Tuple) - Method in class org.thales.punch.libraries.punchlang.api.PunchletDag
 
execute(Tuple, IReceiver<Tuple>) - Method in class org.thales.punch.libraries.punchlang.api.PunchletDag
Execute a chain of punchlet starting from a specific one.
execute(Punchlet, Tuple, IReceiver<Tuple>) - Method in class org.thales.punch.libraries.punchlang.api.PunchletSequence
Execute a chain of punchlet starting from a specific one.
execute(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Execute the punchlet.
EXECUTE - Static variable in class org.thales.punch.libraries.punchlang.impl.PunchletSettings
the name of the main execute punchlet method
exists() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
 
exists() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
expire(K, V) - Method in interface org.thales.punch.libraries.punchlang.api.RotatingMap.ExpiredCallback
 

F

father - Variable in class org.thales.punch.libraries.punchlang.impl.Ancestor
 
fatherKey - Variable in class org.thales.punch.libraries.punchlang.impl.AncestorMap
 
fetch(Tuple) - Method in interface org.thales.punch.libraries.punchlang.impl.TupleFetcher
 
fetchCsv(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a fetchCsv operator.
fetchCsv() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a fetchCsv operator.
FetchCsvOperator - Class in org.thales.punch.libraries.punchlang.operator
Using the FetchCsvOperator you can load remote or local CSV files, and use them as resource tuple in your punchlet.
FetchCsvOperator(RuntimeContext, String) - Constructor for class org.thales.punch.libraries.punchlang.operator.FetchCsvOperator
Create a fetch operator for a remote resource.
FetchCsvOperator(RuntimeContext) - Constructor for class org.thales.punch.libraries.punchlang.operator.FetchCsvOperator
New style constructor
fetchJson(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Deprecated.
fetchJson() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a fetchJson operator.
FetchJsonOperator - Class in org.thales.punch.libraries.punchlang.operator
Using the fetchJson operator you can fetch remote or local JSON files, and use them as resource tuple in your punchlet.
FetchJsonOperator(RuntimeContext, String) - Constructor for class org.thales.punch.libraries.punchlang.operator.FetchJsonOperator
Create a fetch operator for a remote resource.
FetchJsonOperator(RuntimeContext) - Constructor for class org.thales.punch.libraries.punchlang.operator.FetchJsonOperator
Create a fetch operator to load JSON resources
FetchOperator<T> - Class in org.thales.punch.libraries.punchlang.operator
This is the base class for the FetchCsvOperator and the FetchJsonOperator, CidrRangeOperator operators, and more generally all operators that support the loading of remote CSV or JSON resource files.
FetchOperator(RuntimeContext) - Constructor for class org.thales.punch.libraries.punchlang.operator.FetchOperator
Ctor.
FetchOperator(RuntimeContext, String) - Constructor for class org.thales.punch.libraries.punchlang.operator.FetchOperator
Ctor.
fieldSplit(String) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Reset the regex used to delimit key values from each others.
fieldSplit(String) - Method in class org.thales.punch.libraries.punchlang.operator.ToKvOperator
Reset the String used to delimit key-value pairs.
findByInterval(Tuple, String) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a FindByIntervalOperator, acting on the passed json map.
findByInterval(Tuple, String, String) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a FindByIntervalOperator operator with min and max property interval boundaries.
findByInterval(Tuple) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a FindByIntervalOperator, acting on the passed json map.
FindByIntervalOperator - Class in org.thales.punch.libraries.punchlang.operator
The FindByIntervalOperator lets you efficiently find elements associated to interval given a value.
FindByIntervalOperator(Tuple, String) - Constructor for class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Create a FindInterval operator expecting ranges of min max given in arrays of 2 value, i.e.
FindByIntervalOperator(Tuple, String, String) - Constructor for class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Create a FindByIntervalOperator operator expecting ranges of min max, i.e.
FindByIntervalOperator(Tuple) - Constructor for class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Create a FindByIntervalOperator operator expecting ranges of min max values given either as arrays of 2 values, i.e.
findByKey(String, String...) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a FindByKeyOperator operator.
findByKey(Tuple, String...) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a FindByKeyOperator operator.
FindByKeyOperator - Class in org.thales.punch.libraries.punchlang.operator
The FindByKey operator gives you efficient lookup inside Json documents, passed to your punchlet as punch Tuple.
FindByKeyOperator(Tuple, String...) - Constructor for class org.thales.punch.libraries.punchlang.operator.FindByKeyOperator
Return a new FindByKeyOperatorRefactor, ready to answer queries with one or several lookup values.
fire() - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
fire the operator
fireEvents(Punchlet) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Notify the caller from the firing of some events.
firstMatch() - Method in class org.thales.punch.libraries.punchlang.operator.CidrMatchOperator
Make the operator only match the first element.
flush() - Method in class org.thales.punch.libraries.punchlang.api.TupleAvroEncoder
 
flush() - Method in interface org.thales.punch.punchlang.util.ICodec
flush buffer
flush() - Method in class org.thales.punch.punchlang.util.LineCodec
 
flush() - Method in class org.thales.punch.punchlang.util.MultilineCodec
 
forFields(Collection<DateTimeFieldType>, boolean, boolean) - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter that outputs only those fields specified.
format(TemporalAccessor) - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
Print the supplied java time accessor in a string based representation according to this formatter
format(TemporalAccessor) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
formatJoda(ReadableInstant) - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
Return the given Joda DateTime formatted with this format.
formatJoda(DateTime) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
formatMillis(long) - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
Return the given millis-since-epoch formatted with this format.
formatMillis(long) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
forPattern(String) - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.Joda
Parses a joda based pattern, including some named ones (similar to the built in Joda ISO ones).
fromCsv(String) - Method in class org.thales.punch.libraries.punchlang.api.TupleBuilder
 
fromEscapedJson() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
This method assumes your tuple holds a string leaf value.
fromEscapedJson() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
fromJson(String) - Method in class org.thales.punch.libraries.punchlang.api.TupleBuilder
 

G

generateFieldNames() - Method in class org.thales.punch.libraries.punchlang.operator.FetchCsvOperator
Call this to make the operator generate automatically field names.
geo() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a ready to use geo operator.
GeoFeatureTuple - Class in org.thales.punch.libraries.punchlang.impl
GeoTuple is the implementation of Tuple with geometry "geographic"
GeoFeatureTuple(Map<String, Object>, Ancestor) - Constructor for class org.thales.punch.libraries.punchlang.impl.GeoFeatureTuple
Constructor of GeoFeatureTuple.
geoip() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
GeoIpOperator - Class in org.thales.punch.libraries.punchlang.operator
The geoip operator is not supported starting punch release 6.x.
GeoIpOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.GeoIpOperator
 
geoOperator() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Get GeoOperator to make geoOperation
GeoOperator - Class in org.thales.punch.libraries.punchlang.operator
The GeoOperator exposes all the standard the cartographic and geographical functions .
GeoOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.GeoOperator
 
get(K) - Method in class org.thales.punch.libraries.punchlang.api.RotatingMap
 
get(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return a sub-tuple by key.
get(Tuple) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return a sub-tuple by key.
get(String, String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Retrieve a field from a tuple, and if not there return a default.
get(String, long) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Retrieve a field from a tuple, and if not there return a default.
get(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
get(String, String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
get(String, long) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
get(String) - Method in class org.thales.punch.libraries.punchlang.impl.DnsTuple
 
get(String) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
Retrieve a child.
get() - Method in class org.thales.punch.libraries.punchlang.operator.DateOperator
Fire and get the result of this operator.
get() - Method in class org.thales.punch.libraries.punchlang.operator.HttpOperator
Set request as GET.
get() - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
get() - Method in class org.thales.punch.libraries.punchlang.resource.LocalResourceHandler
 
get(String) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.ByteBufTuple
 
get(String) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.LazyInPlaceTuple
 
get(String) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.LazyTuple
 
getAffinity() - Method in class org.thales.punch.libraries.punchlang.api.PunchletBlockDeclarator
 
getAllHeaders() - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get all headers names and values in the email.
getAllHeadersExcept(String...) - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get all headers names and values in the email except the ones supplied in the list.
getArea(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.GeoOperator
Get Area of Geometry of GeoFeatureTuple
getAttachement(String) - Method in class org.thales.punch.libraries.punchlang.api.IpList
 
getAttachement(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
getAttachementKey() - Method in class org.thales.punch.libraries.punchlang.api.IpList
 
getAttachment(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Retrieve an attachment by key.
getAttachment(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
getAttachment(String) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
getAttachmentFor(String) - Method in class org.thales.punch.libraries.punchlang.operator.IpMatchOperator
fire the operator on the provided string.
getAttachmentFor(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.IpMatchOperator
fire the operator on the provided string.
getAttachmentsWithData() - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get list of attachments with their data.
getAttachmentsWithoutData() - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get list of attachments without their data.
getAvroRecord(Tuple) - Method in class org.thales.punch.libraries.punchlang.api.TupleAvroEncoder
 
getAvroRecord(Schema, Tuple) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Tuple to avro conversion method
getByKey(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return a sub-tuple by key.
getByKey(String) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
getCidrFieldKey(Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.UtilsCidr
Given a tuple, return the key of the first element that match a CIDR format.
getCidrTrie(Tuple, String) - Static method in class org.thales.punch.libraries.punchlang.impl.UtilsCidr
Given an input resource tuple, return a CIDR Trie structure.
getCode() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return the original punchlet code.
getCodes() - Method in class org.thales.punch.libraries.punchlang.api.PunchletSequenceDeclarator
 
getCompactCidrTrie(CompactCsv, String) - Static method in class org.thales.punch.libraries.punchlang.impl.UtilsCidr
 
getContentSize() - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get size of the email content (headers not included).
getCreateTrie(Tuple, String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
Retrieve the Trie attached to a resource tuple, create one if not in there.
getDeep(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return a sub-tuple by key recursively.
getDeep(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
getDeepEs(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return a sub-tuple by key recursively.
getDeepEs(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
getElement(int) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Retrieve the ith item from this tuple.
getElement() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
This method returns a new empty array element.
getElement(int) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
getElement() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
getElementFor(String) - Method in class org.thales.punch.libraries.punchlang.api.IpList
Use this only for debugging purpose.
getEnd() - Method in class org.thales.punch.libraries.punchlang.operator.KvPortion
 
getEntries() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Returns the list of inner property key/values.
getEntries() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
getErrorLineNumber() - Method in exception org.thales.punch.libraries.punchlang.api.PunchRuntimeException
 
getException() - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler.AtomicTupleReference
 
getExecutors() - Method in class org.thales.punch.libraries.punchlang.api.PunchletBlockDeclarator
 
getFiles() - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletResources
Punchlets can have associated files as resources.
getFileStream(String) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandler
 
getGeometry() - Method in class org.thales.punch.libraries.punchlang.impl.GeoFeatureTuple
Getter of Geometry attribute
getGrokOperator() - Method in class org.thales.punch.libraries.punchlang.impl.GrokArgs
 
getGroks() - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletResources
Return the groks associated to this punchlet.
getHeader(String) - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get header value if it is in the email.
getHeaderAsList(String) - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get header value if it is in the email.
getHeaders(String...) - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get headers names and values in the email based on provided list of header names.
getHostIp() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
getHostName() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
getHtmlContent() - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get text/html content in an email object after parsing MIME content.
getIndexForSemantic(String) - Static method in class org.thales.punch.libraries.punchlang.impl.PunchGrokUtils
Punch uses grok semantic string like "punch00", "punch01" etc ..
getIterator() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
This method only works on array tuples.
getIterator() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
getJsonFromTuple(Tuple) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Get a valid Json representation from a tuple.
getJsonFromTuple(Tuple, Object) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Get a valid Json representation from a tuple.
getJsonObjectMapper() - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Get a json object mapper.
getJsonParser() - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Get a json parser.
getJsonResource(String) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Return a the content of a Json resource file, loaded as an in memory tuple
getKey() - Method in class org.thales.punch.libraries.punchlang.api.Entry
 
getKeys() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Returns the list of inner property keys.
getKeys() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
getLeadingLineNumber() - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
getLeafTuple(Object) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Return a new leaf tuple.
getLocation() - Method in exception org.thales.punch.libraries.punchlang.api.PunchRuntimeException
 
getLongFromField(String) - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletDagExecutor
 
getMetricsContext() - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
getName() - Method in class org.thales.punch.libraries.punchlang.impl.PunchletDagExecutor
 
getNbAttachments() - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get number of attachments in the email.
getNewTuple() - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Use this method to create a new empty tuples.
getNewTuple(Object) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Use this method to create a non empty root tuple.
getNextItems() - Method in interface org.thales.punch.punchlang.util.ICodec
Check and return some (not necessary all) found items if any.
getNextItems() - Method in class org.thales.punch.punchlang.util.JsonArrayCodec
Return the next array elements, if any.
getNextItems() - Method in class org.thales.punch.punchlang.util.LineCodec
 
getNextItems() - Method in class org.thales.punch.punchlang.util.MultilineCodec
Return the next complete json elements, if any.
getNextItems() - Method in class org.thales.punch.punchlang.util.XmlCodec
Return the next complete json elements, if any.
getObjectMapper(boolean) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Deprecated.
use TupleFactory.getJsonObjectMapper(). Will be removed later. Only keep for compatibility with existing parsers
getPath() - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
 
getPaths() - Method in class org.thales.punch.libraries.punchlang.api.PunchletSequenceDeclarator
 
getPersistentId() - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Deprecated. 
getPlainContent() - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Get text/plain content in an email object after parsing MIME content.
getProperties() - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Return the properties associated to this punchlet, i.e.
getProperties() - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletResources
 
getQueueNum(LinkedBlockingQueue<Tuple>) - Static method in class org.thales.punch.libraries.punchlang.api.PunchletDag
 
getRemoteResource(String) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandlers
Return the object corresponding to this resource name.
getRemoteResourceAsString(String) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandlers
Return the String corresponding to this resource name.
getRemoteResourceAsTuple(String) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandlers
Return the Tuple corresponding to this resource name.
getRepeatedMatches(String, String) - Static method in class org.thales.punch.libraries.punchlang.impl.PunchGrokUtils
Given an input string and a standard regex pattern, return the repeated matches as a list of Strings.
getResource(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
getResource() - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
This subl
getResourceBuilder() - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
 
getResourceBuilder() - Method in class org.thales.punch.libraries.punchlang.operator.FetchCsvOperator
 
getResourceBuilder() - Method in class org.thales.punch.libraries.punchlang.operator.FetchJsonOperator
 
getResourceBuilder() - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Implemented by subclasses to return the adequate resource builder.
getResourceBuilder() - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
 
getResourceFromFile(String, IResourceBuilder) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandler
 
getResourceFromHttp(String, IResourceBuilder) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandler
 
getResourceFromS3(IResourceBuilder, String, String, String, Path, Path) - Static method in class org.thales.punch.libraries.punchlang.resource.S3RemoteResourceHandler
 
getResourceString(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a resource string value.
getResourceTuple(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a resource json tuple.
getRootTuple() - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
getRoutesFromTuple(Tuple) - Static method in class org.thales.punch.libraries.punchlang.operator.NifiOperator
Extract list of routes as string from tuple
getRule(String) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Return a siddhi rule defined as part of resource attached to this punchlet
getRulesByShortNames() - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletResources
 
getRuntimeData(Object, int) - Method in interface org.thales.punch.libraries.punchlang.api.IRuntimeContext
 
getRuntimeData(Object, int) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Return a runtime object attached to a running punchlet.
getRuntimeId() - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Return a runtime identifier.
getSingleChild() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return the single child of this tuple.
getSingleChild() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
getStart() - Method in class org.thales.punch.libraries.punchlang.operator.KvPortion
 
getStrictStandardDateFormatter() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.Joda
 
getStringFromByteBuf(String) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.ByteBufTuple
 
getStringResource(String) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Return a the content of a string resource file content, loaded as an in memory tuple
getStringsByName() - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletResources
 
getTuple(GenericData.Record) - Method in class org.thales.punch.libraries.punchlang.api.TupleAvroEncoder
 
getTuple() - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler.AtomicTupleReference
 
getTupleFromCsv(String, String, String, List<String>, boolean, boolean) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Build a punch tuple from a CSV file content.
getTupleFromCsv(String, String, String, boolean, boolean, boolean) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Build a punch tuple from a CSV file content.
getTupleFromJson(String) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Retrieve a tuple from a valid Json String.
getTupleFromJson(String, Object) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
 
getTupleFromJson(Object, String) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Deprecated.
use TupleFactory.getTupleFromJson(String fromJson, Object mapper). Will be removed later. Only keep for compatibility with existing parsers
getTupleFromList(List<Object>) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
 
getTupleFromMap(Map) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
Get a tuple from a map.
getTuplesByShortNames(Map<String, Tuple>) - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletResources
Simple conversion
getTupleSupplier() - Method in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
 
getTupleSupplier() - Method in class org.thales.punch.libraries.punchlang.api.RemoteResourceHandlerBuilder
 
getTupleSupplier() - Method in class org.thales.punch.libraries.punchlang.api.S3ResourceHandlerBuilder
 
getType() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
return a String representation of the type of the value contained in a tuple.
getType() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
getType() - Method in interface org.thales.punch.punchlang.util.ICodec
 
getType() - Method in class org.thales.punch.punchlang.util.JsonArrayCodec
 
getType() - Method in class org.thales.punch.punchlang.util.LineCodec
 
getType() - Method in class org.thales.punch.punchlang.util.MultilineCodec
 
getType() - Method in class org.thales.punch.punchlang.util.XmlCodec
 
getUniqueMessageId() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a unique id ready to be used as an ElasticSearch (or any other database) unique key.
getValue() - Method in class org.thales.punch.libraries.punchlang.api.Entry
 
getValue() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
This method is not visible to application.
getValue() - Method in class org.thales.punch.libraries.punchlang.operator.KvPortion
 
getValues() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Returns the collection of inner property values.
getValues() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
getWorldTuple() - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Return the world tuple associated to your punchlet
greater(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greater(long, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greater(Tuple, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greater(double, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greater(int, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greater(double, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greater(long, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greaterEq(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greaterEq(long, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greaterEq(Tuple, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greaterEq(double, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greaterEq(int, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greaterEq(double, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
greaterEq(long, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
grok(String) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a grok operator for the corresponding grok pattern
grok(GrokArgs...) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
GrokArgs - Class in org.thales.punch.libraries.punchlang.impl
This class is used to encapsulate all the argument required to execute a GrokOperator matching.
GrokArgs(RuntimeContext, int, Object...) - Constructor for class org.thales.punch.libraries.punchlang.impl.GrokArgs
 
grokArray - Variable in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
The array of compiled grok/regexes expressions.
GrokOperator - Class in org.thales.punch.libraries.punchlang.operator
The GrokOperator is the one invoked for matching grok patterns.
GrokOperator(Grok, Tuple[], TupleFetcher[]) - Constructor for class org.thales.punch.libraries.punchlang.operator.GrokOperator
This constructor is not meant to be called by applications.
GrokOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.GrokOperator
Default ctor.
GroksOperator - Class in org.thales.punch.libraries.punchlang.impl
 
GroksOperator(List<GrokOperator>) - Constructor for class org.thales.punch.libraries.punchlang.impl.GroksOperator
 

H

halt() - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
Halt your jvm
hash(String) - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletDagExecutor
 
hashCode() - Method in class org.thales.punch.libraries.punchlang.impl.GeoFeatureTuple
 
hasHeader(String) - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Check if the header is in the email.
hashKey - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
An optional hash key to be used to generate a hash table instead of an array.
hashKey(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Use this method to produce a dictionary instead of an array.
hasKey(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
 
hasKey(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
hasKey(String) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Make the operator work in evaluation mode.
hasKeyWithValue(String, String...) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Make the operator work in evaluation mode.
header(String, String) - Method in class org.thales.punch.libraries.punchlang.operator.HttpOperator
Add an http header
heisenberg() - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
Introduce a random bug once every 10000 * 360 message.
hour() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a two digit hour of day.
hourMinute() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a two digit hour of day and two digit minute of hour.
hourMinuteSecond() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a two digit hour of day, two digit minute of hour, and two digit second of minute.
hourMinuteSecondFraction() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second (HH:mm:ss.SSS).
hourMinuteSecondMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second (HH:mm:ss.SSS).
http(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Returns an http operator.
HttpOperator - Class in org.thales.punch.libraries.punchlang.operator
Tuple resource = http("https://your.resource.server/resource.csv") .header("Authorization", "Bearer: mytoken") .post(body) // this part is specific to a JSON body response .asTuple();
HttpOperator(RuntimeContext, String) - Constructor for class org.thales.punch.libraries.punchlang.operator.HttpOperator
Ctor.

I

ICodec<T> - Interface in org.thales.punch.punchlang.util
An ICodec lets you stream continuously some data (text) stream, and truncate the data using some delimiting strategy.
ignoreEmpty() - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Keys with an empty value will not be put into the final Tuple.
IGrokOperator - Interface in org.thales.punch.libraries.punchlang.operator
Internal interface used by compiled grok operators.
IMappingValidator - Interface in org.thales.punch.libraries.punchlang.mapping.api
This interface allows to validate a tuple schema using a validator (for example the ElasticsearchMappingValidator)
IMPORTS - Static variable in class org.thales.punch.libraries.punchlang.impl.PunchletSettings
a runtime error is declared to trigger at some line number, to convert it to the punchlet line number we must take into account the headers added by the punch compiler.
in(Object...) - Method in class org.thales.punch.libraries.punchlang.operator.IsOperator
Check if the value is in one of the argument.
in(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.IsOperator
Check if the value is in this tuple.
indexOf(char) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
String operation only.
indexOf(char, int) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
String operation only.
indexOf(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
String operation only.
indexOf(String, int) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
String operation only.
indexOf(char) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
indexOf(char, int) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
indexOf(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
indexOf(String, int) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
inferTypes() - Method in class org.thales.punch.libraries.punchlang.api.TupleBuilder
Guess the type of the csv columns.
inferTypes() - Method in class org.thales.punch.libraries.punchlang.impl.GroksOperator
 
inferTypes() - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Make the csv operator generate typed results.
inferTypes() - Method in class org.thales.punch.libraries.punchlang.operator.FetchCsvOperator
Auto-guess the fields type from your CSV files.
inferTypes() - Method in class org.thales.punch.libraries.punchlang.operator.GrokOperator
Activate type inference.
inferTypes() - Method in interface org.thales.punch.libraries.punchlang.operator.IGrokOperator
 
inferTypes() - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Activate type inference.
inferTypes() - Method in class org.thales.punch.libraries.punchlang.operator.SplitOperator
Activate type inference.
inside(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.IsOperator
Deprecated.
intersect(Tuple, Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.GeoOperator
Return if the geometries of T1 geoFeatureTuple have a least one pint in common with Geometry of T2 geoFeatureTuple
intervalTree() - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Use the interval tree.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.CefOperator
Fire the operator and put the result inside a destination tuple
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.CidrMatchOperator
Fire the operator and put the result into the provided tuple
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Fire the operator
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.ContainsOperator
Apply the operator an put the result into the provided tuple.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.ConvertorOperator
Parse the input string and returns true if it was successfully converted into the output punch tuple.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Fire the operator and put the result inside a destination tuple
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.DateOperator
Fire and put the result of this operator into a destination tuple.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.DissectOperator
Registers a tuple to hold the operator results.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Actually perform the query and put the result into 'into'
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.FindByKeyOperator
Fire the operator
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
Fire the operator and store the result in the provided tuple.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Registers a tuple to hold the operator results.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Put parsed headers and content into tuple.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.MoveOperator
fire the move to the requested (Tuple) destination.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.NifiOperator
Apply the operator an put the result into the provided tuple.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.SplitOperator
Fire the operator and store the result in the passed tuple.
into(Tuple, Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.SyslogHeaderOperator
Fire the operator.
into(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.ValidateSchemaOperator
Stores validation results in provided tuple.
invoke(Tuple) - Method in class org.thales.punch.libraries.punchlang.api.PunchletSequence
 
invoke(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
This method only invoke the punchlet execute method and takes care of catching all exception to make them transformed as punch runtime exceptions.
IPAddressesUtils - Class in org.thales.punch.libraries.punchlang.impl
Efficient ip related utility functions.
IpList - Class in org.thales.punch.libraries.punchlang.api
This class embeds an interval tree, and provides a ready to use black or white list service.
IpList(List<Object>) - Constructor for class org.thales.punch.libraries.punchlang.api.IpList
Get a new IP list.
ipmatch(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
This variant takes in the name of your resource tuple.
ipmatch(Tuple) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
the ipmatch method lets you check if an IP address is contained in a list.
IpMatchOperator - Class in org.thales.punch.libraries.punchlang.operator
Basics
IpMatchOperator(Tuple) - Constructor for class org.thales.punch.libraries.punchlang.operator.IpMatchOperator
Constructor
ipRange() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Use this method to get an IPV4 or IPV6 range operator.
IpRangeOperator - Class in org.thales.punch.libraries.punchlang.operator
Using the IpRangeOperator, you can perform efficient lookups to check if an IP address belongs to an IP range.
IpRangeOperator(RuntimeContext) - Constructor for class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
Constructor.
IpRangeOperator(RuntimeContext, String) - Constructor for class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
Deprecated.
ipv4() - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
Make the operator work assuming ipv4 ip address format.
ipv4Range() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Deprecated.
ipv4Range(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Deprecated.
ipv6() - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
 
ipv6Range() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Deprecated.
ipv6Range(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Deprecated.
IResourceBuilder - Interface in org.thales.punch.libraries.punchlang.api
Utility interface to build useful in memory structures from remote resource files.
IResourceBuilder.CompactionType - Enum in org.thales.punch.libraries.punchlang.api
very large resource files are common.
IResourceTuple - Interface in org.thales.punch.libraries.punchlang.resource.tuple
An IResourceTuple a PUNCHLANG Tuple that expose the Tuple.get(String) method but internally contains an optimised implementation to accommodate for very large resources.
IRuntimeContext - Interface in org.thales.punch.libraries.punchlang.api
Interface used by operators to register and retrieve runtime context data.
is(Object) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Called directly by the dsl at runtime.
isArray() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return true if this tuple contains an array value
isArray() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
isAsynchronous() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Some punchlets generate asynchronous events.
isAsynchronous() - Method in class org.thales.punch.libraries.punchlang.api.Punchlets
 
isAsynchronous() - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
isBooleanLeaf() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if a tuple contains a long value.
isBooleanLeaf() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
isBytesLeaf() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if a tuple contains a Byte array value.
isBytesLeaf() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
isDoubleLeaf() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if a tuple contains a double value.
isDoubleLeaf() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
isEmpty() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if a tuple contains some value.
isEmpty() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
isEmpty() - Method in class org.thales.punch.libraries.punchlang.resource.tuple.ByteBufTuple
 
isEquals(Object) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if a tuple contains a leaf value and if it is equal to a given value
isEquals(Object) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
isLeaf() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
 
isLeaf() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
isLongLeaf() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if a tuple contains a long value.
isLongLeaf() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
isMultipart() - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Check if email content is in multiple MIME parts.
IsOperator - Class in org.thales.punch.libraries.punchlang.operator
The is operator lets you check if an object is contained inside an array or set.
IsOperator(Object) - Constructor for class org.thales.punch.libraries.punchlang.operator.IsOperator
Constructor
isRoot() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return true if this tuple is a root one.
isRoot() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
isSet() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if this tuple holds a set
isSet() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
isStringLeaf() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Check if a tuple contains a String value.
isStringLeaf() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
isTuple() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return true if this tuple contains a tuple value
isTuple() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
isValidEmailAddress(String) - Static method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Check if email address is valid according to syntax rules of RFC 822.
isValidIp(String) - Static method in class org.thales.punch.libraries.punchlang.impl.IPAddressesUtils
 
isValidIpv4(String) - Static method in class org.thales.punch.libraries.punchlang.impl.IPAddressesUtils
 
isValidIpv6(String) - Static method in class org.thales.punch.libraries.punchlang.impl.IPAddressesUtils
 
isVerbose() - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 

J

Joda - Class in org.thales.punch.libraries.punchlang.mapping.tools
 
Joda.EpochTimeParser - Class in org.thales.punch.libraries.punchlang.mapping.tools
 
Joda.EpochTimePrinter - Class in org.thales.punch.libraries.punchlang.mapping.tools
 
JodaDateFormatter - Class in org.thales.punch.libraries.punchlang.mapping.tools
 
JodaDateFormatter(String, DateTimeFormatter, DateTimeFormatter) - Constructor for class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
JodaDateMathParser - Class in org.thales.punch.libraries.punchlang.mapping.tools
 
JodaDateMathParser(JodaDateFormatter) - Constructor for class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateMathParser
 
JsonArrayCodec - Class in org.thales.punch.punchlang.util
A simple Json streaming codec to detect the top level array elements.
JsonArrayCodec(int) - Constructor for class org.thales.punch.punchlang.util.JsonArrayCodec
Constructor
JsonArrayCodecBuilder - Class in org.thales.punch.punchlang.util
Use this class to build a codec JsonArray.
JsonArrayCodecBuilder() - Constructor for class org.thales.punch.punchlang.util.JsonArrayCodecBuilder
 
JsonMapper - Class in org.punch.json.mapper
This is a simple class to convert a tuple into a json representation.
JsonToMapInPlaceResourceBuilder - Class in org.thales.punch.libraries.punchlang.resource.builder
Load a JSON array as a resource tuple.
JsonToMapInPlaceResourceBuilder(Supplier<IResourceTuple>, String, boolean) - Constructor for class org.thales.punch.libraries.punchlang.resource.builder.JsonToMapInPlaceResourceBuilder
Ctor.
JsonToMapResourceBuilder - Class in org.thales.punch.libraries.punchlang.resource.builder
Load a JSON array as a resource tuple.
JsonToMapResourceBuilder(Supplier<IResourceTuple>, String, boolean) - Constructor for class org.thales.punch.libraries.punchlang.resource.builder.JsonToMapResourceBuilder
Ctor.
JsonToTuple - Class in org.thales.punch.libraries.punchlang.resource.decoders
This decoder converts a Json String to a Tuple.
JsonToTuple() - Constructor for class org.thales.punch.libraries.punchlang.resource.decoders.JsonToTuple
 
JsonToTupleResourceBuilder - Class in org.thales.punch.libraries.punchlang.resource.builder
Builder that accepts a plain JSON object as input and returns a plain Tuple.
JsonToTupleResourceBuilder() - Constructor for class org.thales.punch.libraries.punchlang.resource.builder.JsonToTupleResourceBuilder
Ctor.

K

keepEmpty() - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Use this method to make the CSV operator keep empty values, if any, in your
key - Variable in class org.thales.punch.libraries.punchlang.api.Entry
the entry key
kv() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
KvJsonEscaper - Class in org.thales.punch.libraries.punchlang.operator
This escaper accept JSON content directly as part of the input String.
KvJsonEscaper(String, char) - Constructor for class org.thales.punch.libraries.punchlang.operator.KvJsonEscaper
 
KvOperator - Class in org.thales.punch.libraries.punchlang.operator
Overview
KvOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.KvOperator
you can create a KvOperator on the fly, but it is less efficient than creating one at punchlet activation.
KvOperator(String, String) - Constructor for class org.thales.punch.libraries.punchlang.operator.KvOperator
you can create a Kv operator on the fly, but it is less efficient than creating one at punchlet activation.
KvPlainEscaper - Class in org.thales.punch.libraries.punchlang.operator
This utility class takes strings containing quotes (or single quotes) some possibly escaped detects what is inside pairs or these.
KvPlainEscaper(String, char) - Constructor for class org.thales.punch.libraries.punchlang.operator.KvPlainEscaper
 
KvPlainEscaper() - Constructor for class org.thales.punch.libraries.punchlang.operator.KvPlainEscaper
Test constructor.
KvPlainEscaperListener - Interface in org.thales.punch.libraries.punchlang.operator
This interface is used to reverse scan a string to isolate sub-escaped portions.
KvPlainEscaperListenerImpl - Class in org.thales.punch.libraries.punchlang.operator
 
KvPlainEscaperListenerImpl() - Constructor for class org.thales.punch.libraries.punchlang.operator.KvPlainEscaperListenerImpl
 
KvPortion - Class in org.thales.punch.libraries.punchlang.operator
A portion keeps track of a start and end index inside a String.
KvPortion(int, int) - Constructor for class org.thales.punch.libraries.punchlang.operator.KvPortion
 
KvPortion(int, int, String) - Constructor for class org.thales.punch.libraries.punchlang.operator.KvPortion
 

L

L - Class in org.thales.punch.libraries.punchlang.impl
The main library supporting the instructions required by a compiled PunchPlatform program.
largestFirst() - Method in class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Request the largest first
LastEventOperator - Class in org.thales.punch.libraries.punchlang.operator
The LastEventOperator helps you detect that something (or nothing) happened in a time interval.
LastEventOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.LastEventOperator
Create a new operator
LazyInPlaceTuple - Class in org.thales.punch.libraries.punchlang.resource.tuple
This variant uses internally two lazy tuples to avoid storing twice the loaded values: the current one and the newly loaded one.
LazyInPlaceTuple() - Constructor for class org.thales.punch.libraries.punchlang.resource.tuple.LazyInPlaceTuple
 
LazyTuple - Class in org.thales.punch.libraries.punchlang.resource.tuple
This IResourceTuple efficiently encode the value and defer their transformation in a real tuple only if there is a match.
LazyTuple() - Constructor for class org.thales.punch.libraries.punchlang.resource.tuple.LazyTuple
 
leafAsString() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return any leaf value as a String.
leafAsString() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
left() - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Activate the left search behavior
length() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
String API, returns the length of a String leaf Tuple.
length() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
LineCodec - Class in org.thales.punch.punchlang.util
A simple codec to read and return each line.
LineCodec(int) - Constructor for class org.thales.punch.punchlang.util.LineCodec
Constructor
LineCodecBuilder - Class in org.thales.punch.punchlang.util
Use this class to build a codec Line.
LineCodecBuilder() - Constructor for class org.thales.punch.punchlang.util.LineCodecBuilder
 
loadAtStartup() - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Deprecated.
loadingFailures() - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
loadingSuccess() - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
LOCAL_RESOURCES_DIRECTORY - Static variable in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
localDateOptionalTimeParser() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a generic ISO datetime parser where the date is mandatory and the time is optional.
localDateParser() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a generic ISO date parser for parsing local dates.
locale() - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
Returns the configured locale of the date formatter
locale() - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
LocalResourceHandler - Class in org.thales.punch.libraries.punchlang.resource
This test class emulates a remote resource handler to serve old-style local resources embedded as part of the jar.
LocalResourceHandler(String, IResourceBuilder) - Constructor for class org.thales.punch.libraries.punchlang.resource.LocalResourceHandler
 
localTimeParser() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a generic ISO time parser for parsing local times.
localzone(String) - Method in class org.thales.punch.libraries.punchlang.operator.DateOperator
Set the local timezone
LOG - Static variable in class org.thales.punch.libraries.punchlang.api.Punchlet
 
logger() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
You can log message using standard java logging.
logger - Static variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
 
logger - Static variable in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
logger - Static variable in class org.thales.punch.libraries.punchlang.resource.tuple.ByteBufTuple
 
LoggerTuple - Class in org.thales.punch.libraries.punchlang.impl
The logger tuple logs everything you write you write to a logger.
LoggerTuple(Logger) - Constructor for class org.thales.punch.libraries.punchlang.impl.LoggerTuple
 
lowerCaseKeys() - Method in class org.thales.punch.libraries.punchlang.api.TupleBuilder
Request all csv columns lower cases
lowerCaseKeys - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
True to make search keys converted to lower case
lowerCaseKeys() - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Make the lookup key values be converted to lower case value.

M

mail() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Get a mail operator to parse mail headers and content.
MailOperator - Class in org.thales.punch.libraries.punchlang.operator
The Mail Operator parses email headers and content from a Tuple.
MailOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.MailOperator
Create a MailOperator.
MappingValidatorBuilder - Class in org.thales.punch.libraries.punchlang.mapping.api
Builder for Mapping Validator
MappingValidatorBuilder() - Constructor for class org.thales.punch.libraries.punchlang.mapping.api.MappingValidatorBuilder
 
mark() - Method in class org.thales.punch.libraries.punchlang.operator.LastEventOperator
Signal the occurrence of an event.
markedSince(TimeUnit, long) - Method in class org.thales.punch.libraries.punchlang.operator.LastEventOperator
Check if the last event was marked occurred in given interval
match() - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
This method evaluates many substrings before it gives up.
matches(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
String API : Tells whether or not this string matches the given regular expression.
matches(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
matchFields(String...) - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
Set the csv field to be used as the cidr range.
memory() - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
cause a memory exception
memory(long) - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
Fill memory with as many K bytes
merge(Tuple) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
See mergeWith().
merge(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
mergeWith(Tuple) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return a merge of two Tuples A and B recursively.
mergeWith(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
meter(String) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a new com.codahale.metrics.Meter, registered to metrics registry (if any) using the passed name.
method(String) - Method in class org.thales.punch.libraries.punchlang.operator.HttpOperator
Set request method
metricRegistry - Variable in class org.thales.punch.libraries.punchlang.impl.PunchletContext
The associated codahale metric registry
metricsContext - Variable in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
 
minus(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
minus(Long, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
minus(long, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
minus(double, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
minus(double, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
minus(Tuple, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
mod(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
mod(Tuple, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
mod(long, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
mod(int, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
modulo(long, int) - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletDagExecutor
 
move(Tuple) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Get a move operator to move a tuple from one place to another.
MoveOperator - Class in org.thales.punch.libraries.punchlang.operator
The MoveOperator lets you move a tuple from one place to another.
MoveOperator(Tuple) - Constructor for class org.thales.punch.libraries.punchlang.operator.MoveOperator
Constructor.
multiKeys() - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Enable a treatment with multiple keys by stacking them in an array
MultilineCodec - Class in org.thales.punch.punchlang.util
Read multiline inputs based on a regex pattern.
MultilineCodec(int, String, String, Long, ECodec) - Constructor for class org.thales.punch.punchlang.util.MultilineCodec
Constructor
MultilineCodecBuilder - Class in org.thales.punch.punchlang.util
Use this class to build a codec streamer.
MultilineCodecBuilder() - Constructor for class org.thales.punch.punchlang.util.MultilineCodecBuilder
 
multiply(Tuple, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
multiply(Tuple, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
multiply(double, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
multiply(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
multiply(long, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 

N

nestedSeparator(String) - Method in class org.thales.punch.libraries.punchlang.operator.ToFlatTupleOperator
Set the string to be used to separate nested properties when creating the tuple keys.
nestedSeparator(String) - Method in class org.thales.punch.libraries.punchlang.operator.ToKvOperator
Set the string to be used to separate nested properties.
nestedSeparator(String) - Method in class org.thales.punch.libraries.punchlang.operator.UnflatTupleOperator
Set the string to be used to separate nested properties when creating the tuple keys.
nifi() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Get a new nifi operator.
NifiOperator - Class in org.thales.punch.libraries.punchlang.operator
The Nifi operator allows to interact with Nifi when using a Nifi Processor.
NifiOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.NifiOperator
Ctor
notEquals(int, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(double, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(long, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(long, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(Tuple, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(Tuple, short) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(double, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(Tuple, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(Tuple, float) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(String, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(Tuple, String) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(boolean, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
notEquals(Tuple, boolean) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
nullValue - Static variable in class org.thales.punch.libraries.punchlang.impl.TupleImpl
the null value is used to hold empty values.

O

on(String) - Method in class org.thales.punch.libraries.punchlang.impl.GroksOperator
 
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.CefOperator
Make the operator work on an input String
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.CefOperator
Make the operator work on an input Tuple.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.CidrMatchOperator
Make the operator ready to act on the provided tuple.
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.CidrMatchOperator
Make the operator ready to act on the provided String.
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Set the input value you want to match.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
Set the input ip value you want to match.
on(Tuple...) - Method in class org.thales.punch.libraries.punchlang.operator.ContainsOperator
Take the lookup key from an array of tuples
on(String...) - Method in class org.thales.punch.libraries.punchlang.operator.ContainsOperator
Take the lookup keys from Strings
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Make the operator work on an input String
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Make the operator work on an input Tuple.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.DateOperator
Take the input date from a Tuple.
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.DateOperator
Take the input date from a Tuple.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.DissectOperator
Set the input data for running this operator.
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.DissectOperator
Set the input data for running this operator.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Fire the operator on the provided tuple.
on(long) - Method in class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Set the search value.
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Set the search value.
on(Tuple...) - Method in class org.thales.punch.libraries.punchlang.operator.FindByKeyOperator
Take the lookup key from an array of tuples
on(String...) - Method in class org.thales.punch.libraries.punchlang.operator.FindByKeyOperator
Take the lookup keys from Strings
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.GrokOperator
Fire the grok matching.
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.GrokOperator
Fire the grok matching on a String Depending on your grok pattern, matches will be dispatched to your destination tuples.
on(String) - Method in interface org.thales.punch.libraries.punchlang.operator.IGrokOperator
 
on(Tuple) - Method in interface org.thales.punch.libraries.punchlang.operator.IGrokOperator
 
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
Set the input value you want to match.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
Set the input ip value you want to match.
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Set the input data for running this operator.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Set the input data for running this operator.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Make the operator work on an input Tuple.
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Make the operator work on an input String.
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.SplitOperator
Set the input value to split
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.SplitOperator
Set the input value to split
on(String) - Method in class org.thales.punch.libraries.punchlang.operator.SyslogHeaderOperator
 
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.SyslogHeaderOperator
 
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.ToFlatTupleOperator
Make the operator work on an input Tuple.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.ToKvOperator
Make the operator work on an input Tuple.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.UnflatTupleOperator
Make the operator work on an input Tuple.
on(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.ValidateSchemaOperator
Make the operator check if the provided tuple is conform with your schema.
onBackSlashQuote(int) - Method in interface org.thales.punch.libraries.punchlang.operator.KvPlainEscaperListener
Signal the occurrence of an escaped quote
onBackSlashQuote(int) - Method in class org.thales.punch.libraries.punchlang.operator.KvPlainEscaperListenerImpl
 
onceEvery(int) - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
Make the bug operator act once in a while
onEnd() - Method in interface org.thales.punch.libraries.punchlang.api.IResourceBuilder
Callback that tells you the scan is done.
onEnd() - Method in class org.thales.punch.libraries.punchlang.impl.SimpleResourceBuilder
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
 
onEnd() - Method in interface org.thales.punch.libraries.punchlang.operator.KvPlainEscaperListener
Once done call this method to retrieve the scanning result.
onEnd() - Method in class org.thales.punch.libraries.punchlang.operator.KvPlainEscaperListenerImpl
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.resource.builder.AbstractCsvResourceBuilder
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.resource.builder.AbstractJsonResourceBuilder
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.resource.builder.CsvToArrayResourceBuilder
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.resource.builder.JsonToTupleResourceBuilder
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.resource.decoders.CsvToTuple
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.resource.decoders.JsonToTuple
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.resource.tuple.ByteBufTuple
 
onEnd() - Method in interface org.thales.punch.libraries.punchlang.resource.tuple.IResourceTuple
This signal tells you the loading of a remote resource is now terminated.
onEnd() - Method in class org.thales.punch.libraries.punchlang.resource.tuple.LazyInPlaceTuple
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.resource.tuple.LazyTuple
 
onEnd() - Method in class org.thales.punch.libraries.punchlang.resource.tuple.PlainTuple
 
onQuote(int) - Method in interface org.thales.punch.libraries.punchlang.operator.KvPlainEscaperListener
Signal the occurrence of a quote.
onQuote(int) - Method in class org.thales.punch.libraries.punchlang.operator.KvPlainEscaperListenerImpl
 
onReceive(Punchlet, Tuple) - Method in interface org.thales.punch.libraries.punchlang.api.PunchletEventCallback
The upcall to receive events generated by a punchlet
onStart() - Method in interface org.thales.punch.libraries.punchlang.api.IResourceBuilder
Callback to tell you you are about to receive new lines.
onStart() - Method in class org.thales.punch.libraries.punchlang.impl.SimpleResourceBuilder
 
onStart() - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
 
onStart() - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
 
onStart() - Method in class org.thales.punch.libraries.punchlang.resource.builder.AbstractCsvLineResourceBuilder
 
onStart() - Method in class org.thales.punch.libraries.punchlang.resource.builder.CsvToArrayResourceBuilder
 
onStart() - Method in class org.thales.punch.libraries.punchlang.resource.builder.CsvToMapInPlaceResourceBuilder
The same resource tuple is kept in memory, we simply signal a new loading is about to happen.
onStart() - Method in class org.thales.punch.libraries.punchlang.resource.builder.CsvToMapResourceBuilder
The same resource tuple is kept in memory, we simply signal a new loading is about to happen.
onStart() - Method in class org.thales.punch.libraries.punchlang.resource.builder.JsonToMapInPlaceResourceBuilder
The same resource tuple is kept in memory, we simply signal a new loading is about to happen.
onStart() - Method in class org.thales.punch.libraries.punchlang.resource.builder.JsonToMapResourceBuilder
 
onStart() - Method in class org.thales.punch.libraries.punchlang.resource.builder.JsonToTupleResourceBuilder
 
onStart() - Method in class org.thales.punch.libraries.punchlang.resource.decoders.CsvToTuple
 
onStart() - Method in class org.thales.punch.libraries.punchlang.resource.decoders.JsonToTuple
 
onStart() - Method in interface org.thales.punch.libraries.punchlang.resource.tuple.IResourceTuple
This signal is sent right before a new set of values will be uploaded.
onStart() - Method in class org.thales.punch.libraries.punchlang.resource.tuple.LazyInPlaceTuple
 
onStream(Reader) - Method in interface org.thales.punch.libraries.punchlang.api.IResourceBuilder
Callback for you to stream the remote resource file.
onStream(Reader) - Method in class org.thales.punch.libraries.punchlang.impl.SimpleResourceBuilder
 
onStream(Reader) - Method in class org.thales.punch.libraries.punchlang.operator.CidrRangeOperator
 
onStream(Reader) - Method in class org.thales.punch.libraries.punchlang.operator.IpRangeOperator
 
onStream(Reader) - Method in class org.thales.punch.libraries.punchlang.resource.builder.AbstractCsvLineResourceBuilder
 
onStream(Reader) - Method in class org.thales.punch.libraries.punchlang.resource.builder.AbstractJsonResourceBuilder
 
onStream(Reader) - Method in class org.thales.punch.libraries.punchlang.resource.builder.JsonToTupleResourceBuilder
 
onStream(Reader) - Method in class org.thales.punch.libraries.punchlang.resource.decoders.CsvToTuple
 
onStream(Reader) - Method in class org.thales.punch.libraries.punchlang.resource.decoders.JsonToTuple
 
ordinalDate() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a full ordinal date, using a four digit year and three digit dayOfYear (yyyy-DDD).
ordinalDateTime() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a full ordinal date and time, using a four digit year and three digit dayOfYear (yyyy-DDD'T'HH:mm:ss.SSSZZ).
ordinalDateTimeNoMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a full ordinal date and time without millis, using a four digit year and three digit dayOfYear (yyyy-DDD'T'HH:mm:ssZZ).
org.punch.json.mapper - package org.punch.json.mapper
 
org.thales.punch.libraries.punchlang.api - package org.thales.punch.libraries.punchlang.api
Punch package documentation.
org.thales.punch.libraries.punchlang.impl - package org.thales.punch.libraries.punchlang.impl
 
org.thales.punch.libraries.punchlang.mapping.api - package org.thales.punch.libraries.punchlang.mapping.api
 
org.thales.punch.libraries.punchlang.mapping.impl - package org.thales.punch.libraries.punchlang.mapping.impl
 
org.thales.punch.libraries.punchlang.mapping.tools - package org.thales.punch.libraries.punchlang.mapping.tools
 
org.thales.punch.libraries.punchlang.operator - package org.thales.punch.libraries.punchlang.operator
Punch language operators.
org.thales.punch.libraries.punchlang.resource - package org.thales.punch.libraries.punchlang.resource
 
org.thales.punch.libraries.punchlang.resource.builder - package org.thales.punch.libraries.punchlang.resource.builder
 
org.thales.punch.libraries.punchlang.resource.decoders - package org.thales.punch.libraries.punchlang.resource.decoders
 
org.thales.punch.libraries.punchlang.resource.tuple - package org.thales.punch.libraries.punchlang.resource.tuple
 
org.thales.punch.punchlang.util - package org.thales.punch.punchlang.util
 
OUTPUT_ROUTES_KEY - Static variable in class org.thales.punch.libraries.punchlang.operator.NifiOperator
 
overwrite() - Method in class org.thales.punch.libraries.punchlang.operator.DissectOperator
Request the existing content of your output tuple to be wiped and overwritten with the dissect value.

P

parse(String) - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
Try to parse input to a java time TemporalAccessor
parse(String, LongSupplier) - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateMathParser
Parse a date math expression without timzeone info and rounding down.
parse(String, LongSupplier, boolean, DateTimeZone) - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateMathParser
Deprecated.
parse(String, LongSupplier, boolean, ZoneId) - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateMathParser
Parse text, that potentially contains date math into the milliseconds since the epoch
parse(String) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
Try to parse input to a java time TemporalAccessor using joda-time library.
parse(String, LongSupplier, boolean, ZoneId) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateMathParser
 
parseEmailAddress(String) - Static method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Parse email address as it might be in the following formats: "From" : john.doe@domain.com "From" : John Doe "From" : david.lynch@mit.edu Return null if the email address is not valid.
parseEmailAddressAccount(String) - Static method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Parse email address account after checking if the email address is valid.
parseEmailAddressDomain(String) - Static method in class org.thales.punch.libraries.punchlang.operator.MailOperator
Parse email address domain after checking if the email address is valid.
parseInto(DateTimeParserBucket, String, int) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.Joda.EpochTimeParser
 
parseJoda(String) - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
Parse the given input into a Joda DateTime.
parseJoda(String) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
parseJsonArray(Reader, ToIntFunction<String>) - Static method in class org.thales.punch.punchlang.util.StreamingJsonParser
 
parseMillis(String) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
parser - Variable in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
pass() - Method in class org.thales.punch.libraries.punchlang.operator.RateLimiterOperator
Evaluate the operator.
pattern() - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
A name based format for this formatter.
pattern() - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
PlainTuple - Class in org.thales.punch.libraries.punchlang.resource.tuple
This is a plain tuple offering an IResource interface.
PlainTuple() - Constructor for class org.thales.punch.libraries.punchlang.resource.tuple.PlainTuple
Ctor.
post() - Method in class org.thales.punch.libraries.punchlang.operator.HttpOperator
Set request as POST
prepare(ISettingsMap) - Method in interface org.thales.punch.libraries.punchlang.api.IResourceBuilder
An optional callback to prepare you builder with additional parameters.
prepare(ISettingsMap) - Method in class org.thales.punch.libraries.punchlang.resource.decoders.CsvToTuple
 
prepare(ISettingsMap) - Method in class org.thales.punch.libraries.punchlang.resource.decoders.JsonToTuple
 
preserveArrays() - Method in class org.thales.punch.libraries.punchlang.operator.ToFlatTupleOperator
Preserve the arrays.
preserveTypes() - Method in class org.thales.punch.libraries.punchlang.operator.ToFlatTupleOperator
 
print(String) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
print a string to standard output.
print(Tuple...) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Pretty print a tuple.
printer - Variable in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
printTo(StringBuffer, long, Chronology, int, DateTimeZone, Locale) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.Joda.EpochTimePrinter
We adjust the instant by displayOffset to adjust for the offset that might have been added in
printTo(Writer, long, Chronology, int, DateTimeZone, Locale) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.Joda.EpochTimePrinter
We adjust the instant by displayOffset to adjust for the offset that might have been added in
printTo(StringBuffer, ReadablePartial, Locale) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.Joda.EpochTimePrinter
 
printTo(Writer, ReadablePartial, Locale) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.Joda.EpochTimePrinter
 
privateBusy(long) - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
Busy wait callable from within an punchplatform program.
privateFill(long) - Static method in class org.thales.punch.libraries.punchlang.operator.BugOperator
 
privateSleep(long) - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
 
PunchBloomFilter<T> - Class in org.thales.punch.libraries.punchlang.api
A light wrap up of the orestes bloom filter.
PunchBloomFilter(int, double) - Constructor for class org.thales.punch.libraries.punchlang.api.PunchBloomFilter
Ctor.
PunchGrokUtils - Class in org.thales.punch.libraries.punchlang.impl
 
Punchlet - Class in org.thales.punch.libraries.punchlang.api
A punchlet is a punch program executed in a punchlet container.
Punchlet(RuntimeContext) - Constructor for class org.thales.punch.libraries.punchlang.api.Punchlet
Ctor
PUNCHLET_CLASS - Static variable in class org.thales.punch.libraries.punchlang.impl.PunchletSettings
the name of generated punchlet
PUNCHLET_PACKAGE - Static variable in class org.thales.punch.libraries.punchlang.impl.PunchletSettings
the package name used when generating punchlets.
PunchletBlockDeclarator - Class in org.thales.punch.libraries.punchlang.api
A block of punchlets represent a sequence of one or several punchlets, that you request to execute in one or several dedicated thread, and with an optional affinity string if it needs to receive input data from the previous block with some affinity.
PunchletBlockDeclarator(List<String>, List<String>, int, String) - Constructor for class org.thales.punch.libraries.punchlang.api.PunchletBlockDeclarator
Create a block of several punchlets at once.
PunchletContext - Class in org.thales.punch.libraries.punchlang.impl
This is the base class to be implemented by punchlets.
PunchletContext(RuntimeContext) - Constructor for class org.thales.punch.libraries.punchlang.impl.PunchletContext
The runtime context is passed.
PunchletDag - Class in org.thales.punch.libraries.punchlang.api
A punchlet dag is a lightweight topology like engine that runs a directed graph of several layers of punchlets, each in its own thread.
PunchletDag() - Constructor for class org.thales.punch.libraries.punchlang.api.PunchletDag
Default ctor
PunchletDagExecutor - Class in org.thales.punch.libraries.punchlang.impl
Instance of the punchlet dag lighweight engine.
PunchletDagExecutor(LinkedBlockingQueue<Tuple>, Map<String, LinkedBlockingQueue<Tuple>>, int, int, Punchlet, Tuple) - Constructor for class org.thales.punch.libraries.punchlang.impl.PunchletDagExecutor
Ctor.
PunchletEventCallback - Interface in org.thales.punch.libraries.punchlang.api
Some punchlets (i.e.
punchletList - Variable in class org.thales.punch.libraries.punchlang.api.Punchlets
The list of individual punchlets
PunchletResources - Class in org.thales.punch.libraries.punchlang.impl
This singleton class holds all the punchlet resources, corresponding to the $PUNCHPLATFORM_CONF_DIR tree configuration layout.
Punchlets - Class in org.thales.punch.libraries.punchlang.api
Most often several punchlets are grouped as one executable unit.
Punchlets(RuntimeContext) - Constructor for class org.thales.punch.libraries.punchlang.api.Punchlets
 
PunchletSequence - Class in org.thales.punch.libraries.punchlang.api
The PunchletSequence class chains several punchlets.
PunchletSequence() - Constructor for class org.thales.punch.libraries.punchlang.api.PunchletSequence
Default ctor
PunchletSequenceDeclarator - Class in org.thales.punch.libraries.punchlang.api
A PunchletSequenceDeclarator is used to represent a sequence of punchlet, to be executed in the same thread, one after the other.
PunchletSequenceDeclarator(List<String>, List<String>) - Constructor for class org.thales.punch.libraries.punchlang.api.PunchletSequenceDeclarator
Create a block of several punchlets at once.
PunchletSequenceDeclarator(String, String) - Constructor for class org.thales.punch.libraries.punchlang.api.PunchletSequenceDeclarator
Create a block made of a single punchlet.
PunchletSettings - Class in org.thales.punch.libraries.punchlang.impl
 
PunchRuntimeException - Exception in org.thales.punch.libraries.punchlang.api
A PunchRuntimeException is raised whenever a punchlet encounters an error.
PunchRuntimeException(Exception) - Constructor for exception org.thales.punch.libraries.punchlang.api.PunchRuntimeException
Use this constructor after executing a punchlet, should it fail on a native runtime exception such as ArrayOutOfBoundException for example.
PunchRuntimeException(String, Exception) - Constructor for exception org.thales.punch.libraries.punchlang.api.PunchRuntimeException
 
PunchRuntimeException() - Constructor for exception org.thales.punch.libraries.punchlang.api.PunchRuntimeException
Constructs an PunchException with no detailed message.
PunchRuntimeException(String) - Constructor for exception org.thales.punch.libraries.punchlang.api.PunchRuntimeException
Constructs an PunchException with the specified detail message.
PunchTupleFailureException - Exception in org.thales.punch.libraries.punchlang.api
A PunchTupleFailureException is raised for test purposes, when a specially designed (usually stateful) punchlet wants to cause a failure of some tuple (but probably not all, and not occurrences, or the input flow will never be fully processed, but this could be the test case...
PunchTupleFailureException(Exception) - Constructor for exception org.thales.punch.libraries.punchlang.api.PunchTupleFailureException
 
PunchTupleFailureException(String, Exception) - Constructor for exception org.thales.punch.libraries.punchlang.api.PunchTupleFailureException
 
PunchTupleFailureException() - Constructor for exception org.thales.punch.libraries.punchlang.api.PunchTupleFailureException
 
PunchTupleFailureException(String) - Constructor for exception org.thales.punch.libraries.punchlang.api.PunchTupleFailureException
 
put(K, V) - Method in class org.thales.punch.libraries.punchlang.api.RotatingMap
 
put() - Method in class org.thales.punch.libraries.punchlang.operator.HttpOperator
Set request as PUT
putAll(Map<String, Object>) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Put all the provided tuple key values in this tuple.
putAll(Map<String, Object>) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 

Q

QuarterOfYear - Static variable in class org.thales.punch.libraries.punchlang.mapping.tools.Joda
 
Quarters - Static variable in class org.thales.punch.libraries.punchlang.mapping.tools.Joda
 
quoteDelimiters(String) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Allows to specify quote delimiters.

R

r - Variable in class org.thales.punch.libraries.punchlang.impl.PunchletContext
The punchlet runtime context
raise(String) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Raise a punch exception.
raise() - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
Raise a runtime exception exception
raise(RuntimeException) - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
Raise a provided runtime exception
RateLimiterOperator - Class in org.thales.punch.libraries.punchlang.operator
The RateLimiterOperator helps you execute actions not too often.
RateLimiterOperator(TimeUnit, long) - Constructor for class org.thales.punch.libraries.punchlang.operator.RateLimiterOperator
Create a new operator with some delay
refresh(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Make the operator periodically fetch the remote resource.
reload() - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
reload() - Method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandler
 
reload() - Method in class org.thales.punch.libraries.punchlang.resource.S3RemoteResourceHandler
 
RemoteResourceHandler - Class in org.thales.punch.libraries.punchlang.resource
This abstract class responsibility is to take care of the thread that will periodically check and fire the reloading of a remote resource file.
RemoteResourceHandler(String, String, IResourceBuilder, String, boolean, boolean, IMetricContext) - Constructor for class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandler
Ctor
RemoteResourceHandlerBuilder - Class in org.thales.punch.libraries.punchlang.api
Use this builder to create a local, remote file or HTTP(S) resource handler.
RemoteResourceHandlerBuilder() - Constructor for class org.thales.punch.libraries.punchlang.api.RemoteResourceHandlerBuilder
RemoteResourceHandlers - Class in org.thales.punch.libraries.punchlang.resource
This class holds the per JVM static resource handlers used by some operators and available in a punchlets.
remove(Tuple) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Remove a tuple.
remove(K) - Method in class org.thales.punch.libraries.punchlang.api.RotatingMap
 
remove(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return and removes a sub-tuple by key.
remove(Tuple) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Set operation: remove an element from a set.
remove() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Remove this tuple.
remove(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
remove(Object) - Method in class org.thales.punch.libraries.punchlang.impl.Ancestor
 
remove(Object) - Method in class org.thales.punch.libraries.punchlang.impl.AncestorArray
 
remove(Object) - Method in class org.thales.punch.libraries.punchlang.impl.AncestorMap
 
remove(Object) - Method in class org.thales.punch.libraries.punchlang.impl.AncestorSet
 
remove(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Remove a tuple.
remove() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
Remove the content of a tuple.
remove(String) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
Remove an inner child node.
removeElement(Object) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Remove an element from an array or set.
removeElement(Object) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
Remove a set or array element
removeTrailingDoubleOrSingleQuote(String) - Static method in class org.thales.punch.libraries.punchlang.impl.Utils
remove from the string the leading and trailing quote and double quote.
replace(char, char) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Returns a string resulting from replacing all occurrences of oldChar in this string with newChar.
replace(char, char) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
replaceAll(String, String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Replaces each substring occurence of this string that matches the given regular expression regex with the given replacement.
replaceAll(String, String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
replaceAllKeys(String, String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
For each inner property Tuple contained in this tuple, replaces each substring occurence of its key that matches the given regular expression with the given replacement.
replaceAllKeys(String, String) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
replaceAllKeys(String, String) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Apply a replacement to all generated keys matching substrings.
replaceAllKeyValues(String, String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
replaceAllKeyValues(String, String) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
replaceAllKeyValues(String, String) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
replaceAllValues(String, String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
For each inner String value contained in this tuple, replaces each substring occurence that matches the given regular expression with the given replacement.
replaceAllValues(String, String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
replaceAllValues(String, String) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Apply a replacement to all generated keys matching substrings.
replaceFirst(String, String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Replaces the first substring of this string that matches the given regular expression with the given replacement.
replaceFirst(String, String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
REPLACEMENT - Static variable in class org.thales.punch.libraries.punchlang.operator.KvOperator
A replacement pattern to be used when escaping.
required() - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Indicate that the resource is absolutely required for the processing.
requiredResource - Variable in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
 
requiredResource - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Set to true to prevent any processing in case of unavailable resource (at start time or afterwards).
requiredResource - Variable in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
If true, the get resource must be loaded first before any first retrieval.
reset() - Static method in class org.thales.punch.libraries.punchlang.impl.PunchletResources
Test method, lets you flush the static per jvm resources.
ResourceOperator - Class in org.thales.punch.libraries.punchlang.operator
You can get a remote resource as a raw string or as a tuple if a decoder is provided.
ResourceOperator(String) - Constructor for class org.thales.punch.libraries.punchlang.operator.ResourceOperator
 
resourceUuid - Variable in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
restore(String, List<String>) - Static method in class org.thales.punch.libraries.punchlang.impl.Utils
 
restore(String, List<KvPortion>) - Static method in class org.thales.punch.libraries.punchlang.operator.KvJsonEscaper
 
restore(String, List<KvPortion>) - Static method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Input strings like "a=\"hello\" b=2" are transformed into "a=@PUNCH@ b=2 in the first escaping step.
retainFields() - Method in class org.thales.punch.libraries.punchlang.operator.DateOperator
Make the timezone change not alter the date fields.
reverseScan(String, KvPlainEscaperListener) - Method in class org.thales.punch.libraries.punchlang.operator.KvPlainEscaper
This method is public to facilitate unit tests.
rotate() - Method in class org.thales.punch.libraries.punchlang.api.RotatingMap
 
RotatingMap<K,V> - Class in org.thales.punch.libraries.punchlang.api
Expires keys that have not been updated in the configured number of seconds.
RotatingMap(int, RotatingMap.ExpiredCallback<K, V>) - Constructor for class org.thales.punch.libraries.punchlang.api.RotatingMap
 
RotatingMap(RotatingMap.ExpiredCallback<K, V>) - Constructor for class org.thales.punch.libraries.punchlang.api.RotatingMap
 
RotatingMap(int) - Constructor for class org.thales.punch.libraries.punchlang.api.RotatingMap
 
RotatingMap.ExpiredCallback<K,V> - Interface in org.thales.punch.libraries.punchlang.api
 
run() - Method in class org.thales.punch.libraries.punchlang.api.PunchletDag
 
run() - Method in class org.thales.punch.libraries.punchlang.impl.PunchletDagExecutor
 
run() - Method in class org.thales.punch.libraries.punchlang.operator.CidrMatchOperator
Fire the operator.
run(Runnable) - Method in class org.thales.punch.libraries.punchlang.operator.RateLimiterOperator
Run the passed Runnable once in the operator interval.
run() - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
RuntimeContext - Class in org.thales.punch.libraries.punchlang.impl
The RuntimeContext stores everything we need to execute a punchlet.
RuntimeContext() - Constructor for class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
RuntimeContext(boolean, List<Map.Entry<String, Tuple>>, List<Map.Entry<String, String>>, Map<String, String>, Grok[], SubnetUtils[], DateTimeFormatter[], Dissector[], String[]) - Constructor for class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
RuntimeContext(Grok[], SubnetUtils[], DateTimeFormatter[], Dissector[], String[]) - Constructor for class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Ctor.
runtimeContext - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
The caller punchlet runtime context.
runtimeContext - Variable in class org.thales.punch.libraries.punchlang.operator.HttpOperator
The caller punchlet runtime context.

S

s3AccessKey(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
This method is unsafe, use it only for test or ad-hoc investigations.
s3AccessKeyPath(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
This method is unsafe, use it only for test or ad-hoc investigations.
s3Bucket - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
the S3 bucket.
s3Bucket(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
The bucket where to load your resource file
s3Bucket - Variable in class org.thales.punch.libraries.punchlang.resource.S3RemoteResourceHandler
 
s3endpoint - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
the S3 end-point is the target S3 server HTTP.
s3Endpoint(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Use this parameter for loading from a S3 compatible store.
s3Endpoint - Variable in class org.thales.punch.libraries.punchlang.resource.S3RemoteResourceHandler
 
s3Key - Variable in class org.thales.punch.libraries.punchlang.resource.S3RemoteResourceHandler
 
s3KeyPath - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
the S3 access key.
s3Object - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
the S3 resource object.
s3Object(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
The bucket where to load your resource file
s3Object - Variable in class org.thales.punch.libraries.punchlang.resource.S3RemoteResourceHandler
 
S3RemoteResourceHandler - Class in org.thales.punch.libraries.punchlang.resource
A S3 remote resource loader based on Minio client.
S3RemoteResourceHandler(String, String, String, String, Path, Path, IResourceBuilder, String, boolean, boolean, IMetricContext) - Constructor for class org.thales.punch.libraries.punchlang.resource.S3RemoteResourceHandler
S3 CTOR
S3ResourceHandlerBuilder - Class in org.thales.punch.libraries.punchlang.api
Use this builder to create a S3 remote resource handler.
S3ResourceHandlerBuilder() - Constructor for class org.thales.punch.libraries.punchlang.api.S3ResourceHandlerBuilder
Ctor
s3Secret(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
This method is unsafe, use it only for test or ad-hoc investigations.
s3Secret - Variable in class org.thales.punch.libraries.punchlang.resource.S3RemoteResourceHandler
 
s3SecretPath - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
the S3 access key.
sanitize(String) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Sanitize the input string before being submitted to the operator.
schedule(Runnable) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
select(String...) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Given a tuple, return a selection of one or several of its child.
select(String...) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
SEMANTIC - Static variable in class org.thales.punch.libraries.punchlang.impl.PunchGrokUtils
 
separator(String) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Set the default separator.
separator(char) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Set the separator.
set(Object) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Assign this tuple a new leaf value
set(String, Object) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Add an object as property to this tuple.
set(Object) - Method in class org.thales.punch.libraries.punchlang.impl.Ancestor
 
set(Object) - Method in class org.thales.punch.libraries.punchlang.impl.AncestorArray
 
set(Object) - Method in class org.thales.punch.libraries.punchlang.impl.AncestorMap
 
set(Object) - Method in class org.thales.punch.libraries.punchlang.impl.AncestorSet
 
set(Tuple, Object) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(Tuple, short) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(Tuple, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(Tuple, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(Tuple, float) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(Tuple, boolean) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(Tuple, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(Tuple, String[]) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(Tuple, long[]) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(Tuple, double[]) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
set(String, Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.LoggerTuple
 
set(String, Object) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
Add a child object to a map tuple
set(Object) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
Set a new value to a tuple
set(Object) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.ByteBufTuple
 
set(Object) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.LazyInPlaceTuple
 
set(Object) - Method in class org.thales.punch.libraries.punchlang.resource.tuple.LazyTuple
 
setAttachment(String, Object) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Set an attachment
setCapacity(int) - Method in class org.thales.punch.punchlang.util.JsonArrayCodecBuilder
 
setCapacity(int) - Method in class org.thales.punch.punchlang.util.LineCodecBuilder
 
setCapacity(int) - Method in class org.thales.punch.punchlang.util.MultilineCodecBuilder
 
setCapacity(int) - Method in class org.thales.punch.punchlang.util.XmlCodecBuilder
 
setCode(String) - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Set the original punchlet code.
setContent(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchCsvOperator
 
setContent(Tuple) - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler.AtomicTupleReference
 
setCronExpression(String) - Method in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
The optional CRON expression to refresh your resource.
setDelimiter(String) - Method in class org.thales.punch.punchlang.util.MultilineCodecBuilder
 
setException(Exception) - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler.AtomicTupleReference
 
setLeadingLineNumber(int) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
setLeaf(Object) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
Deprecated. 
setMappings(List<Tuple>) - Method in class org.thales.punch.libraries.punchlang.mapping.api.MappingValidatorBuilder
 
setMetricContext(IMetricContext) - Method in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
 
setMetricContext(IMetricContext) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Associate a metric context with this punchlet.
setMetricContext(IMetricContext) - Method in class org.thales.punch.libraries.punchlang.api.Punchlets
 
setMetricContext(IMetricContext) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
setOutputQueue(String, List<LinkedBlockingQueue<Tuple>>) - Method in class org.thales.punch.libraries.punchlang.impl.PunchletDagExecutor
 
setPath(String) - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Associate a path to this punchlet.
setPattern(String) - Method in class org.thales.punch.punchlang.util.MultilineCodecBuilder
 
setPersistentId(String) - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Set this punchlet persistent identifier
setProperties(Properties) - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
A punchlet can have properties associated.
setRemoteResources(ISettingsMap) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandlers
Create a resource handler for every resource defined in the configuration.
setRequiredResource(boolean) - Method in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
Indicate if the resource is absolutely required for the processing
setResourceTupleBuilder(IResourceBuilder) - Method in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
Set the tuple builder.
setResourceUrl(String) - Method in class org.thales.punch.libraries.punchlang.api.RemoteResourceHandlerBuilder
Set the resource remote url.
setRootTuple(Tuple) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Set the top level tuple.
setRuntimeId(String) - Method in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Deprecated. 
setS3Credentials(Path, Path) - Method in class org.thales.punch.libraries.punchlang.api.S3ResourceHandlerBuilder
Set the optional S3 credentials.
setS3ResourceUrl(String, String, String) - Method in class org.thales.punch.libraries.punchlang.api.S3ResourceHandlerBuilder
 
setSilent(boolean) - Method in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
Indicate if the resource is absolutely required for the processing
setTimeout(Long) - Method in class org.thales.punch.punchlang.util.MultilineCodecBuilder
 
setType(ECodec) - Method in class org.thales.punch.punchlang.util.MultilineCodecBuilder
Set the type of this codec.
setValue(String) - Method in class org.thales.punch.libraries.punchlang.operator.KvPortion
 
setVerbose(boolean) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
 
sha1(Object...) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a SHA1 hash on the given arguments.
silent - Variable in class org.thales.punch.libraries.punchlang.api.AbstractRemoteResourceHandlerBuilder
 
silent - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Set to true to prevent any processing in case of unavailable resource (at start time or afterwards).
silent() - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
Indicate that failures to load the resource must be silently ignored.
SimpleResourceBuilder - Class in org.thales.punch.libraries.punchlang.impl
Use this simple stream compatible resource builder to construct resources from input IO streams.
SimpleResourceBuilder() - Constructor for class org.thales.punch.libraries.punchlang.impl.SimpleResourceBuilder
 
size() - Method in class org.thales.punch.libraries.punchlang.api.RotatingMap
 
size() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return the number of fields in this tuple.
size() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
size() - Method in class org.thales.punch.libraries.punchlang.resource.tuple.LazyInPlaceTuple
 
skip() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Skip a tuple value.
skip() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
sleep(long) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Sleep for some milliseconds
sleep() - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
Sleep forever
sleep(long) - Method in class org.thales.punch.libraries.punchlang.operator.BugOperator
sleep for a while
smaller(Tuple, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smaller(double, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smaller(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smaller(long, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smaller(int, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smaller(double, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smaller(long, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smallerEq(Tuple, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smallerEq(double, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smallerEq(Tuple, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smallerEq(long, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smallerEq(int, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smallerEq(double, double) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smallerEq(long, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
smallestFirst() - Method in class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Request the smallest first
split() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
split(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Splits this string around matches of the given regular expression.
split(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
splitAsTupleArray(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Split this string into a Tuple array of the given regular expression.
splitAsTupleArray(String) - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
splitCombinedPatterns(String) - Static method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
 
SplitOperator - Class in org.thales.punch.libraries.punchlang.operator
The split operator unsplit substrings separated by some delimiters and stores them in an array.
SplitOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.SplitOperator
Default ctor.
start() - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
startEncoding() - Method in class org.thales.punch.libraries.punchlang.api.TupleAvroEncoder
 
startLoading() - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
startsWith(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Split a string tuple.
startsWith(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
stop() - Method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
stopLoading(Timer.Context) - Static method in class org.thales.punch.libraries.punchlang.resource.AbstractRemoteResourceHandler
 
StormTuple - Class in org.thales.punch.libraries.punchlang.impl
The Storm tuple allows a punchlet to emit Storm tuples values.
StormTuple() - Constructor for class org.thales.punch.libraries.punchlang.impl.StormTuple
 
StreamingJsonParser - Class in org.thales.punch.punchlang.util
Utility class that exposes a streaming json method to deal with huge files.
StreamingJsonParser() - Constructor for class org.thales.punch.punchlang.util.StreamingJsonParser
 
StrictISODateTimeFormat - Class in org.thales.punch.libraries.punchlang.mapping.tools
Factory that creates instances of DateTimeFormatter based on the ISO8601 standard.
StrictISODateTimeFormat() - Constructor for class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Constructor.
substring(int) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
 
substring(int, int) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
 
substring(int) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
substring(int, int) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
sum(String, String) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
sum(String, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
sum(Tuple, String) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
sum(Tuple, Tuple) - Static method in class org.thales.punch.libraries.punchlang.impl.L
Compute the sum of two tuples.
sum(long, long) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
sum(int, int) - Static method in class org.thales.punch.libraries.punchlang.impl.L
 
syslogHeader() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
SyslogHeaderOperator - Class in org.thales.punch.libraries.punchlang.operator
The SyslogHeaderOperator is designed to perform a very efficient extraction of the date, host, optional priority and severity from a syslog header.
SyslogHeaderOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.SyslogHeaderOperator
This constructor is not meant to be called by applications.

T

testGetResourceFromFile(String, IResourceBuilder) - Static method in class org.thales.punch.libraries.punchlang.resource.RemoteResourceHandler
Test method to fetch files.
TestPunchlet - Class in org.thales.punch.libraries.punchlang.impl
 
TestPunchlet(RuntimeContext, Tuple) - Constructor for class org.thales.punch.libraries.punchlang.impl.TestPunchlet
 
tick() - Method in interface org.thales.punch.punchlang.util.ICodec
Refresh the codec that require a timeout logic.
tick() - Method in class org.thales.punch.punchlang.util.MultilineCodec
Tick method, to flush data if some are present in buffer after timeout.
time() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit fraction of second, and time zone offset (HH:mm:ss.SSSZZ).
timeElementParser() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a generic ISO time parser.
timeNoMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset (HH:mm:ssZZ).
timeout(int) - Method in class org.thales.punch.libraries.punchlang.operator.HttpOperator
 
timeParser() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a generic ISO time parser for parsing times with a possible zone.
timezone(String) - Method in class org.thales.punch.libraries.punchlang.operator.DateOperator
Set the source date timezone.
toArray(Object...) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return an array of arbitrary object.
toArray(T...) - Static method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
toAsciiJson() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Watchout, if you use this variant, any accent will be transformed into an ascii unicode representation.
toAsciiJson() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
toBoolean(Tuple) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
The toDouble operator returns a long value contained in a tuple.
toDate() - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Return a date format operator for implicit date format.
toDate(int) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Return a pre-compiled date format operator for a the corresponding index.
toDate(int, int) - Method in class org.thales.punch.libraries.punchlang.impl.RuntimeContext
Return a pre-compiled date format operator for a the corresponding source and destination index.
toDateMathParser() - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
Return a DateMathParser built from this formatter.
toDateMathParser() - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
toDouble(Tuple) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
The toDouble operator returns a double value contained in a tuple.
toEscapedJson() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
 
toEscapedJson() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
toFlat() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
 
toFlat() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
toFlatTuple() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
ToFlatTupleOperator - Class in org.thales.punch.libraries.punchlang.operator
The ToFlatTupleOperator operator transforms a Punch Tuple into another, containing only one-level flat key-values.
ToFlatTupleOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.ToFlatTupleOperator
Create a new ToFlatTupleOperator operator.
toJson(Tuple) - Static method in class org.punch.json.mapper.JsonMapper
Return a plain json representation of a tuple.
toJson() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
This method preserves non ascii characters.
toJson() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
toKv() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
ToKvOperator - Class in org.thales.punch.libraries.punchlang.operator
The ToKvOperator operator transforms a Json document into a flattened String made of key/value pairs.
ToKvOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.ToKvOperator
Create a flatten operator.
toLong(Tuple) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
The toDouble operator returns a long value contained in a tuple.
toLowerCase(Tuple...) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Change tuple(s) content to lower case
toLowerCase() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
 
toLowerCase() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
toMap() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Convert a tuple to a Map.
toMap() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
toMillis() - Method in class org.thales.punch.libraries.punchlang.operator.DateOperator
Convert the date to a long timestamp, in milliseconds.
toPunchLeafValue(Object) - Static method in class org.thales.punch.libraries.punchlang.api.TupleFactory
The punch tuple type can be filled with various values.
toString() - Method in class org.thales.punch.libraries.punchlang.api.Entry
 
toString() - Method in class org.thales.punch.libraries.punchlang.api.IpList
 
toString() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Return a String representation of the content of this tuple.
toString() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
toString() - Method in class org.thales.punch.libraries.punchlang.operator.KvPortion
 
toUnicodeAsciiJson(Tuple) - Static method in class org.punch.json.mapper.JsonMapper
Return a json representation where all String leafs are returned as ascii unicode representation.
toUpperCase(Tuple...) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Change tuple(s) content to upper case.
toUpperCase() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
 
toUpperCase() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
trim() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Methods inherited from plain Strings.
trim() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
trim() - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
Trim the values, removing any leading or ending white spaces.
trim() - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Trim the values, removing starting and trailing '"'
trim() - Method in class org.thales.punch.libraries.punchlang.operator.SplitOperator
Trim the values, removing starting and trailing '"'
trimQuotes(boolean) - Method in class org.thales.punch.libraries.punchlang.operator.CsvOperator
If true (the default) make the Csv operator remove leading or trailing quotes or single quotes.
tryBoolean() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Try to parse the given value as Boolean.
tryBoolean(boolean) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Try to parse as Boolean or return a default value.
tryBoolean() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryBoolean(boolean) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryBytes() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Try to parse the given value as Byte array.
tryBytes(byte[]) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Try to parse as Byte array or return a default value.
tryBytes() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryBytes(byte[]) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryDouble() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Try to parse the given value as Double.
tryDouble(double) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Try to parse as Double or return a default value.
tryDouble() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryDouble(double) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryEpoch(Tuple, long) - Method in class org.thales.punch.libraries.punchlang.operator.TryEpochOperator
 
tryEpoch(String) - Method in class org.thales.punch.libraries.punchlang.operator.TryEpochOperator
 
tryEpoch(Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.TryEpochOperator
Return the timestamp in second or millisecond
tryEpochMs(Tuple) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Convert a date to an epoch timestamp in seconds.
tryEpochMs(Tuple, long) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Convert a date to an epoch timestamp in seconds.
TryEpochOperator - Class in org.thales.punch.libraries.punchlang.operator
Easily retrieve a timestamp from a String.
TryEpochOperator(IRuntimeContext, int, boolean) - Constructor for class org.thales.punch.libraries.punchlang.operator.TryEpochOperator
Ctor
tryEpochSec(Tuple) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Convert a date to an epoch timestamp in millisecond.
tryEpochSec(Tuple, long) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
Convert a date to an epoch timestamp in millisecond.
tryIp(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Efficiently check for a valid ip address.
tryIp() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Efficiently check for valid ip address.
tryIp(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryIp() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryIpv4() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Efficiently check for an dot decimal ipv4 ip address.
tryIpv4(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Efficiently check for an dot decimal ipv4 ip address.
tryIpv4() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryIpv4(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryIpv6() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Efficiently check for an dot decimal ipv6 ip address.
tryIpv6(String) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Efficiently check for an dot decimal ipv6 ip address.
tryIpv6() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryIpv6(String) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryLong() - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Try to parse the given value as Long.
tryLong(long) - Method in interface org.thales.punch.libraries.punchlang.api.Tuple
Try to parse as Long or return default.
tryLong() - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tryLong(long) - Method in class org.thales.punch.libraries.punchlang.impl.AbstractTupleImpl
 
tTime() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit fraction of second, and time zone offset prefixed by 'T' ('T'HH:mm:ss.SSSZZ).
tTimeNoMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset prefixed by 'T' ('T'HH:mm:ssZZ).
tuple() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Return a new tuple
tuple(Object...) - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Construct a new tuple.
Tuple - Interface in org.thales.punch.libraries.punchlang.api
Tuples provide punchlet with a new basic type that makes working with a json document extra easy.
TupleAvroEncoder - Class in org.thales.punch.libraries.punchlang.api
 
TupleAvroEncoder(Schema) - Constructor for class org.thales.punch.libraries.punchlang.api.TupleAvroEncoder
Constructor
TupleBuilder - Class in org.thales.punch.libraries.punchlang.api
New builder-style class to create tuples.
TupleBuilder() - Constructor for class org.thales.punch.libraries.punchlang.api.TupleBuilder
Ctor.
TupleFactory - Class in org.thales.punch.libraries.punchlang.api
Use this class to create and convert punch tuples.
TupleFetcher - Interface in org.thales.punch.libraries.punchlang.impl
 
TupleImpl - Class in org.thales.punch.libraries.punchlang.impl
We group here a number of basic tuple operations.
TupleImpl(Object, Ancestor) - Constructor for class org.thales.punch.libraries.punchlang.impl.TupleImpl
Return an intermediary or leaf tuple.
type - Variable in class org.thales.punch.libraries.punchlang.impl.Ancestor
 

U

unescape(String) - Static method in class org.thales.punch.libraries.punchlang.impl.Utils
 
unflatTuple() - Static method in class org.thales.punch.libraries.punchlang.api.Punchlet
Unflat a tuple.
UnflatTupleOperator - Class in org.thales.punch.libraries.punchlang.operator
The ToTuple operator performs the opposite action than the ToFlatTuple operator.
UnflatTupleOperator() - Constructor for class org.thales.punch.libraries.punchlang.operator.UnflatTupleOperator
Create a new ToFlatTupleOperator operator.
union() - Method in class org.thales.punch.libraries.punchlang.operator.ContainsOperator
Make the result be computed as a union.
union() - Method in class org.thales.punch.libraries.punchlang.operator.FindByIntervalOperator
Request a unioned result.
union() - Method in class org.thales.punch.libraries.punchlang.operator.FindByKeyOperator
Make the result be computed as a union.
up() - Method in class org.thales.punch.libraries.punchlang.impl.TupleImpl
 
url - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
The remote or local resource URL.
url(String) - Method in class org.thales.punch.libraries.punchlang.operator.FetchOperator
 
url - Variable in class org.thales.punch.libraries.punchlang.operator.HttpOperator
The remote or local resource url.
Utils - Class in org.thales.punch.libraries.punchlang.impl
The unavoidable utility class.
UtilsCidr - Class in org.thales.punch.libraries.punchlang.impl
The unavoidable utility class.
uuid - Variable in class org.thales.punch.libraries.punchlang.operator.FetchOperator
We need a unique identifier to identify each resource.
uuidGenerator - Variable in class org.thales.punch.libraries.punchlang.impl.PunchletContext
Our generator of short yet unique message identifier.

V

validate(Tuple) - Method in interface org.thales.punch.libraries.punchlang.mapping.api.IMappingValidator
Validate tuple with already provided mapping tuples.
validate(Tuple, Tuple) - Method in interface org.thales.punch.libraries.punchlang.mapping.api.IMappingValidator
Validate tuple with provided mapping tuple.
validate(Tuple) - Method in class org.thales.punch.libraries.punchlang.mapping.impl.ElasticsearchMappingValidator
 
validate(Tuple, Tuple) - Method in class org.thales.punch.libraries.punchlang.mapping.impl.ElasticsearchMappingValidator
 
validate() - Method in class org.thales.punch.libraries.punchlang.operator.ValidateSchemaOperator
Fire the operator and effectively check if your tuple conforms to your schema.
validateDate(String, String) - Method in class org.thales.punch.libraries.punchlang.mapping.impl.ElasticsearchMappingValidator
 
validateDouble(String) - Method in class org.thales.punch.libraries.punchlang.mapping.impl.ElasticsearchMappingValidator
 
validateFloat(String) - Method in class org.thales.punch.libraries.punchlang.mapping.impl.ElasticsearchMappingValidator
 
validateGeopoint(String) - Method in class org.thales.punch.libraries.punchlang.mapping.impl.ElasticsearchMappingValidator
 
validateInteger(String) - Method in class org.thales.punch.libraries.punchlang.mapping.impl.ElasticsearchMappingValidator
 
validateIPAddress(String) - Method in class org.thales.punch.libraries.punchlang.mapping.impl.ElasticsearchMappingValidator
 
validateSchema(String...) - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
 
ValidateSchemaOperator - Class in org.thales.punch.libraries.punchlang.operator
You can check that the tuple schema validate against the mappings provided.
ValidateSchemaOperator(String...) - Constructor for class org.thales.punch.libraries.punchlang.operator.ValidateSchemaOperator
Constructor.
value - Variable in class org.thales.punch.libraries.punchlang.api.Entry
the entry value
valueOf(String) - Static method in enum org.thales.punch.libraries.punchlang.api.IResourceBuilder.CompactionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.thales.punch.punchlang.util.ECodec
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.thales.punch.libraries.punchlang.api.IResourceBuilder.CompactionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.thales.punch.punchlang.util.ECodec
Returns an array containing the constants of this enum type, in the order they are declared.
valueSplit(String) - Method in class org.thales.punch.libraries.punchlang.operator.KvOperator
Reset the regex used to delimit key from values.
valueSplit(String) - Method in class org.thales.punch.libraries.punchlang.operator.ToKvOperator
Reset the String used to delimit keys from values.

W

weekDate() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a full date as four digit weekyear, two digit week of weekyear, and one digit day of week (xxxx-'W'ww-e).
weekDateTime() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter that combines a full weekyear date and time, separated by a 'T' (xxxx-'W'ww-e'T'HH:mm:ss.SSSZZ).
weekDateTimeNoMillis() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter that combines a full weekyear date and time without millis, separated by a 'T' (xxxx-'W'ww-e'T'HH:mm:ssZZ).
weekyear() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a four digit weekyear.
weekyearWeek() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a four digit weekyear and two digit week of weekyear.
weekyearWeekDay() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a four digit weekyear, two digit week of weekyear, and one digit day of week.
where(String, String) - Method in class org.thales.punch.libraries.punchlang.operator.ContainsOperator
Return an operator to find a named element which matches some value
where(String, Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.ContainsOperator
Return an operator to find a named element which matches some tuple value.
where(String, String) - Method in class org.thales.punch.libraries.punchlang.operator.FindByKeyOperator
Return an operator to find a named element which matches some value
where(String, Tuple) - Method in class org.thales.punch.libraries.punchlang.operator.FindByKeyOperator
Return an operator to find a named element which matches some tuple value.
withLocale(Locale) - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
Create a copy of this formatter that is configured to parse dates in the specified locale
withLocale(Locale) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
withYear(int) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
withZone(ZoneId) - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
Create a copy of this formatter that is configured to parse dates in the specified time zone
withZone(ZoneId) - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
world - Variable in class org.thales.punch.libraries.punchlang.impl.PunchletContext
The world tuple allows for generic communications with the external environments
write(Tuple) - Method in class org.thales.punch.libraries.punchlang.api.TupleAvroEncoder
 

X

XmlCodec - Class in org.thales.punch.punchlang.util
A simple XML streaming codec to detect the top level array elements.
XmlCodec(int) - Constructor for class org.thales.punch.punchlang.util.XmlCodec
Constructor
XmlCodecBuilder - Class in org.thales.punch.punchlang.util
Use this class to build a codec XML.
XmlCodecBuilder() - Constructor for class org.thales.punch.punchlang.util.XmlCodecBuilder
 

Y

year() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a four digit year.
yearMonth() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a four digit year and two digit month of year.
yearMonthDay() - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.StrictISODateTimeFormat
Returns a formatter for a four digit year, two digit month of year, and two digit day of month.

Z

zone() - Method in interface org.thales.punch.libraries.punchlang.mapping.tools.DateFormatter
Returns the configured time zone of the date formatter
zone() - Method in class org.thales.punch.libraries.punchlang.mapping.tools.JodaDateFormatter
 
zoneIdToDateTimeZone(ZoneId) - Static method in class org.thales.punch.libraries.punchlang.mapping.tools.DateUtils
 

_

__isChained() - Method in class org.thales.punch.libraries.punchlang.api.Punchlet
some punchlet are made of a chain of several punchlets.
__isChained() - Method in class org.thales.punch.libraries.punchlang.api.PunchletDag
some punchlet are made of a chain of several punchlets.
__isChained() - Method in class org.thales.punch.libraries.punchlang.api.Punchlets
some punchlet are made of a chain of several punchlets.
_threadLocal - Static variable in class org.thales.punch.libraries.punchlang.api.Punchlet
this thread local stores the punchlet itself
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ 
Skip navigation links

Copyright © 2022. All rights reserved.