java.lang.Cloneable
, java.lang.Iterable<Mapper>
, ToXContent
, ToXContentFragment
public class BooleanFieldMapper extends FieldMapper
Modifier and Type | Class | Description |
---|---|---|
static class |
BooleanFieldMapper.BooleanFieldType |
|
static class |
BooleanFieldMapper.Builder |
|
static class |
BooleanFieldMapper.Defaults |
|
static class |
BooleanFieldMapper.TypeParser |
|
static class |
BooleanFieldMapper.Values |
FieldMapper.CopyTo, FieldMapper.MultiFields
Mapper.BuilderContext
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
CONTENT_TYPE |
COERCE_SETTING, copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, indexCreatedVersion, multiFields
EMPTY_PARAMS
Modifier | Constructor | Description |
---|---|---|
protected |
BooleanFieldMapper(java.lang.String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
FieldMapper.CopyTo copyTo) |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
contentType() |
|
protected void |
doXContentBody(XContentBuilder builder,
boolean includeDefaults,
ToXContent.Params params) |
|
BooleanFieldMapper.BooleanFieldType |
fieldType() |
|
protected void |
parseCreateField(ParseContext context,
java.util.List<org.apache.lucene.index.IndexableField> fields) |
Parse the field value and populate
fields . |
clone, copyTo, createFieldNamesField, doMerge, doXContentAnalyzers, doXContentDocValues, indexOptionToString, indexTokenizeOption, iterator, merge, name, parse, termVectorOptionsToString, toXContent, updateFieldType
simpleName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public static final java.lang.String CONTENT_TYPE
protected BooleanFieldMapper(java.lang.String simpleName, MappedFieldType fieldType, MappedFieldType defaultFieldType, Settings indexSettings, FieldMapper.MultiFields multiFields, FieldMapper.CopyTo copyTo)
public BooleanFieldMapper.BooleanFieldType fieldType()
fieldType
in class FieldMapper
protected void parseCreateField(ParseContext context, java.util.List<org.apache.lucene.index.IndexableField> fields) throws java.io.IOException
FieldMapper
fields
.parseCreateField
in class FieldMapper
java.io.IOException
protected java.lang.String contentType()
contentType
in class FieldMapper
protected void doXContentBody(XContentBuilder builder, boolean includeDefaults, ToXContent.Params params) throws java.io.IOException
doXContentBody
in class FieldMapper
java.io.IOException