Uses of Class
com.yahoo.searchlib.rankingexpression.Reference
Packages that use Reference
Package
Description
Ranking expression execution library, see
RankingExpression
.Execution engine for ranking expressions
-
Uses of Reference in com.yahoo.searchlib.rankingexpression
Methods in com.yahoo.searchlib.rankingexpression that return ReferenceModifier and TypeMethodDescriptionstatic Reference
Reference.fromIdentifier
(String identifier) Creates a reference from a simple identifier.static Reference
Creates a reference to a simple feature consisting of a name and a single argumentReference.withArguments
(Arguments arguments) Reference.withOutput
(String output) Methods in com.yahoo.searchlib.rankingexpression that return types with arguments of type ReferenceModifier and TypeMethodDescriptionReturns the given simple feature as a reference, or empty if it is not a valid simple feature string on the form name(argument).Methods in com.yahoo.searchlib.rankingexpression with parameters of type ReferenceMethod parameters in com.yahoo.searchlib.rankingexpression with type arguments of type ReferenceModifier and TypeMethodDescriptioncom.yahoo.tensor.TensorType
Validates the type correctness of the given expression with the given context and returns the type this expression will produce from the given type context -
Uses of Reference in com.yahoo.searchlib.rankingexpression.evaluation
Methods in com.yahoo.searchlib.rankingexpression.evaluation that return types with arguments of type ReferenceModifier and TypeMethodDescriptionMapTypeContext.bindings()
Returns an unmodifiable map of the bindings in thisMethods in com.yahoo.searchlib.rankingexpression.evaluation with parameters of type ReferenceModifier and TypeMethodDescriptioncom.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
Returns the type of the given value key, or null if it is not bound.com.yahoo.tensor.TensorType
void
-
Uses of Reference in com.yahoo.searchlib.rankingexpression.evaluation.gbdtoptimization
Method parameters in com.yahoo.searchlib.rankingexpression.evaluation.gbdtoptimization with type arguments of type Reference -
Uses of Reference in com.yahoo.searchlib.rankingexpression.rule
Methods in com.yahoo.searchlib.rankingexpression.rule that return ReferenceMethods in com.yahoo.searchlib.rankingexpression.rule that return types with arguments of type ReferenceModifier and TypeMethodDescriptionTensorFunctionNode.ExpressionTensorFunction.arguments()
TensorFunctionNode.ExpressionTensorFunction.asScalarFunction()
com.yahoo.tensor.functions.TensorFunction<Reference>
TensorFunctionNode.function()
Returns the tensor function wrapped by thiscom.yahoo.tensor.functions.PrimitiveTensorFunction<Reference>
TensorFunctionNode.ExpressionTensorFunction.toPrimitive()
SerializationContext.typeContext()
Returns the type context of this, if it is able to resolve types.com.yahoo.tensor.functions.TensorFunction<Reference>
TensorFunctionNode.ExpressionTensorFunction.withArguments
(List<com.yahoo.tensor.functions.TensorFunction<Reference>> arguments) static com.yahoo.tensor.functions.ScalarFunction<Reference>
TensorFunctionNode.wrapScalar
(ExpressionNode node) TensorFunctionNode.wrapScalars
(com.yahoo.tensor.TensorType type, List<String> dimensionOrder, List<ExpressionNode> nodes) TensorFunctionNode.wrapScalars
(Map<com.yahoo.tensor.TensorAddress, ExpressionNode> nodes) Method parameters in com.yahoo.searchlib.rankingexpression.rule with type arguments of type ReferenceModifier and TypeMethodDescriptioncom.yahoo.tensor.Tensor
TensorFunctionNode.ExpressionTensorFunction.evaluate
(com.yahoo.tensor.evaluation.EvaluationContext<Reference> context) TensorFunctionNode.ExpressionTensorFunction.toString
(com.yahoo.tensor.functions.ToStringContext<Reference> c) com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
abstract com.yahoo.tensor.TensorType
Returns the type this will return if evaluated with the given context.com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
com.yahoo.tensor.TensorType
TensorFunctionNode.ExpressionTensorFunction.type
(com.yahoo.tensor.evaluation.TypeContext<Reference> context) com.yahoo.tensor.TensorType
com.yahoo.tensor.functions.TensorFunction<Reference>
TensorFunctionNode.ExpressionTensorFunction.withArguments
(List<com.yahoo.tensor.functions.TensorFunction<Reference>> arguments) static void
TensorFunctionNode.wrapScalarBlock
(com.yahoo.tensor.TensorType type, List<String> dimensionOrder, String mappedDimensionLabel, List<ExpressionNode> nodes, Map<com.yahoo.tensor.TensorAddress, com.yahoo.tensor.functions.ScalarFunction<Reference>> receivingMap) Constructors in com.yahoo.searchlib.rankingexpression.rule with parameters of type ReferenceConstructor parameters in com.yahoo.searchlib.rankingexpression.rule with type arguments of type ReferenceModifierConstructorDescriptionSerializationContext
(Collection<ExpressionFunction> functions, Map<String, String> bindings, com.yahoo.tensor.evaluation.TypeContext<Reference> typeContext) Create a context for a single serialization taskSerializationContext
(Collection<ExpressionFunction> functions, Optional<com.yahoo.tensor.evaluation.TypeContext<Reference>> typeContext) Create a context for a single serialization taskSerializationContext
(Map<String, ExpressionFunction> functions, Map<String, String> bindings, Optional<com.yahoo.tensor.evaluation.TypeContext<Reference>> typeContext, Map<String, String> serializedFunctions) TensorFunctionNode
(com.yahoo.tensor.functions.TensorFunction<Reference> function) -
Uses of Reference in com.yahoo.searchlib.rankingexpression.transform
Methods in com.yahoo.searchlib.rankingexpression.transform that return types with arguments of type ReferenceModifier and TypeMethodDescriptioncom.yahoo.tensor.evaluation.TypeContext<Reference>
TransformContext.types()
Returns the types known in this context.Method parameters in com.yahoo.searchlib.rankingexpression.transform with type arguments of type ReferenceModifier and TypeMethodDescriptionstatic ExpressionNode
TensorMaxMinTransformer.transformFunctionNode
(FunctionNode node, com.yahoo.tensor.evaluation.TypeContext<Reference> context) Constructor parameters in com.yahoo.searchlib.rankingexpression.transform with type arguments of type ReferenceModifierConstructorDescriptionTransformContext
(Map<String, Value> constants, com.yahoo.tensor.evaluation.TypeContext<Reference> types)