public static class StringOperators.IndexOfBytes extends Object
AggregationExpression
for $indexOfBytes
.Modifier and Type | Class and Description |
---|---|
static class |
StringOperators.IndexOfBytes.SubstringBuilder |
Modifier and Type | Method and Description |
---|---|
protected List<Object> |
append(Object value) |
protected Map<String,Object> |
append(String key,
Object value) |
protected static List<Field> |
asFields(String... fieldRefs) |
protected String |
getMongoMethod() |
com.mongodb.DBObject |
toDbObject(AggregationOperationContext context)
|
com.mongodb.DBObject |
toDbObject(Object value,
AggregationOperationContext context) |
static StringOperators.IndexOfBytes.SubstringBuilder |
valueOf(AggregationExpression expression)
Start creating a new
StringOperators.IndexOfBytes . |
static StringOperators.IndexOfBytes.SubstringBuilder |
valueOf(String fieldReference)
Start creating a new
StringOperators.IndexOfBytes . |
protected List<Object> |
values() |
StringOperators.IndexOfBytes |
within(org.springframework.data.domain.Range<Long> range)
Optionally define the substring search start and end position.
|
protected String getMongoMethod()
public static StringOperators.IndexOfBytes.SubstringBuilder valueOf(String fieldReference)
StringOperators.IndexOfBytes
.fieldReference
- must not be null.public static StringOperators.IndexOfBytes.SubstringBuilder valueOf(AggregationExpression expression)
StringOperators.IndexOfBytes
.expression
- must not be null.public StringOperators.IndexOfBytes within(org.springframework.data.domain.Range<Long> range)
range
- must not be null.public com.mongodb.DBObject toDbObject(AggregationOperationContext context)
AggregationExpression
toDbObject
in interface AggregationExpression
public com.mongodb.DBObject toDbObject(Object value, AggregationOperationContext context)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.