Class LuceneFunctionKeyExpression.LuceneText
java.lang.Object
com.apple.foundationdb.record.metadata.expressions.BaseKeyExpression
com.apple.foundationdb.record.metadata.expressions.FunctionKeyExpression
com.apple.foundationdb.record.lucene.LuceneFunctionKeyExpression
com.apple.foundationdb.record.lucene.LuceneFunctionKeyExpression.LuceneText
- All Implemented Interfaces:
AtomKeyExpression
,KeyExpression
,KeyExpressionWithChild
,KeyExpressionWithChildren
,PlanHashable
,QueryHashable
- Enclosing class:
- LuceneFunctionKeyExpression
The
lucent_text
key function.
The field arguments to this function are tokenized as full text when building the index.-
Nested Class Summary
Nested classes/interfaces inherited from class com.apple.foundationdb.record.lucene.LuceneFunctionKeyExpression
LuceneFunctionKeyExpression.LuceneFieldConfig, LuceneFunctionKeyExpression.LuceneFieldName, LuceneFunctionKeyExpression.LuceneSortBy, LuceneFunctionKeyExpression.LuceneSorted, LuceneFunctionKeyExpression.LuceneStored, LuceneFunctionKeyExpression.LuceneText
Nested classes/interfaces inherited from class com.apple.foundationdb.record.metadata.expressions.FunctionKeyExpression
FunctionKeyExpression.BiFunctionBuilder, FunctionKeyExpression.Builder, FunctionKeyExpression.Factory, FunctionKeyExpression.Registry
Nested classes/interfaces inherited from class com.apple.foundationdb.record.metadata.expressions.BaseKeyExpression
BaseKeyExpression.IllegalSubKeyException, BaseKeyExpression.UnsplittableKeyExpressionException
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.metadata.expressions.KeyExpression
KeyExpression.DeserializationException, KeyExpression.FanType, KeyExpression.InvalidExpressionException, KeyExpression.InvalidResultException, KeyExpression.NoSuchArgumentException, KeyExpression.SerializationException
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.PlanHashable
PlanHashable.PlanHashKind, PlanHashable.PlanHashMode
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.QueryHashable
QueryHashable.QueryHashKind
-
Field Summary
Fields inherited from class com.apple.foundationdb.record.metadata.expressions.FunctionKeyExpression
arguments, name
Fields inherited from interface com.apple.foundationdb.record.PlanHashable
CURRENT_FOR_CONTINUATION, CURRENT_LEGACY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get the record field that is tokenized as text using Lucene.int
int
Methods inherited from class com.apple.foundationdb.record.lucene.LuceneFunctionKeyExpression
createsDuplicates, evaluateFunction, planHash, queryHash
Methods inherited from class com.apple.foundationdb.record.metadata.expressions.FunctionKeyExpression
basePlanHash, baseQueryHash, create, equals, equalsAtomic, evaluateMessage, expand, fromProto, getArguments, getChild, getName, groupBy, hashCode, resolveAndEncapsulateFunction, toKeyExpression, toProto, toString, validate
Methods inherited from class com.apple.foundationdb.record.metadata.expressions.BaseKeyExpression
getSubKey, getSubKeyImpl, isPrefixKey
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.apple.foundationdb.record.metadata.expressions.KeyExpression
evaluate, evaluateMessageSingleton, evaluateSingleton, getSubKey, hasLosslessNormalization, hasProperInterfaces, hasRecordTypeKey, isPrefixKey, needsCopyingToPartialRecord, normalizeKeyForPositions, versionColumns
Methods inherited from interface com.apple.foundationdb.record.metadata.expressions.KeyExpressionWithChild
getChildren
Methods inherited from interface com.apple.foundationdb.record.PlanHashable
planHash, planHash
-
Constructor Details
-
LuceneText
-
-
Method Details
-
getMinArguments
public int getMinArguments()- Specified by:
getMinArguments
in classFunctionKeyExpression
-
getMaxArguments
public int getMaxArguments()- Specified by:
getMaxArguments
in classFunctionKeyExpression
-
getColumnSize
public int getColumnSize() -
getFieldExpression
Get the record field that is tokenized as text using Lucene.- Returns:
- the field expression
-
getFieldConfigs
-
toValue
- Specified by:
toValue
in classFunctionKeyExpression
-