Package com.illumon.iris.db.v2.locations
Interface GroupingProvider
- All Known Subinterfaces:
KeyRangeGroupingProvider
- All Known Implementing Classes:
DiskBackedDeferredGroupingProvider
,MemoizingGroupingProvider
,PartitionColumnGroupingProvider
,StaticGroupingProvider
public interface GroupingProvider
Implementations of this interface are able to compute groupings.
-
Method Summary
Modifier and TypeMethodDescriptionGet aGroupingBuilder
suitable for creating groups with specific properties.boolean
Check if this provider is able to create a grouping or not.static GroupingProvider
makeGroupingProvider
(com.illumon.dataobjects.ColumnDefinition<?> columnDefinition, ColumnSource<?> source, 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, @NotNull ColumnSource<?> source, @NotNull 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.
-