Class LuceneFunctionKeyExpression
java.lang.Object
com.apple.foundationdb.record.metadata.expressions.BaseKeyExpression
com.apple.foundationdb.record.metadata.expressions.FunctionKeyExpression
com.apple.foundationdb.record.lucene.LuceneFunctionKeyExpression
- All Implemented Interfaces:
AtomKeyExpression,KeyExpression,KeyExpressionWithChild,KeyExpressionWithChildren,PlanHashable
- Direct Known Subclasses:
LuceneFunctionKeyExpression.LuceneFieldConfig,LuceneFunctionKeyExpression.LuceneFieldName,LuceneFunctionKeyExpression.LuceneSortBy,LuceneFunctionKeyExpression.LuceneSorted,LuceneFunctionKeyExpression.LuceneStored,LuceneFunctionKeyExpression.LuceneText
Lucene function key expressions.
These are just markers, interpreted by
LuceneDocumentFromRecord.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe key function for Lucene field configuration.static classThelucene_field_namekey function.static classKey function representing one of the Lucene built-in sorting techniques.static classThelucene_sortedkey function.static classThelucene_storedkey function.static classThelucent_textkey function.Nested classes/interfaces inherited from class com.apple.foundationdb.record.metadata.expressions.FunctionKeyExpression
FunctionKeyExpression.BiFunctionBuilder, FunctionKeyExpression.Builder, FunctionKeyExpression.Factory, FunctionKeyExpression.RegistryNested classes/interfaces inherited from class com.apple.foundationdb.record.metadata.expressions.BaseKeyExpression
BaseKeyExpression.IllegalSubKeyException, BaseKeyExpression.UnsplittableKeyExpressionExceptionNested classes/interfaces inherited from interface com.apple.foundationdb.record.metadata.expressions.KeyExpression
KeyExpression.DeserializationException, KeyExpression.FanType, KeyExpression.InvalidExpressionException, KeyExpression.InvalidResultException, KeyExpression.NoSuchArgumentException, KeyExpression.SerializationExceptionNested classes/interfaces inherited from interface com.apple.foundationdb.record.PlanHashable
PlanHashable.PlanHashKind, PlanHashable.PlanHashMode -
Field Summary
Fields inherited from class com.apple.foundationdb.record.metadata.expressions.FunctionKeyExpression
arguments, nameFields inherited from interface com.apple.foundationdb.record.PlanHashable
CURRENT_FOR_CONTINUATION, CURRENT_LEGACY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLuceneFunctionKeyExpression(String name, KeyExpression arguments) -
Method Summary
Modifier and TypeMethodDescriptionboolean<M extends Message>
List<Key.Evaluated>evaluateFunction(FDBRecord<M> rec, Message message, Key.Evaluated argvals) intMethods inherited from class com.apple.foundationdb.record.metadata.expressions.FunctionKeyExpression
basePlanHash, create, equals, equalsAtomic, evaluateMessage, expand, fromProto, getArguments, getChild, getMaxArguments, getMinArguments, getName, groupBy, hashCode, resolveAndEncapsulateFunction, toKeyExpression, toProto, toString, toValue, validateMethods inherited from class com.apple.foundationdb.record.metadata.expressions.BaseKeyExpression
getSubKey, getSubKeyImpl, isPrefixKeyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.apple.foundationdb.record.metadata.expressions.KeyExpression
evaluate, evaluateMessageSingleton, evaluateSingleton, getColumnSize, getSubKey, hasLosslessNormalization, hasProperInterfaces, hasRecordTypeKey, isPrefixKey, needsCopyingToPartialRecord, normalizeKeyForPositions, versionColumnsMethods inherited from interface com.apple.foundationdb.record.metadata.expressions.KeyExpressionWithChild
getChildrenMethods inherited from interface com.apple.foundationdb.record.PlanHashable
planHash, planHash
-
Constructor Details
-
LuceneFunctionKeyExpression
-
-
Method Details
-
evaluateFunction
@Nonnull public <M extends Message> List<Key.Evaluated> evaluateFunction(@Nullable FDBRecord<M> rec, @Nullable Message message, @Nonnull Key.Evaluated argvals) - Specified by:
evaluateFunctionin classFunctionKeyExpression
-
createsDuplicates
public boolean createsDuplicates() -
planHash
-