Uses of Class
com.yahoo.searchlib.rankingexpression.evaluation.Value
Package
Description
Java implementations for various Vespa rank features
Ranking expression execution library, see
RankingExpression
.Execution engine for ranking expressions
-
Uses of Value in com.yahoo.searchlib.gbdt
-
Uses of Value in com.yahoo.searchlib.ranking.features
-
Uses of Value in com.yahoo.searchlib.rankingexpression
-
Uses of Value in com.yahoo.searchlib.rankingexpression.evaluation
Modifier and TypeClassDescriptionclass
A value which is either true or false.class
A value which acts as a double in numerical context.final class
A double value result of a ranking expression evaluation.class
A representation for integer numbersclass
A string value.class
A Value containing a tensor.Modifier and TypeMethodDescriptionabstract Value
abstract Value
BooleanValue.asMutable()
LongValue.asMutable()
StringValue.asMutable()
TensorValue.asMutable()
abstract Value
Value.asMutable()
Returns this is mutable, or a mutable copy otherwiseDoubleCompatibleValue.compare
(TruthOperator operator, Value value) StringValue.compare
(TruthOperator operator, Value value) TensorValue.compare
(TruthOperator operator, Value argument) abstract Value
Value.compare
(TruthOperator operator, Value value) Perform the comparison specified by the operator between this value and the given valueabstract Value
Value.freeze()
Irreversibly makes this immutable.abstract Value
Perform the given binary function on this value and the given valuefinal Value
ArrayContext.get
(int index) Perform a fast lookup by indexPerform a slow lookup by nameContext.get
(int index) Lookup by index rather than name.abstract Value
Returns the value of a simple variable name.Returns the value of a structured variable on the formname(argument*)(.output)?
, where argument is any string.ContextIndex.get
(int index) final Value
DoubleOnlyArrayContext.get
(int index) Perform a faster lookup by indexPerform a slow lookup by nameReturns the value of a key.abstract Value
abstract Value
DoubleCompatibleValue.negate()
LongValue.negate()
StringValue.negate()
TensorValue.negate()
abstract Value
Value.negate()
DoubleCompatibleValue.not()
StringValue.not()
TensorValue.not()
abstract Value
Value.not()
static Value
Value.of
(double scalar) static Value
Value.of
(com.yahoo.tensor.Tensor tensor) abstract Value
static Value
Parses the given string to a value and returns it.abstract Value
abstract Value
Modifier and TypeMethodDescriptionMapContext.bindings()
Returns an immutable view of the bindings of this.Modifier and TypeMethodDescriptionabstract Value
abstract Value
DoubleCompatibleValue.compare
(TruthOperator operator, Value value) StringValue.compare
(TruthOperator operator, Value value) TensorValue.compare
(TruthOperator operator, Value argument) abstract Value
Value.compare
(TruthOperator operator, Value value) Perform the comparison specified by the operator between this value and the given valueabstract Value
abstract Value
Perform the given binary function on this value and the given valueabstract Value
abstract Value
abstract Value
abstract Value
final void
Puts a value by index.final void
Puts a value by name.void
Sets a value to this, or throws an UnsupportedOperationException if this is not supported.final void
Puts a value by index.final void
Puts a value by name.void
Sets the value of a key.abstract Value
ModifierConstructorDescriptionprotected
AbstractArrayContext
(RankingExpression expression, boolean ignoreUnknownValues, Value missingValue) Create a fast lookup context for an expression.ArrayContext
(RankingExpression expression, boolean ignoreUnknownValues, Value missingValue) Create a fast lookup context for an expression.ArrayContext
(RankingExpression expression, Value defaultValue) DoubleOnlyArrayContext
(RankingExpression expression, boolean ignoreUnknownValues, Value missingValue) Create a fast lookup context for an expression.MapContext
(Value missingValue) MapContext
(Map<String, Value> bindings, Value missingValue) Creates a map context from a map.ModifierConstructorDescriptionMapContext
(Map<String, Value> bindings) MapContext
(Map<String, Value> bindings, Value missingValue) Creates a map context from a map. -
Uses of Value in com.yahoo.searchlib.rankingexpression.evaluation.gbdtoptimization
-
Uses of Value in com.yahoo.searchlib.rankingexpression.rule
Modifier and TypeMethodDescriptionEvaluate the i'th argumentValue[]
Evaluate all arguments in thisabstract Value
abstract Value
Returns the value of evaluating this expression over the given context.Evaluate this in a context which must have the arguments boundEvaluate this in a context which must have the arguments boundConstantNode.getValue()
ModifierConstructorDescriptionConstantNode
(Value value) ConstantNode
(Value value, String sourceImage) Deprecated. -
Uses of Value in com.yahoo.searchlib.rankingexpression.transform
ModifierConstructorDescriptionTransformContext
(Map<String, Value> constants, com.yahoo.tensor.evaluation.TypeContext<Reference> types)