Interface AbstractSegmentMetadataCache.ColumnTypeMergePolicy
- All Known Implementing Classes:
AbstractSegmentMetadataCache.FirstTypeMergePolicy,AbstractSegmentMetadataCache.LeastRestrictiveTypeMergePolicy
- Enclosing class:
- AbstractSegmentMetadataCache<T extends DataSourceInformation>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
ColumnTypeMergePolicy defines the rules of which type to use when faced with the possibility of different types
for the same column from segment to segment. It is used to help compute a
RowSignature for a table in
Druid based on the segment metadata of all segments, merging the types of each column encountered to end up with
a single type to represent it globally.-
Method Summary
Modifier and TypeMethodDescriptionfromString(String type) merge(ColumnType existingType, ColumnType newType)
-
Method Details
-
merge
-
fromString
-