Class TimeWindowAggregateFunction
- java.lang.Object
-
- com.apple.foundationdb.record.metadata.IndexAggregateFunction
-
- com.apple.foundationdb.record.provider.foundationdb.leaderboard.TimeWindowAggregateFunction
-
- All Implemented Interfaces:
PlanHashable
@API(EXPERIMENTAL) public class TimeWindowAggregateFunction extends IndexAggregateFunction
Evaluate aggregate functions in a certain time window.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.PlanHashable
PlanHashable.PlanHashKind
-
-
Constructor Summary
Constructors Constructor Description TimeWindowAggregateFunction(String name, KeyExpression operand, String index, TimeWindowForFunction timeWindow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleRange
adjustRange(EvaluationContext context, TupleRange tupleRange)
TimeWindowAggregateFunction
cloneWithIndex(String index)
TimeWindowAggregateFunction
cloneWithOperand(KeyExpression operand)
boolean
equals(Object o)
TimeWindowForFunction
getTimeWindow()
int
hashCode()
String
toString()
-
Methods inherited from class com.apple.foundationdb.record.metadata.IndexAggregateFunction
getIndex, getName, getOperand, planHash, validate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.apple.foundationdb.record.PlanHashable
planHash
-
-
-
-
Constructor Detail
-
TimeWindowAggregateFunction
public TimeWindowAggregateFunction(@Nonnull String name, @Nonnull KeyExpression operand, @Nullable String index, @Nonnull TimeWindowForFunction timeWindow)
-
-
Method Detail
-
getTimeWindow
@Nonnull public TimeWindowForFunction getTimeWindow()
-
cloneWithOperand
@Nonnull public TimeWindowAggregateFunction cloneWithOperand(@Nonnull KeyExpression operand)
- Overrides:
cloneWithOperand
in classIndexAggregateFunction
-
cloneWithIndex
@Nonnull public TimeWindowAggregateFunction cloneWithIndex(@Nonnull String index)
- Overrides:
cloneWithIndex
in classIndexAggregateFunction
-
adjustRange
@Nonnull public TupleRange adjustRange(@Nonnull EvaluationContext context, @Nonnull TupleRange tupleRange)
- Overrides:
adjustRange
in classIndexAggregateFunction
-
toString
public String toString()
- Overrides:
toString
in classIndexAggregateFunction
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classIndexAggregateFunction
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIndexAggregateFunction
-
-