Class TokenizeExpression
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.indexinglanguage.expressions.Expression
com.yahoo.vespa.indexinglanguage.expressions.TokenizeExpression
- Author:
- Simon Thoresen Hult
-
Constructor Summary
ConstructorsConstructorDescriptionTokenizeExpression(com.yahoo.language.Linguistics linguistics, AnnotatorConfig config) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ExecutionContext context) booleancom.yahoo.language.LinguisticsinthashCode()booleanReturns whether this expression outputs a different value than what it gets as input.com.yahoo.document.DataTypesetInputType(com.yahoo.document.DataType input, TypeContext context) Sets the input type of this and returns the resulting output type, or null if it cannot be uniquely determined.com.yahoo.document.DataTypesetOutputType(com.yahoo.document.DataType output, TypeContext context) Sets the output type of this and returns the resulting input type, or null if it cannot be uniquely determined.toString()Methods inherited from class com.yahoo.vespa.indexinglanguage.expressions.Expression
convertChildren, doResolve, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, fromString, fromString, getInputType, getOutputType, getOutputType, leastGeneralNonNullOf, leastGeneralOf, mostGeneralOf, newInstance, requireOutputType, requiresInput, resolve, resolve, resolve, resolve, resolve, resolve, resolve, resolve, resolve, setInputType, setOutputType, setStatementOutputMethods inherited from class com.yahoo.vespa.objects.Selectable
select, select, selectMembers
-
Constructor Details
-
TokenizeExpression
-
-
Method Details
-
isMutating
public boolean isMutating()Description copied from class:ExpressionReturns whether this expression outputs a different value than what it gets as input. Annotating a string value does not count as modifying it.- Overrides:
isMutatingin classExpression
-
getLinguistics
public com.yahoo.language.Linguistics getLinguistics() -
getConfig
-
setInputType
public com.yahoo.document.DataType setInputType(com.yahoo.document.DataType input, TypeContext context) Description copied from class:ExpressionSets the input type of this and returns the resulting output type, or null if it cannot be uniquely determined. Subtypes may implement this by calling setInputType(inputType, requiredType, VerificationContext context).- Overrides:
setInputTypein classExpression
-
setOutputType
public com.yahoo.document.DataType setOutputType(com.yahoo.document.DataType output, TypeContext context) Description copied from class:ExpressionSets the output type of this and returns the resulting input type, or null if it cannot be uniquely determined. Subtypes implement this by calling setOutputType(outputType, requiredType, VerificationContext context).- Overrides:
setOutputTypein classExpression
-
doExecute
- Specified by:
doExecutein classExpression
-
toString
-
equals
-
hashCode
public int hashCode()
-