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 booleanequals(Object o)ColumnTypegetColumnType()DimensionHandlergetDimensionHandler()List<String>getDims()StringgetTypeName()inthashCode()-
Methods inherited from class org.apache.druid.data.input.impl.DimensionSchema
getDefaultSchemaForBuiltInType, getMultiValueHandling, getName, hasBitmapIndex, toString
-
-
-
-
Method Detail
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein classDimensionSchema
-
getColumnType
public ColumnType getColumnType()
- Specified by:
getColumnTypein classDimensionSchema
-
getDimensionHandler
public DimensionHandler getDimensionHandler()
- Overrides:
getDimensionHandlerin classDimensionSchema
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDimensionSchema
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDimensionSchema
-
-