public class ScaledFloatFieldMapper
extends FieldMapper
FieldMapper for scaled floats. Values are internally multiplied
by a scaling factor and rounded to the closest long.| Modifier and Type | Class and Description |
|---|---|
static class |
ScaledFloatFieldMapper.Builder |
static class |
ScaledFloatFieldMapper.ScaledFloatFieldType |
static class |
ScaledFloatFieldMapper.TypeParser |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_TYPE |
| Modifier and Type | Method and Description |
|---|---|
protected ScaledFloatFieldMapper |
clone() |
protected java.lang.String |
contentType() |
protected void |
doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
doXContentBody(XContentBuilder builder,
boolean includeDefaults,
Params params) |
ScaledFloatFieldMapper.ScaledFloatFieldType |
fieldType() |
protected void |
parseCreateField(ParseContext context,
java.util.List<IndexableField> fields) |
public static final java.lang.String CONTENT_TYPE
public ScaledFloatFieldMapper.ScaledFloatFieldType fieldType()
protected java.lang.String contentType()
protected ScaledFloatFieldMapper clone()
protected void parseCreateField(ParseContext context,
java.util.List<IndexableField> fields)
throws java.io.IOException
java.io.IOExceptionprotected void doMerge(Mapper mergeWith,
boolean updateAllTypes)
protected void doXContentBody(XContentBuilder builder,
boolean includeDefaults,
Params params)
throws java.io.IOException
java.io.IOException