java.lang.Cloneable, java.lang.Iterable<Mapper>, ToXContent, ToXContentFragment, ArrayValueMapperParserpublic class GeoPointFieldMapper extends FieldMapper implements ArrayValueMapperParser
| Modifier and Type | Class | Description |
|---|---|---|
static class |
GeoPointFieldMapper.Builder |
|
static class |
GeoPointFieldMapper.Defaults |
|
static class |
GeoPointFieldMapper.GeoPointFieldType |
|
static class |
GeoPointFieldMapper.Names |
|
static class |
GeoPointFieldMapper.TypeParser |
FieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CONTENT_TYPE |
|
protected Explicit<java.lang.Boolean> |
ignoreMalformed |
|
protected Explicit<java.lang.Boolean> |
ignoreZValue |
COERCE_SETTING, copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, indexCreatedVersion, multiFieldsEMPTY_PARAMS| Constructor | Description |
|---|---|
GeoPointFieldMapper(java.lang.String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
Explicit<java.lang.Boolean> ignoreMalformed,
Explicit<java.lang.Boolean> ignoreZValue,
FieldMapper.CopyTo copyTo) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.String |
contentType() |
|
protected void |
doMerge(Mapper mergeWith,
boolean updateAllTypes) |
Merge changes coming from
mergeWith in place. |
protected void |
doXContentBody(XContentBuilder builder,
boolean includeDefaults,
ToXContent.Params params) |
|
Explicit<java.lang.Boolean> |
ignoreZValue() |
|
Mapper |
parse(ParseContext context) |
Parse using the provided
ParseContext and return a mapping
update if dynamic mappings modified the mappings, or null if
mappings were not modified. |
protected void |
parse(ParseContext originalContext,
GeoPoint point) |
|
protected void |
parseCreateField(ParseContext context,
java.util.List<org.apache.lucene.index.IndexableField> fields) |
Parse the field value and populate
fields. |
clone, copyTo, createFieldNamesField, doXContentAnalyzers, doXContentDocValues, fieldType, indexOptionToString, indexTokenizeOption, iterator, merge, name, termVectorOptionsToString, toXContent, updateFieldTypesimpleNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic static final java.lang.String CONTENT_TYPE
protected Explicit<java.lang.Boolean> ignoreMalformed
protected Explicit<java.lang.Boolean> ignoreZValue
public GeoPointFieldMapper(java.lang.String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
Explicit<java.lang.Boolean> ignoreMalformed,
Explicit<java.lang.Boolean> ignoreZValue,
FieldMapper.CopyTo copyTo)
protected void doMerge(Mapper mergeWith, boolean updateAllTypes)
FieldMappermergeWith in place.doMerge in class FieldMapperupdateAllTypes - TODOprotected java.lang.String contentType()
contentType in class FieldMapperprotected void parseCreateField(ParseContext context, java.util.List<org.apache.lucene.index.IndexableField> fields) throws java.io.IOException
FieldMapperfields.parseCreateField in class FieldMapperjava.io.IOExceptionprotected void parse(ParseContext originalContext, GeoPoint point) throws java.io.IOException
java.io.IOExceptionpublic Mapper parse(ParseContext context) throws java.io.IOException
FieldMapperParseContext and return a mapping
update if dynamic mappings modified the mappings, or null if
mappings were not modified.parse in class FieldMapperjava.io.IOExceptionprotected void doXContentBody(XContentBuilder builder, boolean includeDefaults, ToXContent.Params params) throws java.io.IOException
doXContentBody in class FieldMapperjava.io.IOExceptionpublic Explicit<java.lang.Boolean> ignoreZValue()