|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.mongodb.core.aggregation.ExposedFields
public class ExposedFields
Value object to capture the fields exposed by an AggregationOperation.
| Method Summary | |
|---|---|
ExposedFields |
and(org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField field)
Creates a new ExposedFields adding the given ExposedFields.ExposedField. |
boolean |
exposesSingleFieldOnly()
Returns whether the ExposedFields exposes a single field only. |
static ExposedFields |
from(org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField... fields)
Creates a new ExposedFields instance from the given ExposedFields.ExposedFields. |
org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField |
getField(String name)
Returns the field with the given name or null if no field with the given name is available. |
Iterator<org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField> |
iterator()
|
static ExposedFields |
nonSynthetic(Fields fields)
Creates non-synthetic ExposedFields from the given Fields. |
static ExposedFields |
synthetic(Fields fields)
Creates synthetic ExposedFields from the given Fields. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ExposedFields from(org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField... fields)
ExposedFields instance from the given ExposedFields.ExposedFields.
fields - must not be null.
public static ExposedFields synthetic(Fields fields)
ExposedFields from the given Fields.
fields - must not be null.
public static ExposedFields nonSynthetic(Fields fields)
ExposedFields from the given Fields.
fields - must not be null.
public ExposedFields and(org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField field)
ExposedFields adding the given ExposedFields.ExposedField.
field - must not be null.
public org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField getField(String name)
name -
public boolean exposesSingleFieldOnly()
ExposedFields exposes a single field only.
public Iterator<org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField> iterator()
iterator in interface Iterable<org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField>
|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||