Class DefaultDimensionSpec

  • All Implemented Interfaces:
    DimensionSpec, DruidJson

    public class DefaultDimensionSpec
    extends java.lang.Object
    implements DimensionSpec
    Default implementation of DimensionSpec.

    The default implementation returns dimension values as is and optionally renames the dimension.

    • Field Detail

      • dimension

        private final java.lang.String dimension
      • outputName

        private final java.lang.String outputName
      • outputType

        private final DruidType outputType
    • Constructor Detail

      • DefaultDimensionSpec

        public DefaultDimensionSpec​(java.lang.String dimension,
                                    java.lang.String outputName,
                                    DruidType outputType)
      • DefaultDimensionSpec

        public DefaultDimensionSpec​(java.lang.String dimension)