org.elasticsearch.index.mapper.xcontent.geo
Class GeoPointFieldMapper.Builder

java.lang.Object
  extended by org.elasticsearch.index.mapper.xcontent.XContentMapper.Builder<GeoPointFieldMapper.Builder,GeoPointFieldMapper>
      extended by org.elasticsearch.index.mapper.xcontent.geo.GeoPointFieldMapper.Builder
Enclosing class:
GeoPointFieldMapper

public static class GeoPointFieldMapper.Builder
extends XContentMapper.Builder<GeoPointFieldMapper.Builder,GeoPointFieldMapper>


Field Summary
 
Fields inherited from class org.elasticsearch.index.mapper.xcontent.XContentMapper.Builder
builder, name
 
Constructor Summary
GeoPointFieldMapper.Builder(java.lang.String name)
           
 
Method Summary
 GeoPointFieldMapper build(XContentMapper.BuilderContext context)
           
 GeoPointFieldMapper.Builder enableGeoHash(boolean enableGeoHash)
           
 GeoPointFieldMapper.Builder enableLatLon(boolean enableLatLon)
           
 GeoPointFieldMapper.Builder pathType(ContentPath.Type pathType)
           
 GeoPointFieldMapper.Builder precision(int precision)
           
 GeoPointFieldMapper.Builder precisionStep(int precisionStep)
           
 GeoPointFieldMapper.Builder store(org.apache.lucene.document.Field.Store store)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoPointFieldMapper.Builder

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

pathType

public GeoPointFieldMapper.Builder pathType(ContentPath.Type pathType)

enableGeoHash

public GeoPointFieldMapper.Builder enableGeoHash(boolean enableGeoHash)

enableLatLon

public GeoPointFieldMapper.Builder enableLatLon(boolean enableLatLon)

precisionStep

public GeoPointFieldMapper.Builder precisionStep(int precisionStep)

precision

public GeoPointFieldMapper.Builder precision(int precision)

store

public GeoPointFieldMapper.Builder store(org.apache.lucene.document.Field.Store store)

build

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