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.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(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 boolean
equals(java.lang.Object o)
Deprecated.java.lang.String
getName()
Deprecated.TExpression
getValue()
Deprecated.int
hashCode()
Deprecated.java.lang.String
toString()
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-