Module org.elasticsearch.xcore
Class GeoTileGroupSource
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.pivot.SingleGroupSource
org.elasticsearch.xpack.core.transform.transforms.pivot.GeoTileGroupSource
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.transform.transforms.pivot.SingleGroupSource
SingleGroupSource.TypeNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.xpack.core.transform.transforms.pivot.SingleGroupSource
field, FIELD, MISSING_BUCKET, missingBucket, SCRIPT, scriptConfigFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionGeoTileGroupSource(String field, boolean missingBucket, Integer precision, GeoBoundingBox boundingBox) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GeoTileGroupSourcefromXContent(org.elasticsearch.xcontent.XContentParser parser, boolean lenient) getType()inthashCode()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.xpack.core.transform.transforms.pivot.SingleGroupSource
getField, getMissingBucket, getScriptConfig, innerXContent, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
GeoTileGroupSource
public GeoTileGroupSource(String field, boolean missingBucket, Integer precision, GeoBoundingBox boundingBox) -
GeoTileGroupSource
- Throws:
IOException
-
-
Method Details
-
getType
- Specified by:
getTypein classSingleGroupSource
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classSingleGroupSource- Throws:
IOException
-
getPrecision
-
getGeoBoundingBox
-
fromXContent
public static GeoTileGroupSource fromXContent(org.elasticsearch.xcontent.XContentParser parser, boolean lenient) -
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Overrides:
toXContentin classSingleGroupSource- Throws:
IOException
-
equals
- Overrides:
equalsin classSingleGroupSource
-
hashCode
public int hashCode()- Overrides:
hashCodein classSingleGroupSource
-
getMappingType
- Overrides:
getMappingTypein classSingleGroupSource- Returns:
- The preferred mapping type if it exists. Is nullable.
-