public final class ExposedFields extends Object implements Iterable<org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField>
AggregationOperation.| Modifier and Type | Method and Description |
|---|---|
ExposedFields |
and(org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField field)
Creates a new
ExposedFields adding the given ExposedFields.ExposedField. |
static ExposedFields |
empty()
Returns an empty
ExposedFields instance. |
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static ExposedFields empty()
ExposedFields instance.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.@Nullable public org.springframework.data.mongodb.core.aggregation.ExposedFields.ExposedField getField(String name)
name - Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.