public static class BaseGeoPointFieldMapper.GeoPointFieldType extends MappedFieldType
MappedFieldType.Relation
Modifier and Type | Field and Description |
---|---|
protected MappedFieldType |
geoHashFieldType |
protected int |
geoHashPrecision |
protected boolean |
geoHashPrefixEnabled |
protected MappedFieldType |
latFieldType |
protected MappedFieldType |
lonFieldType |
Modifier and Type | Method and Description |
---|---|
void |
checkCompatibility(MappedFieldType fieldType,
java.util.List<java.lang.String> conflicts,
boolean strict)
Checks for any conflicts between this field type and other.
|
MappedFieldType |
clone() |
boolean |
equals(java.lang.Object o) |
IndexFieldData.Builder |
fielddataBuilder()
Return a fielddata builder for this field.
|
MappedFieldType |
geoHashFieldType() |
int |
geoHashPrecision() |
int |
hashCode() |
boolean |
isGeoHashEnabled() |
boolean |
isGeoHashPrefixEnabled() |
boolean |
isLatLonEnabled() |
MappedFieldType |
latFieldType() |
MappedFieldType |
lonFieldType() |
void |
setGeoHashEnabled(MappedFieldType geoHashFieldType,
int geoHashPrecision,
boolean geoHashPrefixEnabled) |
void |
setLatLonEnabled(MappedFieldType latFieldType,
MappedFieldType lonFieldType) |
java.lang.String |
typeName()
Returns the name of this type, as would be specified in mapping properties
|
boost, createTerm, eagerGlobalOrdinals, failIfNoDocValues, fuzzyQuery, hasDocValues, indexAnalyzer, indexedValueForSearch, isFieldWithinQuery, isNumeric, isSortable, name, nullValue, nullValueAsString, nullValueQuery, prefixQuery, queryStringTermQuery, rangeQuery, regexpQuery, searchAnalyzer, searchQuoteAnalyzer, setBoost, setEagerGlobalOrdinals, setHasDocValues, setIndexAnalyzer, setName, setNullValue, setSearchAnalyzer, setSearchQuoteAnalyzer, setSimilarity, similarity, stats, termQuery, termsQuery, useTermQueryWithQueryString, value, valueForSearch
checkIfFrozen, docValuesType, freeze, indexOptions, numericPrecisionStep, numericType, omitNorms, pointDimensionCount, pointNumBytes, setDimensions, setDocValuesType, setIndexOptions, setNumericPrecisionStep, setNumericType, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toString
protected MappedFieldType geoHashFieldType
protected int geoHashPrecision
protected boolean geoHashPrefixEnabled
protected MappedFieldType latFieldType
protected MappedFieldType lonFieldType
public MappedFieldType clone()
clone
in class MappedFieldType
public boolean equals(java.lang.Object o)
equals
in class MappedFieldType
public int hashCode()
hashCode
in class MappedFieldType
public java.lang.String typeName()
MappedFieldType
typeName
in class MappedFieldType
public void checkCompatibility(MappedFieldType fieldType, java.util.List<java.lang.String> conflicts, boolean strict)
MappedFieldType
checkCompatibility
in class MappedFieldType
public boolean isGeoHashEnabled()
public MappedFieldType geoHashFieldType()
public int geoHashPrecision()
public boolean isGeoHashPrefixEnabled()
public void setGeoHashEnabled(MappedFieldType geoHashFieldType, int geoHashPrecision, boolean geoHashPrefixEnabled)
public boolean isLatLonEnabled()
public MappedFieldType latFieldType()
public MappedFieldType lonFieldType()
public void setLatLonEnabled(MappedFieldType latFieldType, MappedFieldType lonFieldType)
public IndexFieldData.Builder fielddataBuilder()
MappedFieldType
fielddataBuilder
in class MappedFieldType