Package org.apache.druid.segment
Interface SegmentMapFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SegmentMapFunctionThe identity function - returns the same segment -
Method Summary
Modifier and TypeMethodDescriptiondefault SegmentMapFunctionReturns aSegmentMapFunctionwhich first applies thisSegmentMapFunctionand then applies the supplied transformation function to the resultingSegment, if present.
-
Field Details
-
IDENTITY
The identity function - returns the same segment
-
-
Method Details
-
thenMap
Returns aSegmentMapFunctionwhich first applies thisSegmentMapFunctionand then applies the supplied transformation function to the resultingSegment, if present.
-