public class ObjectMapper extends Mapper implements AllFieldMapper.IncludeInAll, Cloneable
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
ObjectMapper.Builder<T extends ObjectMapper.Builder,Y extends ObjectMapper> |
static class |
ObjectMapper.Defaults |
static class |
ObjectMapper.Dynamic |
static class |
ObjectMapper.Nested |
static class |
ObjectMapper.TypeParser |
Mapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
CONTENT_TYPE |
static String |
NESTED_CONTENT_TYPE |
EMPTY_PARAMS| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected ObjectMapper |
clone() |
protected void |
doMerge(ObjectMapper mergeWith,
boolean updateAllTypes) |
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
ObjectMapper.Dynamic |
dynamic() |
String |
fullPath() |
Mapper |
getMapper(String field) |
ObjectMapper |
includeInAll(Boolean includeInAll)
If
includeInAll is not null then return a copy of this mapper
that will include values in the _all field according to includeInAll. |
ObjectMapper |
includeInAllIfNotSet(Boolean includeInAll)
If
includeInAll is not null and not set on this mapper yet, then
return a copy of this mapper that will include values in the _all field
according to includeInAll. |
boolean |
isEnabled() |
Iterator<Mapper> |
iterator() |
ObjectMapper |
mappingUpdate(Mapper mapper)
Build a mapping update with the provided sub mapping update.
|
ObjectMapper |
merge(Mapper mergeWith,
boolean updateAllTypes)
Return the merge of
mergeWith into this. |
String |
name()
Returns the canonical name which uniquely identifies the mapper against other mappers in a type.
|
ObjectMapper.Nested |
nested() |
org.apache.lucene.search.Query |
nestedTypeFilter() |
String |
nestedTypePathAsString() |
ContentPath.Type |
pathType() |
protected void |
putMapper(Mapper mapper) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
toXContent(XContentBuilder builder,
ToXContent.Params params,
ToXContent custom) |
ObjectMapper |
unsetIncludeInAll()
If
includeInAll was already set on this mapper then return a copy
of this mapper that has includeInAll not set. |
ObjectMapper |
updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)
Update the field type of this mapper.
|
simpleNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected ObjectMapper clone()
public ObjectMapper mappingUpdate(Mapper mapper)
public String name()
Mapperpublic boolean isEnabled()
public ContentPath.Type pathType()
public ObjectMapper includeInAll(Boolean includeInAll)
AllFieldMapper.IncludeInAllincludeInAll is not null then return a copy of this mapper
that will include values in the _all field according to includeInAll.includeInAll インタフェース内 AllFieldMapper.IncludeInAllpublic ObjectMapper includeInAllIfNotSet(Boolean includeInAll)
AllFieldMapper.IncludeInAllincludeInAll is not null and not set on this mapper yet, then
return a copy of this mapper that will include values in the _all field
according to includeInAll.includeInAllIfNotSet インタフェース内 AllFieldMapper.IncludeInAllpublic ObjectMapper unsetIncludeInAll()
AllFieldMapper.IncludeInAllincludeInAll was already set on this mapper then return a copy
of this mapper that has includeInAll not set.unsetIncludeInAll インタフェース内 AllFieldMapper.IncludeInAllpublic ObjectMapper.Nested nested()
public org.apache.lucene.search.Query nestedTypeFilter()
protected void putMapper(Mapper mapper)
public String fullPath()
public String nestedTypePathAsString()
public final ObjectMapper.Dynamic dynamic()
public ObjectMapper merge(Mapper mergeWith, boolean updateAllTypes)
MappermergeWith into this.
Both this and mergeWith will be left unmodified.protected void doMerge(ObjectMapper mergeWith, boolean updateAllTypes)
public ObjectMapper updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)
MapperupdateFieldType クラス内 Mapperpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void toXContent(XContentBuilder builder, ToXContent.Params params, ToXContent custom) throws IOException
IOExceptionprotected void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.