Uses of Class
com.yahoo.searchlib.rankingexpression.evaluation.Value
Packages that use 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
Methods in com.yahoo.searchlib.gbdt that return ValueModifier and TypeMethodDescriptionNumericFeatureNode.value()
Returns a copy of the array of values in thisValue[]
CategoryFeatureNode.values()
Returns a copy of the array of values in thisConstructors in com.yahoo.searchlib.gbdt with parameters of type Value -
Uses of Value in com.yahoo.searchlib.ranking.features
Methods in com.yahoo.searchlib.ranking.features that return Value -
Uses of Value in com.yahoo.searchlib.rankingexpression
Methods in com.yahoo.searchlib.rankingexpression that return Value -
Uses of Value in com.yahoo.searchlib.rankingexpression.evaluation
Subclasses of Value in com.yahoo.searchlib.rankingexpression.evaluationModifier 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.Methods in com.yahoo.searchlib.rankingexpression.evaluation that return ValueModifier and TypeMethodDescriptionabstract Value
abstract Value
DoubleCompatibleValue.approxEqual
(Value value) StringValue.approxEqual
(Value argument) TensorValue.approxEqual
(Value argument) abstract Value
Value.approxEqual
(Value value) BooleanValue.asMutable()
LongValue.asMutable()
StringValue.asMutable()
TensorValue.asMutable()
abstract Value
Value.asMutable()
Returns this is mutable, or a mutable copy otherwiseabstract Value
abstract 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
DoubleCompatibleValue.largerOrEqual
(Value value) StringValue.largerOrEqual
(Value argument) TensorValue.largerOrEqual
(Value argument) abstract Value
Value.largerOrEqual
(Value value) 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()
abstract Value
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
DoubleCompatibleValue.smallerOrEqual
(Value value) StringValue.smallerOrEqual
(Value argument) TensorValue.smallerOrEqual
(Value argument) abstract Value
Value.smallerOrEqual
(Value value) abstract Value
Methods in com.yahoo.searchlib.rankingexpression.evaluation that return types with arguments of type ValueModifier and TypeMethodDescriptionMapContext.bindings()
Returns an immutable view of the bindings of this.Methods in com.yahoo.searchlib.rankingexpression.evaluation with parameters of type ValueModifier and TypeMethodDescriptionabstract Value
abstract Value
DoubleCompatibleValue.approxEqual
(Value value) StringValue.approxEqual
(Value argument) TensorValue.approxEqual
(Value argument) abstract Value
Value.approxEqual
(Value value) abstract Value
abstract Value
abstract Value
Perform the given binary function on this value and the given valueabstract Value
DoubleCompatibleValue.largerOrEqual
(Value value) StringValue.largerOrEqual
(Value argument) TensorValue.largerOrEqual
(Value argument) abstract Value
Value.largerOrEqual
(Value value) abstract Value
abstract 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
DoubleCompatibleValue.smallerOrEqual
(Value value) StringValue.smallerOrEqual
(Value argument) TensorValue.smallerOrEqual
(Value argument) abstract Value
Value.smallerOrEqual
(Value value) abstract Value
Constructors in com.yahoo.searchlib.rankingexpression.evaluation with parameters of type ValueModifierConstructorDescriptionprotected
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.Constructor parameters in com.yahoo.searchlib.rankingexpression.evaluation with type arguments of type ValueModifierConstructorDescriptionMapContext
(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
Methods in com.yahoo.searchlib.rankingexpression.evaluation.gbdtoptimization that return Value -
Uses of Value in com.yahoo.searchlib.rankingexpression.rule
Methods in com.yahoo.searchlib.rankingexpression.rule that return ValueModifier and TypeMethodDescriptionEvaluate the i'th argumentValue[]
Evaluate all arguments in thisabstract 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 boundfinal Value
ConstantNode.getValue()
Methods in com.yahoo.searchlib.rankingexpression.rule with parameters of type ValueConstructors in com.yahoo.searchlib.rankingexpression.rule with parameters of type Value -
Uses of Value in com.yahoo.searchlib.rankingexpression.transform
Methods in com.yahoo.searchlib.rankingexpression.transform that return types with arguments of type ValueConstructor parameters in com.yahoo.searchlib.rankingexpression.transform with type arguments of type ValueModifierConstructorDescriptionTransformContext
(Map<String, Value> constants, com.yahoo.tensor.evaluation.TypeContext<Reference> types)