Uses of Class
org.apache.druid.segment.column.ColumnType
Packages that use ColumnType
Package
Description
-
Uses of ColumnType in org.apache.druid.data.input.impl
Methods in org.apache.druid.data.input.impl that return ColumnTypeModifier and TypeMethodDescriptionabstract ColumnTypeDimensionSchema.getColumnType()DoubleDimensionSchema.getColumnType()FloatDimensionSchema.getColumnType()LongDimensionSchema.getColumnType()NewSpatialDimensionSchema.getColumnType()StringDimensionSchema.getColumnType() -
Uses of ColumnType in org.apache.druid.data.input.impl.systemfield
Methods in org.apache.druid.data.input.impl.systemfield that return ColumnType -
Uses of ColumnType in org.apache.druid.frame.field
Methods in org.apache.druid.frame.field with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic FieldReaderFieldReaders.create(String columnName, ColumnType columnType, FrameType frameType) Helper used byFrameReader.static FieldWriterFieldWriters.create(FrameType frameType, ColumnSelectorFactory columnSelectorFactory, String columnName, ColumnType columnType, boolean removeNullBytes) Helper used byRowBasedFrameWriterFactory.static ComplexFieldReaderComplexFieldReader.createFromType(ColumnType columnType) -
Uses of ColumnType in org.apache.druid.frame.read
Methods in org.apache.druid.frame.read with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic intFrameReaderUtils.compareComplexTypes(byte[] array1, int position1, byte[] array2, int position2, ColumnType columnType, ComplexMetricSerde complexMetricSerde) static intFrameReaderUtils.compareComplexTypes(org.apache.datasketches.memory.Memory memory, long position1, byte[] array, int position2, ColumnType columnType, ComplexMetricSerde complexMetricSerde) static intFrameReaderUtils.compareComplexTypes(org.apache.datasketches.memory.Memory memory1, long position1, org.apache.datasketches.memory.Memory memory2, long position2, ColumnType columnType, ComplexMetricSerde complexMetricSerde) -
Uses of ColumnType in org.apache.druid.frame.read.columnar
Methods in org.apache.druid.frame.read.columnar that return ColumnTypeModifier and TypeMethodDescriptionNumericArrayFrameColumnReader.NumericArrayFrameColumn.getType()Methods in org.apache.druid.frame.read.columnar with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic FrameColumnReaderFrameColumnReaders.create(String columnName, int columnNumber, ColumnType columnType) Constructors in org.apache.druid.frame.read.columnar with parameters of type ColumnTypeModifierConstructorDescriptionNumericArrayFrameColumn(Frame frame, org.apache.datasketches.memory.Memory memory, ColumnType columnType) NumericArrayFrameColumnReader(byte typeCode, ColumnType columnType, int columnNumber) -
Uses of ColumnType in org.apache.druid.frame.write
Methods in org.apache.druid.frame.write that return ColumnTypeMethods in org.apache.druid.frame.write with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic StringUnsupportedColumnTypeException.message(String columnName, ColumnType columnType) Constructors in org.apache.druid.frame.write with parameters of type ColumnTypeModifierConstructorDescriptionUnsupportedColumnTypeException(String columnName, ColumnType columnType) -
Uses of ColumnType in org.apache.druid.frame.write.cast
Methods in org.apache.druid.frame.write.cast with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic ColumnValueSelector<?>TypeCastSelectors.makeColumnValueSelector(ColumnSelectorFactory columnSelectorFactory, String column, ColumnType desiredType) Create aColumnValueSelectorthat does its own typecasting if necessary.static ColumnValueSelector<?>TypeCastSelectors.wrapColumnValueSelectorIfNeeded(ColumnValueSelector<?> selector, ColumnCapabilities selectorCapabilities, RowIdSupplier rowIdSupplier, ColumnType desiredType) Wraps aColumnValueSelectorwith a type casting selector if necessary. -
Uses of ColumnType in org.apache.druid.math.expr
Methods in org.apache.druid.math.expr that return ColumnTypeModifier and TypeMethodDescriptionstatic ColumnTypeExpressionType.toColumnType(ExpressionType exprType) ConvertExpressionTypeto the correspondingColumnTypeMethods in org.apache.druid.math.expr with parameters of type ColumnTypeModifier and TypeMethodDescriptiondefault ColumnIndexSupplierExpr.asColumnIndexSupplier(ColumnIndexSelector columnIndexSelector, ColumnType outputType) Allows anExprto provide anColumnIndexSuppliergiven access to the underlyingColumnIndexSupplierandColumnHolderof the base table.default ColumnIndexSupplierFunction.asColumnIndexSupplier(ColumnIndexSelector selector, ColumnType outputType, List<Expr> args) Allows aFunctionto provide anColumnIndexSuppliergiven access to the underlyingColumnIndexSupplierandColumnHolderof the base table.Constructors in org.apache.druid.math.expr with parameters of type ColumnTypeModifierConstructorDescriptionExpressionPredicateIndexSupplier(Expr expr, String inputColumn, ExpressionType inputType, ColumnType outputType, DictionaryEncodedValueIndex<?> inputColumnValueIndexes) -
Uses of ColumnType in org.apache.druid.query
Methods in org.apache.druid.query that return types with arguments of type ColumnTypeMethods in org.apache.druid.query with parameters of type ColumnTypeMethod parameters in org.apache.druid.query with type arguments of type ColumnTypeModifier and TypeMethodDescriptionDruids.ScanQueryBuilder.columnTypes(List<ColumnType> columnTypes) -
Uses of ColumnType in org.apache.druid.query.aggregation
Fields in org.apache.druid.query.aggregation declared as ColumnTypeModifier and TypeFieldDescriptionstatic final ColumnTypeHistogramAggregatorFactory.TYPEstatic final ColumnTypeHistogramAggregatorFactory.TYPE_VISUALMethods in org.apache.druid.query.aggregation that return ColumnTypeModifier and TypeMethodDescriptionAggregatorFactory.getIntermediateType()Get the "intermediate"ColumnTypefor this aggregator.CountAggregatorFactory.getIntermediateType()ExpressionLambdaAggregatorFactory.getIntermediateType()FilteredAggregatorFactory.getIntermediateType()GroupingAggregatorFactory.getIntermediateType()HistogramAggregatorFactory.getIntermediateType()actual type isHistogramJavaScriptAggregatorFactory.getIntermediateType()SimpleDoubleAggregatorFactory.getIntermediateType()SimpleFloatAggregatorFactory.getIntermediateType()SimpleLongAggregatorFactory.getIntermediateType()SingleValueAggregatorFactory.getIntermediateType()SuppressedAggregatorFactory.getIntermediateType()AggregatorFactory.getResultType()Get theColumnTypefor the final form of this aggregator, i.e.CountAggregatorFactory.getResultType()ExpressionLambdaAggregatorFactory.getResultType()FilteredAggregatorFactory.getResultType()GroupingAggregatorFactory.getResultType()HistogramAggregatorFactory.getResultType()actual type isHistogramVisualJavaScriptAggregatorFactory.getResultType()NullableNumericAggregatorFactory.getResultType()SingleValueAggregatorFactory.getResultType()SuppressedAggregatorFactory.getResultType()default ColumnTypePostAggregator.getType(ColumnInspector signature) Return the output type of a row processed with this post aggregator.Constructors in org.apache.druid.query.aggregation with parameters of type ColumnTypeModifierConstructorDescriptionSingleValueAggregatorFactory(String name, String fieldName, ColumnType columnType) SingleValueBufferAggregator(ColumnValueSelector selector, ColumnType columnType) -
Uses of ColumnType in org.apache.druid.query.aggregation.any
Methods in org.apache.druid.query.aggregation.any that return ColumnTypeModifier and TypeMethodDescriptionDoubleAnyAggregatorFactory.getIntermediateType()FloatAnyAggregatorFactory.getIntermediateType()LongAnyAggregatorFactory.getIntermediateType()StringAnyAggregatorFactory.getIntermediateType()DoubleAnyAggregatorFactory.getResultType()FloatAnyAggregatorFactory.getResultType()LongAnyAggregatorFactory.getResultType()StringAnyAggregatorFactory.getResultType() -
Uses of ColumnType in org.apache.druid.query.aggregation.cardinality
Fields in org.apache.druid.query.aggregation.cardinality declared as ColumnTypeMethods in org.apache.druid.query.aggregation.cardinality that return ColumnTypeModifier and TypeMethodDescriptionCardinalityAggregatorFactory.getIntermediateType()actual type isHyperLogLogCollectorCardinalityAggregatorFactory.getResultType() -
Uses of ColumnType in org.apache.druid.query.aggregation.firstlast.first
Fields in org.apache.druid.query.aggregation.firstlast.first declared as ColumnTypeModifier and TypeFieldDescriptionstatic final ColumnTypeDoubleFirstAggregatorFactory.TYPEstatic final ColumnTypeFloatFirstAggregatorFactory.TYPEstatic final ColumnTypeLongFirstAggregatorFactory.TYPEstatic final ColumnTypeStringFirstAggregatorFactory.TYPEMethods in org.apache.druid.query.aggregation.firstlast.first that return ColumnTypeModifier and TypeMethodDescriptionDoubleFirstAggregatorFactory.getIntermediateType()FloatFirstAggregatorFactory.getIntermediateType()LongFirstAggregatorFactory.getIntermediateType()StringFirstAggregatorFactory.getIntermediateType()actual type isSerializablePairLongStringDoubleFirstAggregatorFactory.getResultType()FloatFirstAggregatorFactory.getResultType()LongFirstAggregatorFactory.getResultType()StringFirstAggregatorFactory.getResultType() -
Uses of ColumnType in org.apache.druid.query.aggregation.firstlast.last
Fields in org.apache.druid.query.aggregation.firstlast.last declared as ColumnTypeModifier and TypeFieldDescriptionstatic final ColumnTypeDoubleLastAggregatorFactory.TYPEstatic final ColumnTypeFloatLastAggregatorFactory.TYPEstatic final ColumnTypeLongLastAggregatorFactory.TYPEstatic final ColumnTypeStringLastAggregatorFactory.TYPEMethods in org.apache.druid.query.aggregation.firstlast.last that return ColumnTypeModifier and TypeMethodDescriptionDoubleLastAggregatorFactory.getIntermediateType()FloatLastAggregatorFactory.getIntermediateType()LongLastAggregatorFactory.getIntermediateType()StringLastAggregatorFactory.getIntermediateType()actual type isSerializablePairLongStringDoubleLastAggregatorFactory.getResultType()FloatLastAggregatorFactory.getResultType()LongLastAggregatorFactory.getResultType()StringLastAggregatorFactory.getResultType() -
Uses of ColumnType in org.apache.druid.query.aggregation.hyperloglog
Fields in org.apache.druid.query.aggregation.hyperloglog declared as ColumnTypeModifier and TypeFieldDescriptionstatic final ColumnTypeHyperUniquesAggregatorFactory.PRECOMPUTED_TYPEstatic final ColumnTypeHyperUniquesAggregatorFactory.TYPEMethods in org.apache.druid.query.aggregation.hyperloglog that return ColumnTypeModifier and TypeMethodDescriptionHyperUniquesAggregatorFactory.getIntermediateType()actual type isHyperLogLogCollectorHyperUniquesAggregatorFactory.getResultType()HyperUniqueFinalizingPostAggregator.getType(ColumnInspector signature) -
Uses of ColumnType in org.apache.druid.query.aggregation.mean
Fields in org.apache.druid.query.aggregation.mean declared as ColumnTypeMethods in org.apache.druid.query.aggregation.mean that return ColumnTypeModifier and TypeMethodDescriptionDoubleMeanAggregatorFactory.getIntermediateType()actual type isDoubleMeanHolderDoubleMeanAggregatorFactory.getResultType() -
Uses of ColumnType in org.apache.druid.query.aggregation.post
Methods in org.apache.druid.query.aggregation.post that return ColumnTypeModifier and TypeMethodDescriptionExpressionPostAggregator.getOutputType()ArithmeticPostAggregator.getType(ColumnInspector signature) ConstantPostAggregator.getType(ColumnInspector signature) DoubleGreatestPostAggregator.getType(ColumnInspector signature) DoubleLeastPostAggregator.getType(ColumnInspector signature) ExpressionPostAggregator.getType(ColumnInspector signature) FieldAccessPostAggregator.getType(ColumnInspector signature) FinalizingFieldAccessPostAggregator.getType(ColumnInspector signature) JavaScriptPostAggregator.getType(ColumnInspector signature) LongGreatestPostAggregator.getType(ColumnInspector signature) LongLeastPostAggregator.getType(ColumnInspector signature) Constructors in org.apache.druid.query.aggregation.post with parameters of type ColumnTypeModifierConstructorDescriptionExpressionPostAggregator(String name, String expression, String ordering, ColumnType outputType, Expr parsed) Constructor for a pre-parsed expression.ExpressionPostAggregator(String name, String expression, String ordering, ColumnType outputType, ExprMacroTable macroTable) Constructor for deserialization. -
Uses of ColumnType in org.apache.druid.query.dimension
Methods in org.apache.druid.query.dimension that return ColumnTypeModifier and TypeMethodDescriptionBaseFilteredDimensionSpec.getOutputType()DefaultDimensionSpec.getOutputType()DimensionSpec.getOutputType()ExtractionDimensionSpec.getOutputType()LookupDimensionSpec.getOutputType()Methods in org.apache.druid.query.dimension with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic DefaultDimensionSpecDefaultDimensionSpec.of(String dimensionName, ColumnType columnType) Constructors in org.apache.druid.query.dimension with parameters of type ColumnTypeModifierConstructorDescriptionDefaultDimensionSpec(String dimension, String outputName, ColumnType outputType) ExtractionDimensionSpec(String dimension, String outputName, ColumnType outputType, ExtractionFn extractionFn) ExtractionDimensionSpec(String dimension, String outputName, ColumnType outputType, ExtractionFn extractionFn, ExtractionFn dimExtractionFn) -
Uses of ColumnType in org.apache.druid.query.filter
Methods in org.apache.druid.query.filter that return ColumnTypeModifier and TypeMethodDescriptionEqualityFilter.TypedConstantValueMatcherFactory.defaultType()ArrayContainsElementFilter.getElementMatchValueType()EqualityFilter.getMatchValueType()RangeFilter.getMatchValueType()TypedInFilter.getMatchValueType()Methods in org.apache.druid.query.filter with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic BitmapColumnIndexEqualityFilter.getEqualityIndex(String column, ExprEval<?> matchValueEval, ColumnType matchValueType, ColumnIndexSelector selector, DruidPredicateFactory predicateFactory) static booleanEqualityFilter.useSimpleEquality(TypeSignature<ValueType> columnType, ColumnType matchValueType) Can the match value type be cast directly to column type for equality comparison? For non-numeric match types, we just use exact string equality regardless of the column type.Constructors in org.apache.druid.query.filter with parameters of type ColumnTypeModifierConstructorDescriptionArrayContainsElementFilter(String column, ColumnType elementMatchValueType, Object elementMatchValue, FilterTuning filterTuning) EqualityFilter(String column, ColumnType matchValueType, Object matchValue, FilterTuning filterTuning) PredicateFactory(List<?> sortedValues, ColumnType matchValueType) RangeFilter(String column, ColumnType matchValueType, Object lower, Object upper, Boolean lowerOpen, Boolean upperOpen, FilterTuning filterTuning) TypedInFilter(String column, ColumnType matchValueType, List<?> values, List<?> sortedValues, FilterTuning filterTuning) Creates a new filter. -
Uses of ColumnType in org.apache.druid.query.filter.vector
Methods in org.apache.druid.query.filter.vector with parameters of type ColumnTypeModifier and TypeMethodDescriptionArrayVectorValueMatcher.makeMatcher(Object matchValue, ColumnType matchValueType) DoubleVectorValueMatcher.makeMatcher(Object matchValue, ColumnType matchValueType) FloatVectorValueMatcher.makeMatcher(Object matchValue, ColumnType matchValueType) LongVectorValueMatcher.makeMatcher(Object matchValue, ColumnType matchValueType) MultiValueStringObjectVectorValueMatcher.makeMatcher(Object matchValue, ColumnType matchValueType) MultiValueStringVectorValueMatcher.makeMatcher(Object matchValue, ColumnType matchValueType) ObjectVectorValueMatcher.makeMatcher(Object matchValue, ColumnType matchValueType) SingleValueStringVectorValueMatcher.makeMatcher(Object matchValue, ColumnType matchValueType) StringObjectVectorValueMatcher.makeMatcher(Object matchValue, ColumnType matchValueType) VectorValueMatcherFactory.makeMatcher(Object matchValue, ColumnType matchValueType) Specialized value matcher for equality used byEqualityFilter. -
Uses of ColumnType in org.apache.druid.query.groupby.epinephelinae.column
Methods in org.apache.druid.query.groupby.epinephelinae.column with parameters of type ColumnTypeModifier and TypeMethodDescriptionDictionaryBuildingGroupByColumnSelectorStrategy.forType(ColumnType columnType) Creates an implementation of the strategy for the given typeConstructors in org.apache.druid.query.groupby.epinephelinae.column with parameters of type ColumnTypeModifierConstructorDescriptionFixedWidthGroupByColumnSelectorStrategy(int keySizeBytes, ColumnType columnType, Function<ColumnValueSelector<?>, T> valueGetter, Function<ColumnValueSelector<?>, Boolean> nullityGetter) -
Uses of ColumnType in org.apache.druid.query.groupby.epinephelinae.vector
Constructors in org.apache.druid.query.groupby.epinephelinae.vector with parameters of type ColumnTypeModifierConstructorDescriptionDictionaryBuildingComplexGroupByVectorColumnSelector(VectorObjectSelector selector, ColumnType columnType) -
Uses of ColumnType in org.apache.druid.query.metadata.metadata
Methods in org.apache.druid.query.metadata.metadata that return ColumnTypeMethods in org.apache.druid.query.metadata.metadata with parameters of type ColumnTypeConstructors in org.apache.druid.query.metadata.metadata with parameters of type ColumnTypeModifierConstructorDescriptionColumnAnalysis(ColumnType typeSignature, String type, boolean hasMultipleValues, boolean hasNulls, long size, Integer cardinality, Comparable minValue, Comparable maxValue, String errorMessage) -
Uses of ColumnType in org.apache.druid.query.operator.window.value
Methods in org.apache.druid.query.operator.window.value that return ColumnType -
Uses of ColumnType in org.apache.druid.query.rowsandcols
Methods in org.apache.druid.query.rowsandcols with parameters of type ColumnTypeModifier and TypeMethodDescriptionMapOfColumnsRowsAndColumns.Builder.add(String name, Object[] vals, ColumnType type) MapOfColumnsRowsAndColumns.Builder.add(String name, ColumnType type, Object... vals) -
Uses of ColumnType in org.apache.druid.query.rowsandcols.column
Methods in org.apache.druid.query.rowsandcols.column that return ColumnTypeModifier and TypeMethodDescriptionColumnAccessor.getType()Get the type of the ColumnNullColumn.Accessor.getType()Constructors in org.apache.druid.query.rowsandcols.column with parameters of type ColumnTypeModifierConstructorDescriptionAccessor(ColumnType type, int size) ConstantObjectColumn(Object obj, int numRows, ColumnType type) NullColumn(ColumnType type, int numRows) ObjectArrayColumn(Object[] objects, ColumnType resultType) ObjectArrayColumn(Object[] objects, ColumnType resultType, Comparator<Object> comparator) -
Uses of ColumnType in org.apache.druid.query.rowsandcols.column.accessor
Methods in org.apache.druid.query.rowsandcols.column.accessor that return ColumnType -
Uses of ColumnType in org.apache.druid.query.scan
Methods in org.apache.druid.query.scan that return types with arguments of type ColumnType -
Uses of ColumnType in org.apache.druid.query.topn
Methods in org.apache.druid.query.topn that return ColumnTypeMethods in org.apache.druid.query.topn with parameters of type ColumnTypeModifier and TypeMethodDescriptionDimValHolder.Builder.withDimValue(Object dimValue, ColumnType type) This method is called byTopNResultBuilder.addEntry(java.lang.Object, java.lang.Object, java.lang.Object[])to store query results.Constructors in org.apache.druid.query.topn with parameters of type ColumnTypeModifierConstructorDescriptionDimValHolder(Object topNMetricVal, Object dimValue, ColumnType dimType, Object dimValIndex, Map<String, Object> metricValues) -
Uses of ColumnType in org.apache.druid.query.topn.types
Constructors in org.apache.druid.query.topn.types with parameters of type ColumnTypeModifierConstructorDescriptionStringTopNColumnAggregatesProcessor(ColumnCapabilities capabilities, ColumnType dimensionType) TopNColumnAggregatesProcessorFactory(ColumnType dimensionType) -
Uses of ColumnType in org.apache.druid.segment
Fields in org.apache.druid.segment declared as ColumnTypeMethods in org.apache.druid.segment that return ColumnTypeModifier and TypeMethodDescriptionColumnProcessorFactory.defaultType()This default type will be used when the underlying column has an unknown type.AutoTypeColumnSchema.getCastToType()AutoTypeColumnSchema.getColumnType()NestedDataColumnSchema.getColumnType()AutoTypeColumnIndexer.getLogicalType()Methods in org.apache.druid.segment that return types with arguments of type ColumnTypeModifier and TypeMethodDescriptionstatic List<ColumnType>DimensionHandlerUtils.getValueTypesFromDimensionSpecs(List<DimensionSpec> dimSpecs) Methods in org.apache.druid.segment with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic intDimensionHandlerUtils.compareObjectsAsType(Object lhs, Object rhs, ColumnType type) static <T> TColumnProcessors.makeProcessor(Expr expr, ColumnType exprTypeHint, ColumnProcessorFactory<T> processorFactory, ColumnSelectorFactory selectorFactory) Make a processor for a particular expression.Constructors in org.apache.druid.segment with parameters of type ColumnTypeModifierConstructorDescriptionAutoTypeColumnIndexer(String name, ColumnType castToType, NestedCommonFormatColumnFormatSpec columnFormatSpec) AutoTypeColumnMerger(String name, String outputName, ColumnType castToType, NestedCommonFormatColumnFormatSpec columnFormatSpec, SegmentWriteOutMedium segmentWriteOutMedium, File segmentBaseDir, Closer closer) AutoTypeColumnSchema(String name, ColumnType castToType, NestedCommonFormatColumnFormatSpec columnFormatSpec) NestedCommonFormatColumnHandler(String name, ColumnType castTo, NestedCommonFormatColumnFormatSpec columnFormatSpec) -
Uses of ColumnType in org.apache.druid.segment.column
Fields in org.apache.druid.segment.column declared as ColumnTypeModifier and TypeFieldDescriptionstatic final ColumnTypeColumnType.DOUBLEDruid 64-bit double precision floating point number primitive type.static final ColumnTypeColumnType.DOUBLE_ARRAYAn array of Doubles.static final ColumnTypeColumnType.FLOATDruid 32-bit single precision floating point number primitive type.static final ColumnTypeColumnType.FLOAT_ARRAYAn array of Floats.static final ColumnTypeColumnType.LONGDruid 64-bit integer number primitive type.static final ColumnTypeColumnType.LONG_ARRAYAn array of Longs.static final ColumnTypeColumnType.NESTED_DATAstatic final ColumnTypeColumnType.STRINGDruid string type.static final ColumnTypeColumnType.STRING_ARRAYAn array of Strings.static final ColumnTypeColumnType.UNKNOWN_COMPLEXPlaceholder type for an "unknown" complex, which is used when the complex type name was "lost" or unavailable for whatever reason, to indicate an opaque type that cannot be generically handled with normal complex type handling mechanisms.Methods in org.apache.druid.segment.column that return ColumnTypeModifier and TypeMethodDescriptionstatic ColumnTypeColumnType.fromCapabilities(ColumnCapabilities capabilities) static ColumnTypeColumnType.fromString(String typeName) CapabilitiesBasedFormat.getLogicalType()ColumnFormat.getLogicalType()StringUtf8DictionaryEncodedColumn.getLogicalType()static ColumnTypeColumnType.leastRestrictiveType(Iterable<ColumnType> types) static ColumnTypeColumnType.leastRestrictiveType(ColumnType type, ColumnType other) Finds the type that can best represent both types, or none if there is no type information.static ColumnTypeColumnType.ofArray(ColumnType elementType) ColumnTypeFactory.ofArray(ColumnType elementType) static ColumnTypeColumnTypeFactory.ofDouble()ColumnTypeFactory.ofFloat()ColumnTypeFactory.ofLong()ColumnTypeFactory.ofString()static ColumnTypeColumnTypeFactory.ofType(TypeSignature<ValueType> type) static ColumnTypeColumnTypeFactory.ofValueType(ValueType type) default ColumnTypeColumnCapabilities.toColumnType()Methods in org.apache.druid.segment.column that return types with arguments of type ColumnTypeModifier and TypeMethodDescriptionRowSignature.getColumnType(int columnNumber) Returns the type of the column at positioncolumnNumber, or empty if the type is unknown.RowSignature.getColumnType(String columnName) Returns the type of the column namedcolumnName, or empty if the type is unknown or the column does not exist.RowSignature.getColumnTypes()Returns the column types in the order they are in.static TypeFactory<ColumnType>ColumnTypeFactory.getInstance()Methods in org.apache.druid.segment.column with parameters of type ColumnTypeModifier and TypeMethodDescriptionRowSignature.Builder.add(String columnName, ColumnType columnType) Add a column to this signature.<T> TypeStrategy<T>ColumnTypeFactory.getTypeStrategy(ColumnType type) static ColumnTypeColumnType.leastRestrictiveType(ColumnType type, ColumnType other) Finds the type that can best represent both types, or none if there is no type information.static ColumnTypeColumnType.ofArray(ColumnType elementType) ColumnTypeFactory.ofArray(ColumnType elementType) ColumnBuilder.setType(ColumnType type) ColumnCapabilitiesImpl.setType(ColumnType type) Method parameters in org.apache.druid.segment.column with type arguments of type ColumnTypeModifier and TypeMethodDescriptionstatic ColumnTypeColumnType.leastRestrictiveType(Iterable<ColumnType> types) Constructors in org.apache.druid.segment.column with parameters of type ColumnTypeModifierConstructorDescriptionColumnType(ValueType type, String complexTypeName, ColumnType elementType) -
Uses of ColumnType in org.apache.druid.segment.filter
Methods in org.apache.druid.segment.filter that return ColumnTypeModifier and TypeMethodDescriptionPredicateValueMatcherFactory.defaultType()StringConstantValueMatcherFactory.defaultType() -
Uses of ColumnType in org.apache.druid.segment.incremental
Methods in org.apache.druid.segment.incremental with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic ColumnCapabilitiesImplIncrementalIndex.makeDefaultCapabilitiesFromValueType(ColumnType type) -
Uses of ColumnType in org.apache.druid.segment.join.table
Methods in org.apache.druid.segment.join.table that return ColumnTypeModifier and TypeMethodDescriptionIndexedTable.Index.keyType()Returns the natural key type for the index.MapIndex.keyType()UniqueLongArrayIndex.keyType()Constructors in org.apache.druid.segment.join.table with parameters of type ColumnType -
Uses of ColumnType in org.apache.druid.segment.nested
Fields in org.apache.druid.segment.nested declared as ColumnTypeModifier and TypeFieldDescriptionprotected final ColumnTypeNestedCommonFormatColumn.Format.logicalTypeMethods in org.apache.druid.segment.nested that return ColumnTypeModifier and TypeMethodDescriptionCompressedNestedDataComplexColumn.getFieldLogicalType(List<NestedPathPart> path) NestedColumnTypeInspector.getFieldLogicalType(List<NestedPathPart> path) ReducesNestedColumnTypeInspector.getFieldTypes(List)for the nested field column usingleastRestrictiveType(ColumnType, ColumnType)CompressedNestedDataComplexColumn.getLogicalType()NestedCommonFormatColumn.Format.getLogicalType()NestedCommonFormatColumn.getLogicalType()NestedDataColumnSupplier.getLogicalType()NestedDataComplexTypeSerde.NestedColumnFormatV4.getLogicalType()ScalarDoubleColumn.getLogicalType()ScalarLongColumn.getLogicalType()VariantColumn.getLogicalType()NestedDataColumnSupplierV4.getSimpleType()FieldTypeInfo.MutableTypeSet.getSingleType()FieldTypeInfo.TypeSet.getSingleType()If the set contains only a singleColumnType, return it, else nullMethods in org.apache.druid.segment.nested that return types with arguments of type ColumnTypeModifier and TypeMethodDescriptionstatic Set<ColumnType>FieldTypeInfo.convertToSet(byte types) CompressedNestedDataComplexColumn.getFieldTypes(List<NestedPathPart> path) NestedColumnTypeInspector.getFieldTypes(List<NestedPathPart> path) Get allColumnTypefor the nested field columnMethods in org.apache.druid.segment.nested with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic byteFieldTypeInfo.add(byte types, ColumnType type) FieldTypeInfo.MutableTypeSet.add(ColumnType type) static NestedDataColumnSupplierNestedDataColumnSupplier.read(ColumnType logicalType, boolean hasNulls, byte pathParserVersion, ByteBuffer bb, ColumnBuilder columnBuilder, ColumnConfig columnConfig, NestedCommonFormatColumnFormatSpec formatSpec, ByteOrder byteOrder, NestedDataColumnSupplier parent) VariantColumnAndIndexSupplier.read(ColumnType logicalType, ByteOrder byteOrder, BitmapSerdeFactory bitmapSerdeFactory, ByteBuffer bb, SegmentFileMapper fileMapper, VariantColumnAndIndexSupplier parent) Constructors in org.apache.druid.segment.nested with parameters of type ColumnTypeModifierConstructorDescriptionCompressedNestedDataComplexColumn(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, com.google.common.base.Supplier<TKeyDictionary> fieldsSupplier, FieldTypeInfo fieldInfo, com.google.common.base.Supplier<TStringDictionary> stringDictionary, com.google.common.base.Supplier<FixedIndexed<Long>> longDictionarySupplier, com.google.common.base.Supplier<FixedIndexed<Double>> doubleDictionarySupplier, com.google.common.base.Supplier<FrontCodedIntArrayIndexed> arrayDictionarySupplier, SegmentFileMapper fileMapper, NestedCommonFormatColumnFormatSpec formatSpec, ByteOrder byteOrder, String rootFieldPath) Format(ColumnType logicalType, boolean hasNulls, boolean enforceLogicalType, NestedCommonFormatColumnFormatSpec columnFormatSpec) NestedDataColumnV3(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, com.google.common.base.Supplier<TKeyDictionary> fieldsSupplier, FieldTypeInfo fieldInfo, com.google.common.base.Supplier<TStringDictionary> stringDictionary, com.google.common.base.Supplier<FixedIndexed<Long>> longDictionarySupplier, com.google.common.base.Supplier<FixedIndexed<Double>> doubleDictionarySupplier, SegmentFileMapper fileMapper, NestedCommonFormatColumnFormatSpec formatSpec, ByteOrder byteOrder) NestedDataColumnV4(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, com.google.common.base.Supplier<TKeyDictionary> fieldsSupplier, FieldTypeInfo fieldInfo, com.google.common.base.Supplier<TStringDictionary> stringDictionary, com.google.common.base.Supplier<FixedIndexed<Long>> longDictionarySupplier, com.google.common.base.Supplier<FixedIndexed<Double>> doubleDictionarySupplier, SegmentFileMapper fileMapper, NestedCommonFormatColumnFormatSpec formatSpec, ByteOrder byteOrder) NestedDataColumnV5(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, com.google.common.base.Supplier<TKeyDictionary> fields, FieldTypeInfo fieldInfo, com.google.common.base.Supplier<TStringDictionary> stringDictionary, com.google.common.base.Supplier<FixedIndexed<Long>> longDictionarySupplier, com.google.common.base.Supplier<FixedIndexed<Double>> doubleDictionarySupplier, com.google.common.base.Supplier<FrontCodedIntArrayIndexed> arrayDictionarySupplier, SegmentFileMapper fileMapper, NestedCommonFormatColumnFormatSpec columnFormatSpec, ByteOrder byteOrder) VariantColumn(TStringDictionary stringDictionary, FixedIndexed<Long> longDictionary, FixedIndexed<Double> doubleDictionary, FrontCodedIntArrayIndexed arrayDictionary, ColumnarInts encodedValueColumn, ImmutableBitmap nullValueBitmap, ColumnType logicalType, Byte variantTypeSetByte, BitmapFactory bitmapFactory) VariantColumnAndIndexSupplier(ColumnType logicalType, Byte variantTypeSetByte, com.google.common.base.Supplier<? extends Indexed<ByteBuffer>> stringDictionarySupplier, com.google.common.base.Supplier<FixedIndexed<Long>> longDictionarySupplier, com.google.common.base.Supplier<FixedIndexed<Double>> doubleDictionarySupplier, com.google.common.base.Supplier<FrontCodedIntArrayIndexed> arrayDictionarySupplier, com.google.common.base.Supplier<FixedIndexed<Integer>> arrayElementDictionarySupplier, com.google.common.base.Supplier<ColumnarInts> encodedValueColumnSupplier, GenericIndexed<ImmutableBitmap> valueIndexes, GenericIndexed<ImmutableBitmap> elementIndexes, BitmapFactory bitmapFactory) VariantColumnSerializer(String name, ColumnType logicalType, Byte variantTypeSetByte, NestedCommonFormatColumnFormatSpec columnFormatSpec, SegmentWriteOutMedium segmentWriteOutMedium, Closer closer) -
Uses of ColumnType in org.apache.druid.segment.serde
Methods in org.apache.druid.segment.serde that return ColumnTypeMethods in org.apache.druid.segment.serde with parameters of type ColumnTypeModifier and TypeMethodDescriptionNestedCommonFormatColumnPartSerde.createDeserializer(ColumnType logicalType, boolean hasNulls, boolean isVariantType, boolean enforceLogicalType, ByteOrder byteOrder, BitmapSerdeFactory bitmapSerdeFactory, NestedCommonFormatColumnPartSerde.FormatSpec columnFormatSpec, Byte pathParserVersion) NestedCommonFormatColumnPartSerde.SerializerBuilder.withLogicalType(ColumnType logicalType) -
Uses of ColumnType in org.apache.druid.segment.virtual
Methods in org.apache.druid.segment.virtual that return ColumnTypeModifier and TypeMethodDescriptionNestedFieldVirtualColumn.getExpectedType()ExpressionVirtualColumn.getOutputType()ExpressionPlan.getSingleInputType()If and only if the column has a single input, get theValueTypeof that inputNestedObjectVirtualColumn.TypedExpression.getType()Methods in org.apache.druid.segment.virtual with parameters of type ColumnTypeModifier and TypeMethodDescriptionstatic ColumnValueSelector<?>ExpressionSelectors.castColumnValueSelector(RowIdSupplier rowIdSupplier, ColumnValueSelector<?> delegate, ColumnType delegateType, ColumnType castToType) Wrap the output ofBaseObjectColumnValueSelector.getObject()inExprEval.ofType(ExpressionType, Object)using the supplied delegate type and cast usingExprEval.castTo(org.apache.druid.math.expr.ExpressionType)to convert to the target type.static VectorObjectSelectorExpressionVectorSelectors.castObject(ReadableVectorInspector inspector, String columnName, VectorObjectSelector selector, ColumnType selectorType, ColumnType castTo) static VectorValueSelectorExpressionVectorSelectors.castObjectSelectorToNumeric(ReadableVectorInspector inspector, String columnName, VectorObjectSelector selector, ColumnType selectorType, ColumnType castTo) static VectorObjectSelectorExpressionVectorSelectors.castValueSelectorToObject(ReadableVectorInspector inspector, String columnName, VectorValueSelector selector, ColumnType selectorType, ColumnType castTo) ExpressionPlan.inferColumnCapabilities(ColumnType outputTypeHint) Tries to construct the most appropriateColumnCapabilitiesfor this plan given theExpressionPlan.outputTypeandExpressionPlan.traitsinferred by theExpressionPlanner, optionally with the help of hintValueType.static VectorObjectSelectorExpressionVectorSelectors.makeVectorObjectSelector(VectorColumnSelectorFactory factory, Expr expression, ColumnType outputTypeHint) Constructors in org.apache.druid.segment.virtual with parameters of type ColumnTypeModifierConstructorDescriptionExpressionVirtualColumn(String name, String expression, Expr parsedExpression, ColumnType outputType) Constructor for creating an ExpressionVirtualColumn from a pre-parsed-and-analyzed expression, where the original expression string is known.ExpressionVirtualColumn(String name, String expression, ColumnType outputType, ExprMacroTable macroTable) Constructor for deserialization.ExpressionVirtualColumn(String name, Expr parsedExpression, ColumnType outputType) Constructor for creating an ExpressionVirtualColumn from a pre-parsed expression, where the original expression string is not known.NestedFieldVirtualColumn(String columnName, String path, String outputName, ColumnType expectedType) NestedFieldVirtualColumn(String columnName, String outputName, ColumnType expectedType, List<NestedPathPart> parts, Boolean processFromRaw, String path, Boolean useJqSyntax) RawFieldVectorObjectSelector(VectorObjectSelector baseSelector, List<NestedPathPart> parts, ColumnType expectedType) TypedExpression(String expression, ColumnType type)