public abstract class BaseGeoPointFieldMapper extends FieldMapper implements ArrayValueMapperParser
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
BaseGeoPointFieldMapper.Builder<T extends BaseGeoPointFieldMapper.Builder,Y extends BaseGeoPointFieldMapper> |
static class |
BaseGeoPointFieldMapper.Defaults |
static class |
BaseGeoPointFieldMapper.GeoPointFieldType |
static class |
BaseGeoPointFieldMapper.Names |
static class |
BaseGeoPointFieldMapper.TypeParser |
FieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
CONTENT_TYPE |
protected static DeprecationLogger |
deprecationLogger |
protected StringFieldMapper |
geoHashMapper |
protected Explicit<Boolean> |
ignoreMalformed |
protected DoubleFieldMapper |
latMapper |
protected DoubleFieldMapper |
lonMapper |
protected ContentPath.Type |
pathType |
copyTo, defaultFieldType, fieldType, indexCreatedBefore2x, multiFieldsEMPTY_PARAMS| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
BaseGeoPointFieldMapper(String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
ContentPath.Type pathType,
DoubleFieldMapper latMapper,
DoubleFieldMapper lonMapper,
StringFieldMapper geoHashMapper,
FieldMapper.MultiFields multiFields,
Explicit<Boolean> ignoreMalformed,
FieldMapper.CopyTo copyTo) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected 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) |
BaseGeoPointFieldMapper.GeoPointFieldType |
fieldType() |
Iterator<Mapper> |
iterator() |
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 context,
GeoPoint point,
String geoHash) |
protected void |
parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields)
Parse the field value and populate
fields. |
FieldMapper |
updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)
Update the field type of this mapper.
|
clone, copyTo, customBoost, doXContentAnalyzers, doXContentDocValues, hasCustomFieldDataSettings, indexOptionToString, indexTokenizeOptionToString, isGenerated, merge, name, termVectorOptionsToString, toXContentsimpleNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected static final DeprecationLogger deprecationLogger
protected DoubleFieldMapper latMapper
protected DoubleFieldMapper lonMapper
protected final ContentPath.Type pathType
protected StringFieldMapper geoHashMapper
protected BaseGeoPointFieldMapper(String simpleName, MappedFieldType fieldType, MappedFieldType defaultFieldType, Settings indexSettings, ContentPath.Type pathType, DoubleFieldMapper latMapper, DoubleFieldMapper lonMapper, StringFieldMapper geoHashMapper, FieldMapper.MultiFields multiFields, Explicit<Boolean> ignoreMalformed, FieldMapper.CopyTo copyTo)
public BaseGeoPointFieldMapper.GeoPointFieldType fieldType()
fieldType クラス内 FieldMapperprotected void doMerge(Mapper mergeWith, boolean updateAllTypes)
FieldMappermergeWith in place.doMerge クラス内 FieldMapperupdateAllTypes - TODOpublic Iterator<Mapper> iterator()
iterator インタフェース内 Iterable<Mapper>iterator クラス内 FieldMapperprotected String contentType()
contentType クラス内 FieldMapperprotected void parseCreateField(ParseContext context, List<org.apache.lucene.document.Field> fields) throws IOException
FieldMapperfields.parseCreateField クラス内 FieldMapperIOExceptionprotected void parse(ParseContext context, GeoPoint point, String geoHash) throws IOException
IOExceptionpublic Mapper parse(ParseContext context) throws IOException
FieldMapperParseContext and return a mapping
update if dynamic mappings modified the mappings, or null if
mappings were not modified.parse クラス内 FieldMapperIOExceptionprotected void doXContentBody(XContentBuilder builder, boolean includeDefaults, ToXContent.Params params) throws IOException
doXContentBody クラス内 FieldMapperIOExceptionpublic FieldMapper updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)
MapperupdateFieldType クラス内 FieldMapperCopyright © 2009–2016. All rights reserved.