Package org.opensearch.index.mapper
Class DerivedFieldMapper.Builder
java.lang.Object
org.opensearch.index.mapper.Mapper.Builder<ParametrizedFieldMapper.Builder>
org.opensearch.index.mapper.ParametrizedFieldMapper.Builder
org.opensearch.index.mapper.DerivedFieldMapper.Builder
- All Implemented Interfaces:
MapperBuilderProperties
- Enclosing class:
DerivedFieldMapper
Builder for this field mapper
- Opensearch.internal:
-
Field Summary
Fields inherited from class org.opensearch.index.mapper.ParametrizedFieldMapper.Builder
copyTo, multiFieldsBuilder
Fields inherited from class org.opensearch.index.mapper.Mapper.Builder
builder, name
-
Constructor Summary
ConstructorDescriptionBuilder
(String name, IndexAnalyzers indexAnalyzers, DateFormatter defaultDateFormatter, boolean defaultIgnoreMalformed) Builder
(DerivedField derivedField, IndexAnalyzers indexAnalyzers, DateFormatter defaultDateFormatter, boolean defaultIgnoreMalformed) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(Mapper.BuilderContext context) Returns a newly built mapper.protected List
<ParametrizedFieldMapper.Parameter<?>> Methods inherited from class org.opensearch.index.mapper.ParametrizedFieldMapper.Builder
buildFullName, init, parse, toXContent
Methods inherited from class org.opensearch.index.mapper.Mapper.Builder
name
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensearch.index.mapper.MapperBuilderProperties
getSupportedDataCubeDimensionType, isDataCubeMetricSupported
-
Constructor Details
-
Builder
public Builder(String name, IndexAnalyzers indexAnalyzers, DateFormatter defaultDateFormatter, boolean defaultIgnoreMalformed) -
Builder
public Builder(DerivedField derivedField, IndexAnalyzers indexAnalyzers, DateFormatter defaultDateFormatter, boolean defaultIgnoreMalformed)
-
-
Method Details
-
getParameters
- Specified by:
getParameters
in classParametrizedFieldMapper.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 classParametrizedFieldMapper.Builder
-