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 java.lang.ObjectDeprecated.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(java.lang.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(java.lang.Object o)Deprecated.java.lang.StringgetName()Deprecated.TExpressiongetValue()Deprecated.inthashCode()Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
Variable
public Variable(java.lang.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 java.lang.String getName()
Deprecated.- Returns:
- the name of the new variable
-
getValue
public TExpression getValue()
Deprecated.- Returns:
- the value of the new variable
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-