Class TimeWindowRecordFunction<T>
- java.lang.Object
-
- com.apple.foundationdb.record.RecordFunction<T>
-
- com.apple.foundationdb.record.metadata.IndexRecordFunction<T>
-
- com.apple.foundationdb.record.provider.foundationdb.leaderboard.TimeWindowRecordFunction<T>
-
- Type Parameters:
T
- type of the function result
- All Implemented Interfaces:
PlanHashable
@API(EXPERIMENTAL) public class TimeWindowRecordFunction<T> extends IndexRecordFunction<T>
TheTIME_WINDOW_RANK
record function. Evaluates to the given record's rank of the given type at the given time.
-
-
Constructor Summary
Constructors Constructor Description TimeWindowRecordFunction(String name, GroupingKeyExpression operand, String index, TimeWindowForFunction timeWindow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeWindowRecordFunction<T>
cloneWithIndex(String index)
TimeWindowRecordFunction<T>
cloneWithOperand(GroupingKeyExpression operand)
boolean
equals(Object o)
TimeWindowForFunction
getTimeWindow()
int
hashCode()
String
toString()
-
Methods inherited from class com.apple.foundationdb.record.metadata.IndexRecordFunction
getIndex, getOperand, validate
-
Methods inherited from class com.apple.foundationdb.record.RecordFunction
getName, planHash
-
-
-
-
Constructor Detail
-
TimeWindowRecordFunction
public TimeWindowRecordFunction(@Nonnull String name, @Nonnull GroupingKeyExpression operand, @Nullable String index, @Nonnull TimeWindowForFunction timeWindow)
-
-
Method Detail
-
getTimeWindow
@Nonnull public TimeWindowForFunction getTimeWindow()
-
cloneWithOperand
@Nonnull public TimeWindowRecordFunction<T> cloneWithOperand(@Nonnull GroupingKeyExpression operand)
- Overrides:
cloneWithOperand
in classIndexRecordFunction<T>
-
cloneWithIndex
@Nonnull public TimeWindowRecordFunction<T> cloneWithIndex(@Nonnull String index)
- Overrides:
cloneWithIndex
in classIndexRecordFunction<T>
-
toString
public String toString()
- Overrides:
toString
in classIndexRecordFunction<T>
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classIndexRecordFunction<T>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIndexRecordFunction<T>
-
-