public abstract class NumberFieldMapper extends FieldMapper implements AllFieldMapper.IncludeInAll
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
NumberFieldMapper.Builder<T extends NumberFieldMapper.Builder,Y extends NumberFieldMapper> |
static class |
NumberFieldMapper.CustomLongNumericDocValuesField |
static class |
NumberFieldMapper.CustomNumericDocValuesField |
static class |
NumberFieldMapper.CustomNumericField |
static class |
NumberFieldMapper.Defaults |
static class |
NumberFieldMapper.NumberFieldType |
FieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContext, Mapper.TypeParserToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected Explicit<Boolean> |
coerce |
protected Explicit<Boolean> |
ignoreMalformed |
protected Boolean |
includeInAll |
protected boolean |
useSortedNumericDocValues
True if index version is 1.4+
In this case numerics are encoded with SORTED_NUMERIC docvalues,
otherwise for older indexes we must continue to write BINARY (for now)
|
copyTo, defaultFieldType, fieldType, indexCreatedBefore2x, multiFieldsEMPTY_PARAMS| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
NumberFieldMapper(String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
FieldMapper.CopyTo copyTo) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
addDocValue(ParseContext context,
List<org.apache.lucene.document.Field> fields,
long value) |
protected NumberFieldMapper |
clone() |
protected void |
doMerge(Mapper mergeWith,
boolean updateAllTypes)
Merge changes coming from
mergeWith in place. |
protected void |
doXContentBody(XContentBuilder builder,
boolean includeDefaults,
ToXContent.Params params) |
Mapper |
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. |
Mapper |
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. |
protected abstract void |
innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields)
Parse the field value and populate
fields. |
static double |
parseDoubleValue(Object value)
Converts an object value into a double
|
static long |
parseLongValue(Object value)
Converts an object value into a long
|
Mapper |
unsetIncludeInAll()
If
includeInAll was already set on this mapper then return a copy
of this mapper that has includeInAll not set. |
contentType, copyTo, customBoost, doXContentAnalyzers, doXContentDocValues, fieldType, hasCustomFieldDataSettings, indexOptionToString, indexTokenizeOptionToString, isGenerated, iterator, merge, name, parse, termVectorOptionsToString, toXContent, updateFieldTypesimpleNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected Boolean includeInAll
protected final boolean useSortedNumericDocValues
In this case numerics are encoded with SORTED_NUMERIC docvalues, otherwise for older indexes we must continue to write BINARY (for now)
protected NumberFieldMapper(String simpleName, MappedFieldType fieldType, MappedFieldType defaultFieldType, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> coerce, Settings indexSettings, FieldMapper.MultiFields multiFields, FieldMapper.CopyTo copyTo)
protected NumberFieldMapper clone()
clone クラス内 FieldMapperpublic Mapper 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 Mapper 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 Mapper unsetIncludeInAll()
AllFieldMapper.IncludeInAllincludeInAll was already set on this mapper then return a copy
of this mapper that has includeInAll not set.unsetIncludeInAll インタフェース内 AllFieldMapper.IncludeInAllprotected void parseCreateField(ParseContext context, List<org.apache.lucene.document.Field> fields) throws IOException
FieldMapperfields.parseCreateField クラス内 FieldMapperIOExceptionprotected abstract void innerParseCreateField(ParseContext context, List<org.apache.lucene.document.Field> fields) throws IOException
IOExceptionprotected final void addDocValue(ParseContext context, List<org.apache.lucene.document.Field> fields, long value)
public static double parseDoubleValue(Object value)
public static long parseLongValue(Object value)
protected void doMerge(Mapper mergeWith, boolean updateAllTypes)
FieldMappermergeWith in place.doMerge クラス内 FieldMapperupdateAllTypes - TODOprotected void doXContentBody(XContentBuilder builder, boolean includeDefaults, ToXContent.Params params) throws IOException
doXContentBody クラス内 FieldMapperIOExceptionCopyright © 2009–2016. All rights reserved.