Module org.elasticsearch.grok
Package org.elasticsearch.grok
Interface GrokCaptureConfig.NativeExtracterMap<T>
- Enclosing class:
GrokCaptureConfig
public static interface GrokCaptureConfig.NativeExtracterMap<T>
Collection of handlers for each native type. Well behaved implementations
are stateless and produce stateless results.
-
Method Summary
Modifier and TypeMethodDescriptionforBoolean
(Function<Consumer<Boolean>, GrokCaptureExtracter> buildExtracter) Called when the native type is aninvalid reference
boolean
forDouble
(Function<DoubleConsumer, GrokCaptureExtracter> buildExtracter) Called when the native type is aninvalid reference
double
forFloat
(Function<FloatConsumer, GrokCaptureExtracter> buildExtracter) Called when the native type is aninvalid reference
float
forInt
(Function<IntConsumer, GrokCaptureExtracter> buildExtracter) Called when the native type is aninvalid reference
int
forLong
(Function<LongConsumer, GrokCaptureExtracter> buildExtracter) Called when the native type is aninvalid reference
long
forString
(Function<Consumer<String>, GrokCaptureExtracter> buildExtracter) Called when the native type is aString
.
-
Method Details
-
forString
Called when the native type is aString
. -
forInt
Called when the native type is aninvalid reference
int
-
forLong
Called when the native type is aninvalid reference
long
-
forFloat
Called when the native type is aninvalid reference
float
-
forDouble
Called when the native type is aninvalid reference
double
-
forBoolean
Called when the native type is aninvalid reference
boolean
-