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 anboolean.forDouble(Function<DoubleConsumer, GrokCaptureExtracter> buildExtracter) Called when the native type is andouble.forFloat(Function<FloatConsumer, GrokCaptureExtracter> buildExtracter) Called when the native type is anfloat.forInt(Function<IntConsumer, GrokCaptureExtracter> buildExtracter) Called when the native type is anint.forLong(Function<LongConsumer, GrokCaptureExtracter> buildExtracter) Called when the native type is anlong.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 anint. -
forLong
Called when the native type is anlong. -
forFloat
Called when the native type is anfloat. -
forDouble
Called when the native type is andouble. -
forBoolean
Called when the native type is anboolean.
-