| Modifier and Type | Field and Description |
|---|---|
static String |
UNDERSCORE_ID |
static String |
UNDERSCORE_ID_REF |
| Modifier and Type | Method and Description |
|---|---|
Fields |
and(Field field) |
Fields |
and(Fields fields) |
Fields |
and(String name)
|
Fields |
and(String name,
String target) |
List<Field> |
asList() |
static Field |
field(String name)
Creates a
Field with the given name. |
static Field |
field(String name,
String target)
|
static Fields |
fields(String... names)
|
static Fields |
from(Field... fields)
|
Field |
getField(String name) |
Iterator<Field> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final String UNDERSCORE_ID
public static final String UNDERSCORE_ID_REF
public static Fields from(Field... fields)
fields - must not be null or empty.public static Field field(String name)
Field with the given name.name - must not be null or empty.public static Field field(String name, String target)
Field with the given name and target.
The target is the name of the backing document field that will be aliased with name.
name - target - must not be null or emptyCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.