Class IndexAggregateGroupKeys.Conditions
- java.lang.Object
-
- com.apple.foundationdb.record.provider.foundationdb.IndexAggregateGroupKeys
-
- com.apple.foundationdb.record.provider.foundationdb.IndexAggregateGroupKeys.Conditions
-
- Enclosing class:
- IndexAggregateGroupKeys
@API(EXPERIMENTAL) protected static class IndexAggregateGroupKeys.Conditions extends IndexAggregateGroupKeys
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.apple.foundationdb.record.provider.foundationdb.IndexAggregateGroupKeys
IndexAggregateGroupKeys.Conditions, IndexAggregateGroupKeys.IndexScan
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Conditions(List<Comparisons.Comparison> comparisons)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnSize()
Get the size of the prefix of the index aggregate that is returned.Key.Evaluated
getGroupKeys(FDBRecordStoreBase<?> store, EvaluationContext context)
Get the grouping key (GROUP BY) for the index aggregate from the given context.-
Methods inherited from class com.apple.foundationdb.record.provider.foundationdb.IndexAggregateGroupKeys
conditionsToGroupKeys, conditionsToGroupKeys, indexScanToGroupKeys
-
-
-
-
Constructor Detail
-
Conditions
protected Conditions(@Nonnull List<Comparisons.Comparison> comparisons)
-
-
Method Detail
-
getGroupKeys
@Nonnull public Key.Evaluated getGroupKeys(@Nullable FDBRecordStoreBase<?> store, @Nullable EvaluationContext context)
Description copied from class:IndexAggregateGroupKeys
Get the grouping key (GROUP BY) for the index aggregate from the given context.- Specified by:
getGroupKeys
in classIndexAggregateGroupKeys
- Parameters:
store
- the record store for the querycontext
- context in which to evaluate keys- Returns:
- the grouping key
-
getColumnSize
public int getColumnSize()
Description copied from class:IndexAggregateGroupKeys
Get the size of the prefix of the index aggregate that is returned. That is, the size of {#link #getGroupKeys}.- Specified by:
getColumnSize
in classIndexAggregateGroupKeys
- Returns:
- number of items in the grouping key
-
-