Package com.mongodb.client.model
Class Variable<TExpression>
- java.lang.Object
-
- com.mongodb.client.model.Variable<TExpression>
-
- Type Parameters:
TExpression- the type of the value for the new variable
@Deprecated(since="2021-05-27") public class Variable<TExpression> extends Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.Helps define new variable for the $lookup pipeline stage- Since:
- 3.7
-
-
Constructor Summary
Constructors Constructor Description Variable(String name, TExpression value)Deprecated.Creates a new variable definition for use in $lookup pipeline stages
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.StringgetName()Deprecated.TExpressiongetValue()Deprecated.inthashCode()Deprecated.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
Variable
public Variable(String name, TExpression value)
Deprecated.Creates a new variable definition for use in $lookup pipeline stages- Parameters:
name- the name of the new variablevalue- the value of the new variable
-
-
Method Detail
-
getName
public String getName()
Deprecated.- Returns:
- the name of the new variable
-
getValue
public TExpression getValue()
Deprecated.- Returns:
- the value of the new variable
-
-