Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class BooleanFieldMapper.Builder
java.lang.Object
org.elasticsearch.index.mapper.Mapper.Builder
org.elasticsearch.index.mapper.FieldMapper.Builder
org.elasticsearch.index.mapper.FieldMapper.DimensionBuilder
org.elasticsearch.index.mapper.BooleanFieldMapper.Builder
- All Implemented Interfaces:
ToXContent
,ToXContentFragment
- Enclosing class:
BooleanFieldMapper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields inherited from class org.elasticsearch.index.mapper.FieldMapper.Builder
copyTo, hasScript, multiFieldsBuilder, onScriptError, sourceKeepMode
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder
(String name, ScriptCompiler scriptCompiler, boolean ignoreMalformedByDefault, IndexVersion indexCreatedVersion) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(MapperBuilderContext context) Returns a newly built mapper.dimension
(boolean dimension) protected FieldMapper.Parameter<?>[]
Methods inherited from class org.elasticsearch.index.mapper.FieldMapper.DimensionBuilder
inheritDimensionParameterFromParentObject
Methods inherited from class org.elasticsearch.index.mapper.FieldMapper.Builder
addMultiField, addScriptValidation, builderParams, handleUnknownParamOnLegacyIndex, init, merge, parse, toXContent, validate
Methods inherited from class org.elasticsearch.index.mapper.Mapper.Builder
leafName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
Builder
public Builder(String name, ScriptCompiler scriptCompiler, boolean ignoreMalformedByDefault, IndexVersion indexCreatedVersion)
-
-
Method Details
-
dimension
-
getParameters
- Specified by:
getParameters
in classFieldMapper.Builder
- Returns:
- the list of parameters defined for this mapper
-
build
Description copied from class:Mapper.Builder
Returns a newly built mapper.- Specified by:
build
in classFieldMapper.Builder
-