Package org.apache.druid.data.input.impl
Class NewSpatialDimensionSchema
- java.lang.Object
-
- org.apache.druid.data.input.impl.DimensionSchema
-
- org.apache.druid.data.input.impl.NewSpatialDimensionSchema
-
public class NewSpatialDimensionSchema extends DimensionSchema
NOTE: This class should be deprecated after Druid supports configurable index types on dimensions. When that exists, this should be the implementation: https://github.com/apache/druid/issues/2622 This is a stop-gap solution to consolidate the dimension specs and remove the separate spatial section in DimensionsSpec.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.druid.data.input.impl.DimensionSchema
DimensionSchema.MultiValueHandling
-
-
Field Summary
-
Fields inherited from class org.apache.druid.data.input.impl.DimensionSchema
DOUBLE_TYPE_NAME, FLOAT_TYPE_NAME, LONG_TYPE_NAME, SPATIAL_TYPE_NAME, STRING_TYPE_NAME
-
-
Constructor Summary
Constructors Constructor Description NewSpatialDimensionSchema(String name, List<String> dims)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
ColumnType
getColumnType()
DimensionHandler
getDimensionHandler()
List<String>
getDims()
String
getTypeName()
int
hashCode()
-
Methods inherited from class org.apache.druid.data.input.impl.DimensionSchema
getDefaultSchemaForBuiltInType, getMultiValueHandling, getName, hasBitmapIndex, toString
-
-
-
-
Method Detail
-
getTypeName
public String getTypeName()
- Specified by:
getTypeName
in classDimensionSchema
-
getColumnType
public ColumnType getColumnType()
- Specified by:
getColumnType
in classDimensionSchema
-
getDimensionHandler
public DimensionHandler getDimensionHandler()
- Overrides:
getDimensionHandler
in classDimensionSchema
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classDimensionSchema
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDimensionSchema
-
-