Class ConvertOperators.ToString
java.lang.Object
org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToString
All Implemented Interfaces:
AggregationExpression
,
MongoExpression
Enclosing class:
ConvertOperators
public static class
ConvertOperators.ToString
extends
Object
Since:
Author:
Christoph Strobl
See Also:
https://docs.mongodb.com/manual/reference/operator/aggregation/toString/
append
(
Object
value,
org.springframework.data.mongodb.core.aggregation.AbstractAggregationExpression.Expand expandList)
Append the given key at the position in the underlying
LinkedHashMap
.
Get the argument map.
protected boolean
Check if the given key is available.
protected <T> T
Get the value at a given index.
protected <T> T
Get the value for a given key.
protected boolean
org.bson.Document
org.bson.Document
Methods inherited from class java.lang.
Object
clone
,
equals
,
finalize
,
getClass
,
hashCode
,
notify
,
notifyAll
,
toString
,
wait
,
wait
,
wait
Methods inherited from interface org.springframework.data.mongodb.core.aggregation.
AggregationExpression
toDocument
toString
Parameters:
value
- must not be null.
Returns:
new instance of
ConvertOperators.ToString
.
toDocument
Specified by:
toDocument
in interface
AggregationExpression
Parameters:
context
- must not be null.
Returns:
the MongoDB native (
Document
) form of the expression.
String
key,
Object
value)
Append the given key at the position in the underlying
LinkedHashMap
.
Parameters:
index
-
key
-
value
-
Returns:
Since:
contains
protected
boolean
contains
(
Object
key)
Check if the given key is available.
Parameters:
key
-
Returns:
Since: