Package com.illumon.iris.db.v2.dataindex
Class PartitionColumnGroupingProvider
java.lang.Object
com.illumon.iris.db.v2.dataindex.MemoizingGroupingProvider
com.illumon.iris.db.v2.dataindex.PartitionColumnGroupingProvider
- All Implemented Interfaces:
GroupingProvider,KeyRangeGroupingProvider<String>
public class PartitionColumnGroupingProvider extends MemoizingGroupingProvider implements KeyRangeGroupingProvider<String>
A
KeyRangeGroupingProvider for partitioning columns.-
Constructor Summary
Constructors Constructor Description PartitionColumnGroupingProvider() -
Method Summary
Modifier and Type Method Description voidaddSource(ColumnLocation columnLocation, long firstKey, long lastKey)Add a column location for consideration when constructing groupings.GroupingBuildergetGroupingBuilder()Get aGroupingBuildersuitable for creating groups with specific properties.booleanhasGrouping()Check if this provider is able to create a grouping or not.Methods inherited from class com.illumon.iris.db.v2.dataindex.MemoizingGroupingProvider
clearMemoizedGroupings, memoizeGrouping
-
Constructor Details
-
PartitionColumnGroupingProvider
public PartitionColumnGroupingProvider()
-
-
Method Details
-
getGroupingBuilder
Description copied from interface:GroupingProviderGet aGroupingBuildersuitable for creating groups with specific properties.- Specified by:
getGroupingBuilderin interfaceGroupingProvider- Returns:
- a
GroupingBuilder
-
addSource
Description copied from interface:KeyRangeGroupingProviderAdd a column location for consideration when constructing groupings.- Specified by:
addSourcein interfaceKeyRangeGroupingProvider<String>- Parameters:
columnLocation- The column location to addfirstKey- The first key in the range for this column locationlastKey- The last key in the range for this column location (inclusive)
-
hasGrouping
public boolean hasGrouping()Description copied from interface:GroupingProviderCheck if this provider is able to create a grouping or not.- Specified by:
hasGroupingin interfaceGroupingProvider- Returns:
- true if this provider can create a grouping.
-