public class SimpleField extends Object implements Field
name is updatable, so it may be changed during query
preparation by the MappingElasticsearchConverter.| Constructor and Description |
|---|
SimpleField(String name) |
| Modifier and Type | Method and Description |
|---|---|
FieldType |
getFieldType() |
String |
getName() |
String |
getPath() |
void |
setFieldType(FieldType fieldType) |
void |
setName(String name) |
void |
setPath(String path)
Sets the path if this field has a multi-part name that should be used in a nested query.
|
String |
toString() |
public SimpleField(String name)
public void setFieldType(FieldType fieldType)
setFieldType in interface FieldfieldType - sets the field's type@Nullable public FieldType getFieldType()
getFieldType in interface Fieldpublic void setPath(@Nullable String path)
FieldCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.