Class IndexRecordFunction<T>
- java.lang.Object
-
- com.apple.foundationdb.record.RecordFunction<T>
-
- com.apple.foundationdb.record.metadata.IndexRecordFunction<T>
-
- Type Parameters:
T
- the result type of the function
- All Implemented Interfaces:
PlanHashable
- Direct Known Subclasses:
TimeWindowRecordFunction
@API(MAINTAINED) public class IndexRecordFunction<T> extends RecordFunction<T>
A function which is applied to a record with the help of an index.
-
-
Constructor Summary
Constructors Constructor Description IndexRecordFunction(String name, GroupingKeyExpression operand, String index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexRecordFunction<T>
cloneWithIndex(String index)
IndexRecordFunction<T>
cloneWithOperand(GroupingKeyExpression operand)
boolean
equals(Object o)
String
getIndex()
GroupingKeyExpression
getOperand()
int
hashCode()
String
toString()
void
validate(Descriptors.Descriptor descriptor)
-
Methods inherited from class com.apple.foundationdb.record.RecordFunction
getName, planHash
-
-
-
-
Method Detail
-
getOperand
@Nonnull public GroupingKeyExpression getOperand()
-
cloneWithOperand
@Nonnull public IndexRecordFunction<T> cloneWithOperand(@Nonnull GroupingKeyExpression operand)
-
cloneWithIndex
@Nonnull public IndexRecordFunction<T> cloneWithIndex(@Nonnull String index)
-
validate
public void validate(@Nonnull Descriptors.Descriptor descriptor)
- Overrides:
validate
in classRecordFunction<T>
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classRecordFunction<T>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRecordFunction<T>
-
-