public static class StringOperators.StrCaseCmp extends Object
AggregationExpression for $strcasecmp.protected String getMongoMethod()
public static StringOperators.StrCaseCmp valueOf(String fieldReference)
StringOperators.StrCaseCmp.fieldReference - must not be null.public static StringOperators.StrCaseCmp valueOf(AggregationExpression expression)
StringOperators.StrCaseCmp.expression - must not be null.public static StringOperators.StrCaseCmp stringValue(String value)
StringOperators.StrCaseCmp.value - must not be null.public StringOperators.StrCaseCmp strcasecmp(String value)
public StringOperators.StrCaseCmp strcasecmpValueOf(String fieldReference)
public StringOperators.StrCaseCmp strcasecmpValueOf(AggregationExpression expression)
public org.bson.Document toDocument(AggregationOperationContext context)
AggregationExpressiontoDocument in interface AggregationExpressionpublic org.bson.Document toDocument(Object value, AggregationOperationContext context)
protected <T> T get(int index)
T - index - protected <T> T get(Object key)
T - key - protected boolean contains(Object key)
key - Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.