public static class RangeFieldMapper.Builder extends FieldMapper.Builder<RangeFieldMapper.Builder,RangeFieldMapper>
copyTo, defaultFieldType, docValuesSet, fieldType, includeInAll, indexOptionsSet, multiFieldsBuilder, omitNormsSet
builder, name
Constructor and Description |
---|
Builder(java.lang.String name,
RangeFieldMapper.RangeType type) |
Modifier and Type | Method and Description |
---|---|
RangeFieldMapper |
build(Mapper.BuilderContext context)
Returns a newly built mapper.
|
RangeFieldMapper.Builder |
coerce(boolean coerce) |
protected Explicit<java.lang.Boolean> |
coerce(Mapper.BuilderContext context) |
RangeFieldMapper.Builder |
dateTimeFormatter(FormatDateTimeFormatter dateTimeFormatter) |
RangeFieldMapper.Builder |
docValues(boolean docValues) |
RangeFieldMapper.RangeFieldType |
fieldType() |
void |
locale(java.util.Locale locale) |
RangeFieldMapper.Builder |
nullValue(java.lang.Object nullValue) |
protected void |
setupFieldType(Mapper.BuilderContext context) |
addMultiField, boost, buildFullName, copyTo, defaultDocValues, getDefaultIndexOption, includeInAll, index, indexAnalyzer, indexOptions, omitNorms, searchAnalyzer, searchQuoteAnalyzer, similarity, store, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized
name
public Builder(java.lang.String name, RangeFieldMapper.RangeType type)
public RangeFieldMapper.RangeFieldType fieldType()
fieldType
in class FieldMapper.Builder<RangeFieldMapper.Builder,RangeFieldMapper>
public RangeFieldMapper.Builder docValues(boolean docValues)
docValues
in class FieldMapper.Builder<RangeFieldMapper.Builder,RangeFieldMapper>
public RangeFieldMapper.Builder coerce(boolean coerce)
protected Explicit<java.lang.Boolean> coerce(Mapper.BuilderContext context)
public RangeFieldMapper.Builder dateTimeFormatter(FormatDateTimeFormatter dateTimeFormatter)
public RangeFieldMapper.Builder nullValue(java.lang.Object nullValue)
nullValue
in class FieldMapper.Builder<RangeFieldMapper.Builder,RangeFieldMapper>
public void locale(java.util.Locale locale)
protected void setupFieldType(Mapper.BuilderContext context)
setupFieldType
in class FieldMapper.Builder<RangeFieldMapper.Builder,RangeFieldMapper>
public RangeFieldMapper build(Mapper.BuilderContext context)
Mapper.Builder
build
in class Mapper.Builder<RangeFieldMapper.Builder,RangeFieldMapper>