Package com.apple.foundationdb.record
Class RecordFunction<T>
- java.lang.Object
-
- com.apple.foundationdb.record.RecordFunction<T>
-
- Type Parameters:
T
- the result type of the function
- All Implemented Interfaces:
PlanHashable
- Direct Known Subclasses:
IndexRecordFunction
,StoreRecordFunction
@API(STABLE) public abstract class RecordFunction<T> extends Object implements PlanHashable
A function to be applied to a record as part of query execution.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RecordFunction(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
int
hashCode()
int
planHash()
Return a hash similar tohashCode
, but with the additional guarantee that is is stable across JVMs.void
validate(Descriptors.Descriptor descriptor)
-
-
-
Method Detail
-
validate
public void validate(@Nonnull Descriptors.Descriptor descriptor)
-
planHash
public int planHash()
Description copied from interface:PlanHashable
Return a hash similar tohashCode
, but with the additional guarantee that is is stable across JVMs.- Specified by:
planHash
in interfacePlanHashable
- Returns:
- a stable hash code
-
-