Package com.illumon.iris.db.v2.locations
Interface GroupingProvider
- All Known Subinterfaces:
KeyRangeGroupingProvider<DATA_TYPE>
- All Known Implementing Classes:
DiskBackedDeferredGroupingProvider
,MemoizingGroupingProvider
,PartitionColumnGroupingProvider
,StaticGroupingProvider
public interface GroupingProvider
Implementations of this interface are able to compute groupings.
-
Method Summary
Modifier and Type Method Description GroupingBuilder
getGroupingBuilder()
Get aGroupingBuilder
suitable for creating groups with specific properties.boolean
hasGrouping()
Check if this provider is able to create a grouping or not.static GroupingProvider
makeGroupingProvider(com.illumon.dataobjects.ColumnDefinition<?> columnDefinition, com.fishlib.io.logger.Logger log)
Make a newGroupingProvider
for the specifiedColumnDefinition
and current global configuration.
-
Method Details
-
makeGroupingProvider
@NotNull static GroupingProvider makeGroupingProvider(@NotNull com.illumon.dataobjects.ColumnDefinition<?> columnDefinition, com.fishlib.io.logger.Logger log)Make a newGroupingProvider
for the specifiedColumnDefinition
and current global configuration.- Parameters:
columnDefinition
- The column definitionlog
- a logger- Returns:
- A new
GroupingProvider
-
getGroupingBuilder
Get aGroupingBuilder
suitable for creating groups with specific properties.- Returns:
- a
GroupingBuilder
-
hasGrouping
boolean hasGrouping()Check if this provider is able to create a grouping or not.- Returns:
- true if this provider can create a grouping.
-