org.elasticsearch.index.mapper.xcontent
Class XContentFloatFieldMapper.Builder

java.lang.Object
  extended by org.elasticsearch.index.mapper.xcontent.XContentMapper.Builder<T,Y>
      extended by org.elasticsearch.index.mapper.xcontent.XContentFieldMapper.Builder<T,Y>
          extended by org.elasticsearch.index.mapper.xcontent.XContentNumberFieldMapper.Builder<XContentFloatFieldMapper.Builder,XContentFloatFieldMapper>
              extended by org.elasticsearch.index.mapper.xcontent.XContentFloatFieldMapper.Builder
Enclosing class:
XContentFloatFieldMapper

public static class XContentFloatFieldMapper.Builder
extends XContentNumberFieldMapper.Builder<XContentFloatFieldMapper.Builder,XContentFloatFieldMapper>


Field Summary
protected  java.lang.Float nullValue
           
 
Fields inherited from class org.elasticsearch.index.mapper.xcontent.XContentNumberFieldMapper.Builder
precisionStep
 
Fields inherited from class org.elasticsearch.index.mapper.xcontent.XContentFieldMapper.Builder
boost, includeInAll, index, indexAnalyzer, indexName, omitNorms, omitTermFreqAndPositions, searchAnalyzer, store, termVector
 
Fields inherited from class org.elasticsearch.index.mapper.xcontent.XContentMapper.Builder
builder, name
 
Constructor Summary
XContentFloatFieldMapper.Builder(java.lang.String name)
           
 
Method Summary
 XContentFloatFieldMapper build(XContentMapper.BuilderContext context)
           
 XContentFloatFieldMapper.Builder nullValue(float nullValue)
           
 
Methods inherited from class org.elasticsearch.index.mapper.xcontent.XContentNumberFieldMapper.Builder
boost, includeInAll, indexName, precisionStep, store
 
Methods inherited from class org.elasticsearch.index.mapper.xcontent.XContentFieldMapper.Builder
buildFullName, buildIndexName, buildNames, index, indexAnalyzer, omitNorms, omitTermFreqAndPositions, searchAnalyzer, termVector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nullValue

protected java.lang.Float nullValue
Constructor Detail

XContentFloatFieldMapper.Builder

public XContentFloatFieldMapper.Builder(java.lang.String name)
Method Detail

nullValue

public XContentFloatFieldMapper.Builder nullValue(float nullValue)

build

public XContentFloatFieldMapper build(XContentMapper.BuilderContext context)
Specified by:
build in class XContentMapper.Builder<XContentFloatFieldMapper.Builder,XContentFloatFieldMapper>