public class SizeFieldMapper extends MetadataFieldMapper
| Modifier and Type | Class and Description |
|---|---|
static class |
SizeFieldMapper.Builder |
static class |
SizeFieldMapper.Defaults |
static class |
SizeFieldMapper.TypeParser |
FieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE |
static String |
NAME |
copyTo, defaultFieldType, fieldType, indexCreatedBefore2x, multiFieldsEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
protected String |
contentType() |
protected void |
doMerge(Mapper mergeWith,
boolean updateAllTypes) |
boolean |
enabled() |
Mapper |
parse(ParseContext context) |
protected void |
parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
void |
postParse(ParseContext context) |
void |
preParse(ParseContext context) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
mergeclone, copyTo, customBoost, doXContentAnalyzers, doXContentBody, doXContentDocValues, fieldType, hasCustomFieldDataSettings, indexOptionToString, indexTokenizeOptionToString, isGenerated, iterator, name, termVectorOptionsToString, updateFieldTypesimpleNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final String NAME
public static final String CONTENT_TYPE
protected String contentType()
contentType in class FieldMapperpublic boolean enabled()
public void preParse(ParseContext context) throws IOException
preParse in class MetadataFieldMapperIOExceptionpublic void postParse(ParseContext context) throws IOException
postParse in class MetadataFieldMapperIOExceptionpublic Mapper parse(ParseContext context) throws IOException
parse in class FieldMapperIOExceptionprotected void parseCreateField(ParseContext context, List<org.apache.lucene.document.Field> fields) throws IOException
parseCreateField in class FieldMapperIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContenttoXContent in class FieldMapperIOExceptionprotected void doMerge(Mapper mergeWith, boolean updateAllTypes)
doMerge in class FieldMapperCopyright © 2009–2016. All rights reserved.