Uses of Class
org.apache.druid.segment.column.ColumnType
-
-
Uses of ColumnType in org.apache.druid.data.input.impl
Methods in org.apache.druid.data.input.impl that return ColumnType Modifier and Type Method Description abstract ColumnTypeDimensionSchema. getColumnType()ColumnTypeDoubleDimensionSchema. getColumnType()ColumnTypeFloatDimensionSchema. getColumnType()ColumnTypeLongDimensionSchema. getColumnType()ColumnTypeNewSpatialDimensionSchema. getColumnType()ColumnTypeStringDimensionSchema. getColumnType() -
Uses of ColumnType in org.apache.druid.data.input.impl.systemfield
Methods in org.apache.druid.data.input.impl.systemfield that return ColumnType Modifier and Type Method Description ColumnTypeSystemField. getColumnType()Type of this system field. -
Uses of ColumnType in org.apache.druid.frame.field
Methods in org.apache.druid.frame.field with parameters of type ColumnType Modifier and Type Method Description static FieldReaderFieldReaders. create(String columnName, ColumnType columnType)Helper used byFrameReader.static FieldWriterFieldWriters. create(ColumnSelectorFactory columnSelectorFactory, String columnName, ColumnType columnType)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 ColumnType Modifier and Type Method Description static 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 ColumnType Modifier and Type Method Description ColumnTypeNumericArrayFrameColumnReader.NumericArrayFrameColumn. getType()Methods in org.apache.druid.frame.read.columnar with parameters of type ColumnType Modifier and Type Method Description static FrameColumnReaderFrameColumnReaders. create(String columnName, int columnNumber, ColumnType columnType)Constructors in org.apache.druid.frame.read.columnar with parameters of type ColumnType Constructor Description NumericArrayFrameColumn(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 ColumnType Modifier and Type Method Description ColumnTypeUnsupportedColumnTypeException. getColumnType()Methods in org.apache.druid.frame.write with parameters of type ColumnType Modifier and Type Method Description static StringUnsupportedColumnTypeException. message(String columnName, ColumnType columnType)Constructors in org.apache.druid.frame.write with parameters of type ColumnType Constructor Description UnsupportedColumnTypeException(String columnName, ColumnType columnType) -
Uses of ColumnType in org.apache.druid.math.expr
Methods in org.apache.druid.math.expr that return ColumnType Modifier and Type Method Description static ColumnTypeExpressionType. toColumnType(ExpressionType exprType)ConvertExpressionTypeto the correspondingColumnTypeMethods in org.apache.druid.math.expr with parameters of type ColumnType Modifier and Type Method Description default ColumnIndexSupplierExpr. asColumnIndexSupplier(ColumnIndexSelector columnIndexSelector, ColumnType outputType)Constructors in org.apache.druid.math.expr with parameters of type ColumnType Constructor Description ExpressionPredicateIndexSupplier(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 ColumnType Modifier and Type Method Description List<ColumnType>InlineDataSource. getColumnTypes()Methods in org.apache.druid.query with parameters of type ColumnType Modifier and Type Method Description Druids.ScanQueryBuilderDruids.ScanQueryBuilder. columnTypes(ColumnType... columnType)Method parameters in org.apache.druid.query with type arguments of type ColumnType Modifier and Type Method Description Druids.ScanQueryBuilderDruids.ScanQueryBuilder. columnTypes(List<ColumnType> columnTypes) -
Uses of ColumnType in org.apache.druid.query.aggregation
Fields in org.apache.druid.query.aggregation declared as ColumnType Modifier and Type Field Description static ColumnTypeHistogramAggregatorFactory. TYPEstatic ColumnTypeHistogramAggregatorFactory. TYPE_VISUALMethods in org.apache.druid.query.aggregation that return ColumnType Modifier and Type Method Description ColumnTypeAggregatorFactory. getIntermediateType()Get the "intermediate"ColumnTypefor this aggregator.ColumnTypeCountAggregatorFactory. getIntermediateType()ColumnTypeExpressionLambdaAggregatorFactory. getIntermediateType()ColumnTypeFilteredAggregatorFactory. getIntermediateType()ColumnTypeGroupingAggregatorFactory. getIntermediateType()ColumnTypeHistogramAggregatorFactory. getIntermediateType()actual type isHistogramColumnTypeJavaScriptAggregatorFactory. getIntermediateType()ColumnTypeSimpleDoubleAggregatorFactory. getIntermediateType()ColumnTypeSimpleFloatAggregatorFactory. getIntermediateType()ColumnTypeSimpleLongAggregatorFactory. getIntermediateType()ColumnTypeSingleValueAggregatorFactory. getIntermediateType()ColumnTypeSuppressedAggregatorFactory. getIntermediateType()ColumnTypeAggregatorFactory. getResultType()Get theColumnTypefor the final form of this aggregator, i.e.ColumnTypeCountAggregatorFactory. getResultType()ColumnTypeExpressionLambdaAggregatorFactory. getResultType()ColumnTypeFilteredAggregatorFactory. getResultType()ColumnTypeGroupingAggregatorFactory. getResultType()ColumnTypeHistogramAggregatorFactory. getResultType()actual type isHistogramVisualColumnTypeJavaScriptAggregatorFactory. getResultType()ColumnTypeNullableNumericAggregatorFactory. getResultType()ColumnTypeSingleValueAggregatorFactory. getResultType()ColumnTypeSuppressedAggregatorFactory. 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 ColumnType Constructor Description SingleValueAggregatorFactory(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 ColumnType Modifier and Type Method Description ColumnTypeDoubleAnyAggregatorFactory. getIntermediateType()ColumnTypeFloatAnyAggregatorFactory. getIntermediateType()ColumnTypeLongAnyAggregatorFactory. getIntermediateType()ColumnTypeStringAnyAggregatorFactory. getIntermediateType()ColumnTypeDoubleAnyAggregatorFactory. getResultType()ColumnTypeFloatAnyAggregatorFactory. getResultType()ColumnTypeLongAnyAggregatorFactory. getResultType()ColumnTypeStringAnyAggregatorFactory. getResultType() -
Uses of ColumnType in org.apache.druid.query.aggregation.cardinality
Fields in org.apache.druid.query.aggregation.cardinality declared as ColumnType Modifier and Type Field Description static ColumnTypeCardinalityAggregatorFactory. TYPEMethods in org.apache.druid.query.aggregation.cardinality that return ColumnType Modifier and Type Method Description ColumnTypeCardinalityAggregatorFactory. getIntermediateType()actual type isHyperLogLogCollectorColumnTypeCardinalityAggregatorFactory. getResultType() -
Uses of ColumnType in org.apache.druid.query.aggregation.firstlast.first
Fields in org.apache.druid.query.aggregation.firstlast.first declared as ColumnType Modifier and Type Field Description static ColumnTypeDoubleFirstAggregatorFactory. TYPEstatic ColumnTypeFloatFirstAggregatorFactory. TYPEstatic ColumnTypeLongFirstAggregatorFactory. TYPEstatic ColumnTypeStringFirstAggregatorFactory. TYPEMethods in org.apache.druid.query.aggregation.firstlast.first that return ColumnType Modifier and Type Method Description ColumnTypeDoubleFirstAggregatorFactory. getIntermediateType()ColumnTypeFloatFirstAggregatorFactory. getIntermediateType()ColumnTypeLongFirstAggregatorFactory. getIntermediateType()ColumnTypeStringFirstAggregatorFactory. getIntermediateType()actual type isSerializablePairLongStringColumnTypeDoubleFirstAggregatorFactory. getResultType()ColumnTypeFloatFirstAggregatorFactory. getResultType()ColumnTypeLongFirstAggregatorFactory. getResultType()ColumnTypeStringFirstAggregatorFactory. getResultType() -
Uses of ColumnType in org.apache.druid.query.aggregation.firstlast.last
Fields in org.apache.druid.query.aggregation.firstlast.last declared as ColumnType Modifier and Type Field Description static ColumnTypeDoubleLastAggregatorFactory. TYPEstatic ColumnTypeFloatLastAggregatorFactory. TYPEstatic ColumnTypeLongLastAggregatorFactory. TYPEstatic ColumnTypeStringLastAggregatorFactory. TYPEMethods in org.apache.druid.query.aggregation.firstlast.last that return ColumnType Modifier and Type Method Description ColumnTypeDoubleLastAggregatorFactory. getIntermediateType()ColumnTypeFloatLastAggregatorFactory. getIntermediateType()ColumnTypeLongLastAggregatorFactory. getIntermediateType()ColumnTypeStringLastAggregatorFactory. getIntermediateType()actual type isSerializablePairLongStringColumnTypeDoubleLastAggregatorFactory. getResultType()ColumnTypeFloatLastAggregatorFactory. getResultType()ColumnTypeLongLastAggregatorFactory. getResultType()ColumnTypeStringLastAggregatorFactory. getResultType() -
Uses of ColumnType in org.apache.druid.query.aggregation.hyperloglog
Fields in org.apache.druid.query.aggregation.hyperloglog declared as ColumnType Modifier and Type Field Description static ColumnTypeHyperUniquesAggregatorFactory. PRECOMPUTED_TYPEstatic ColumnTypeHyperUniquesAggregatorFactory. TYPEMethods in org.apache.druid.query.aggregation.hyperloglog that return ColumnType Modifier and Type Method Description ColumnTypeHyperUniquesAggregatorFactory. getIntermediateType()actual type isHyperLogLogCollectorColumnTypeHyperUniquesAggregatorFactory. getResultType()ColumnTypeHyperUniqueFinalizingPostAggregator. getType(ColumnInspector signature) -
Uses of ColumnType in org.apache.druid.query.aggregation.mean
Fields in org.apache.druid.query.aggregation.mean declared as ColumnType Modifier and Type Field Description static ColumnTypeDoubleMeanAggregatorFactory. TYPEMethods in org.apache.druid.query.aggregation.mean that return ColumnType Modifier and Type Method Description ColumnTypeDoubleMeanAggregatorFactory. getIntermediateType()actual type isDoubleMeanHolderColumnTypeDoubleMeanAggregatorFactory. getResultType() -
Uses of ColumnType in org.apache.druid.query.aggregation.post
Methods in org.apache.druid.query.aggregation.post that return ColumnType Modifier and Type Method Description ColumnTypeExpressionPostAggregator. getOutputType()ColumnTypeArithmeticPostAggregator. getType(ColumnInspector signature)ColumnTypeConstantPostAggregator. getType(ColumnInspector signature)ColumnTypeDoubleGreatestPostAggregator. getType(ColumnInspector signature)ColumnTypeDoubleLeastPostAggregator. getType(ColumnInspector signature)ColumnTypeExpressionPostAggregator. getType(ColumnInspector signature)ColumnTypeFieldAccessPostAggregator. getType(ColumnInspector signature)ColumnTypeFinalizingFieldAccessPostAggregator. getType(ColumnInspector signature)ColumnTypeJavaScriptPostAggregator. getType(ColumnInspector signature)ColumnTypeLongGreatestPostAggregator. getType(ColumnInspector signature)ColumnTypeLongLeastPostAggregator. getType(ColumnInspector signature)Constructors in org.apache.druid.query.aggregation.post with parameters of type ColumnType Constructor Description ExpressionPostAggregator(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 ColumnType Modifier and Type Method Description ColumnTypeBaseFilteredDimensionSpec. getOutputType()ColumnTypeDefaultDimensionSpec. getOutputType()ColumnTypeDimensionSpec. getOutputType()ColumnTypeExtractionDimensionSpec. getOutputType()ColumnTypeLookupDimensionSpec. getOutputType()Methods in org.apache.druid.query.dimension with parameters of type ColumnType Modifier and Type Method Description static DefaultDimensionSpecDefaultDimensionSpec. of(String dimensionName, ColumnType columnType)Constructors in org.apache.druid.query.dimension with parameters of type ColumnType Constructor Description DefaultDimensionSpec(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 ColumnType Modifier and Type Method Description ColumnTypeEqualityFilter.TypedConstantValueMatcherFactory. defaultType()ColumnTypeArrayContainsElementFilter. getElementMatchValueType()ColumnTypeEqualityFilter. getMatchValueType()ColumnTypeRangeFilter. getMatchValueType()ColumnTypeTypedInFilter. getMatchValueType()Methods in org.apache.druid.query.filter with parameters of type ColumnType Modifier and Type Method Description static BitmapColumnIndexEqualityFilter. getEqualityIndex(String column, ExprEval<?> matchValueEval, ColumnType matchValueType, ColumnIndexSelector selector, DruidPredicateFactory predicateFactory)Constructors in org.apache.druid.query.filter with parameters of type ColumnType Constructor Description ArrayContainsElementFilter(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 ColumnType Modifier and Type Method Description VectorValueMatcherArrayVectorValueMatcher. makeMatcher(Object matchValue, ColumnType matchValueType)VectorValueMatcherDoubleVectorValueMatcher. makeMatcher(Object matchValue, ColumnType matchValueType)VectorValueMatcherFloatVectorValueMatcher. makeMatcher(Object matchValue, ColumnType matchValueType)VectorValueMatcherLongVectorValueMatcher. makeMatcher(Object matchValue, ColumnType matchValueType)VectorValueMatcherMultiValueStringVectorValueMatcher. makeMatcher(Object matchValue, ColumnType matchValueType)VectorValueMatcherObjectVectorValueMatcher. makeMatcher(Object matchValue, ColumnType matchValueType)VectorValueMatcherSingleValueStringVectorValueMatcher. makeMatcher(Object matchValue, ColumnType matchValueType)VectorValueMatcherStringObjectVectorValueMatcher. makeMatcher(Object matchValue, ColumnType matchValueType)VectorValueMatcherVectorValueMatcherFactory. 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 ColumnType Modifier and Type Method Description static GroupByColumnSelectorStrategyDictionaryBuildingGroupByColumnSelectorStrategy. 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 ColumnType Constructor Description FixedWidthGroupByColumnSelectorStrategy(int keySizeBytes, ColumnType columnType, Function<ColumnValueSelector<?>,T> valueGetter, Function<ColumnValueSelector<?>,Boolean> nullityGetter) -
Uses of ColumnType in org.apache.druid.query.metadata.metadata
Methods in org.apache.druid.query.metadata.metadata that return ColumnType Modifier and Type Method Description ColumnTypeColumnAnalysis. getTypeSignature()Methods in org.apache.druid.query.metadata.metadata with parameters of type ColumnType Modifier and Type Method Description ColumnAnalysis.BuilderColumnAnalysis.Builder. withType(ColumnType columnType)Constructors in org.apache.druid.query.metadata.metadata with parameters of type ColumnType Constructor Description ColumnAnalysis(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 Modifier and Type Method Description ColumnTypeShiftedColumnAccessorBase. getType() -
Uses of ColumnType in org.apache.druid.query.rowsandcols
Methods in org.apache.druid.query.rowsandcols with parameters of type ColumnType Modifier and Type Method Description MapOfColumnsRowsAndColumns.BuilderMapOfColumnsRowsAndColumns.Builder. add(String name, Object[] vals, ColumnType type)MapOfColumnsRowsAndColumns.BuilderMapOfColumnsRowsAndColumns.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 ColumnType Modifier and Type Method Description ColumnTypeColumnAccessor. getType()Get the type of the ColumnColumnTypeNullColumn.Accessor. getType()Constructors in org.apache.druid.query.rowsandcols.column with parameters of type ColumnType Constructor Description Accessor(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 Modifier and Type Method Description ColumnTypeDoubleColumnAccessorBase. getType()ColumnTypeFloatColumnAccessorBase. getType()ColumnTypeLongColumnAccessorBase. getType() -
Uses of ColumnType in org.apache.druid.query.scan
Methods in org.apache.druid.query.scan that return types with arguments of type ColumnType Modifier and Type Method Description List<ColumnType>ScanQuery. getColumnTypes() -
Uses of ColumnType in org.apache.druid.query.topn
Methods in org.apache.druid.query.topn that return ColumnType Modifier and Type Method Description ColumnTypeDimValHolder. getDimType()Methods in org.apache.druid.query.topn with parameters of type ColumnType Modifier and Type Method Description DimValHolder.BuilderDimValHolder.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 ColumnType Constructor Description DimValHolder(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 ColumnType Constructor Description StringTopNColumnAggregatesProcessor(ColumnCapabilities capabilities, ColumnType dimensionType)TopNColumnAggregatesProcessorFactory(ColumnType dimensionType) -
Uses of ColumnType in org.apache.druid.segment
Fields in org.apache.druid.segment declared as ColumnType Modifier and Type Field Description protected ColumnTypeAutoTypeColumnIndexer. castToTypeMethods in org.apache.druid.segment that return ColumnType Modifier and Type Method Description ColumnTypeColumnProcessorFactory. defaultType()This default type will be used when the underlying column has an unknown type.ColumnTypeAutoTypeColumnSchema. getCastToType()ColumnTypeAutoTypeColumnSchema. getColumnType()ColumnTypeNestedDataColumnSchema. getColumnType()ColumnTypeAutoTypeColumnIndexer. getLogicalType()Methods in org.apache.druid.segment that return types with arguments of type ColumnType Modifier and Type Method Description static List<ColumnType>DimensionHandlerUtils. getValueTypesFromDimensionSpecs(List<DimensionSpec> dimSpecs)Methods in org.apache.druid.segment with parameters of type ColumnType Modifier and Type Method Description static 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 ColumnType Constructor Description AutoTypeColumnIndexer(String name, ColumnType castToType)AutoTypeColumnMerger(String name, ColumnType castToType, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, Closer closer)AutoTypeColumnSchema(String name, ColumnType castToType)NestedCommonFormatColumnHandler(String name, ColumnType castTo) -
Uses of ColumnType in org.apache.druid.segment.column
Fields in org.apache.druid.segment.column declared as ColumnType Modifier and Type Field Description static ColumnTypeColumnType. DOUBLEDruid 64-bit double precision floating point number primitive type.static ColumnTypeColumnType. DOUBLE_ARRAYAn array of Doubles.static ColumnTypeColumnType. FLOATDruid 32-bit single precision floating point number primitive type.static ColumnTypeColumnType. FLOAT_ARRAYAn array of Floats.static ColumnTypeColumnType. LONGDruid 64-bit integer number primitive type.static ColumnTypeColumnType. LONG_ARRAYAn array of Longs.static ColumnTypeColumnType. NESTED_DATAstatic ColumnTypeColumnType. STRINGDruid string type.static ColumnTypeColumnType. STRING_ARRAYAn array of Strings.static 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 ColumnType Modifier and Type Method Description static ColumnTypeColumnType. fromString(String typeName)ColumnTypeCapabilitiesBasedFormat. getLogicalType()ColumnTypeColumnFormat. getLogicalType()ColumnTypeStringUtf8DictionaryEncodedColumn. getLogicalType()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)ColumnTypeColumnTypeFactory. ofArray(ColumnType elementType)static ColumnTypeColumnType. ofComplex(String complexTypeName)ColumnTypeColumnTypeFactory. ofComplex(String complexTypeName)ColumnTypeColumnTypeFactory. ofDouble()ColumnTypeColumnTypeFactory. ofFloat()ColumnTypeColumnTypeFactory. ofLong()ColumnTypeColumnTypeFactory. 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 ColumnType Modifier and Type Method Description Optional<ColumnType>RowSignature. getColumnType(int columnNumber)Returns the type of the column at positioncolumnNumber, or empty if the type is unknown.Optional<ColumnType>RowSignature. getColumnType(String columnName)Returns the type of the column namedcolumnName, or empty if the type is unknown or the column does not exist.List<ColumnType>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 ColumnType Modifier and Type Method Description RowSignature.BuilderRowSignature.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)ColumnTypeColumnTypeFactory. ofArray(ColumnType elementType)ColumnBuilderColumnBuilder. setType(ColumnType type)ColumnCapabilitiesImplColumnCapabilitiesImpl. setType(ColumnType type)Constructors in org.apache.druid.segment.column with parameters of type ColumnType Constructor Description ColumnType(ValueType type, String complexTypeName, ColumnType elementType) -
Uses of ColumnType in org.apache.druid.segment.filter
Methods in org.apache.druid.segment.filter that return ColumnType Modifier and Type Method Description ColumnTypePredicateValueMatcherFactory. defaultType()ColumnTypeStringConstantValueMatcherFactory. defaultType() -
Uses of ColumnType in org.apache.druid.segment.incremental
Methods in org.apache.druid.segment.incremental with parameters of type ColumnType Modifier and Type Method Description static ColumnCapabilitiesImplIncrementalIndex. makeDefaultCapabilitiesFromValueType(ColumnType type) -
Uses of ColumnType in org.apache.druid.segment.join.table
Methods in org.apache.druid.segment.join.table that return ColumnType Modifier and Type Method Description ColumnTypeIndexedTable.Index. keyType()Returns the natural key type for the index.ColumnTypeMapIndex. keyType()ColumnTypeUniqueLongArrayIndex. keyType()Constructors in org.apache.druid.segment.join.table with parameters of type ColumnType Constructor Description RowBasedIndexBuilder(ColumnType keyType) -
Uses of ColumnType in org.apache.druid.segment.nested
Methods in org.apache.druid.segment.nested that return ColumnType Modifier and Type Method Description ColumnTypeCompressedNestedDataComplexColumn. getLogicalType()ColumnTypeNestedCommonFormatColumn.Format. getLogicalType()ColumnTypeNestedCommonFormatColumn. getLogicalType()ColumnTypeNestedDataColumnSupplier. getLogicalType()ColumnTypeNestedDataComplexTypeSerde.NestedColumnFormatV4. getLogicalType()ColumnTypeScalarDoubleColumn. getLogicalType()ColumnTypeScalarLongColumn. getLogicalType()ColumnTypeVariantColumn. getLogicalType()ColumnTypeNestedDataColumnSupplierV4. getSimpleType()ColumnTypeFieldTypeInfo.MutableTypeSet. getSingleType()ColumnTypeFieldTypeInfo.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 ColumnType Modifier and Type Method Description static Set<ColumnType>FieldTypeInfo. convertToSet(byte types)Set<ColumnType>CompressedNestedDataComplexColumn. getColumnTypes(List<NestedPathPart> path)abstract Set<ColumnType>NestedDataComplexColumn. getColumnTypes(List<NestedPathPart> path)Get allColumnTypefor the nested field columnMethods in org.apache.druid.segment.nested with parameters of type ColumnType Modifier and Type Method Description static byteFieldTypeInfo. add(byte types, ColumnType type)FieldTypeInfo.MutableTypeSetFieldTypeInfo.MutableTypeSet. add(ColumnType type)static NestedDataColumnSupplierNestedDataColumnSupplier. read(ColumnType logicalType, boolean hasNulls, ByteBuffer bb, ColumnBuilder columnBuilder, ColumnConfig columnConfig, BitmapSerdeFactory bitmapSerdeFactory, ByteOrder byteOrder)static VariantColumnAndIndexSupplierVariantColumnAndIndexSupplier. read(ColumnType logicalType, ByteOrder byteOrder, BitmapSerdeFactory bitmapSerdeFactory, ByteBuffer bb, ColumnBuilder columnBuilder)Constructors in org.apache.druid.segment.nested with parameters of type ColumnType Constructor Description CompressedNestedDataComplexColumn(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, GenericIndexed<String> 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, SmooshedFileMapper fileMapper, BitmapSerdeFactory bitmapSerdeFactory, ByteOrder byteOrder, String rootFieldPath)Format(ColumnType logicalType, boolean hasNulls, boolean enforceLogicalType)NestedDataColumnV3(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, GenericIndexed<String> 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, SmooshedFileMapper fileMapper, BitmapSerdeFactory bitmapSerdeFactory, ByteOrder byteOrder)NestedDataColumnV4(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, GenericIndexed<String> 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, SmooshedFileMapper fileMapper, BitmapSerdeFactory bitmapSerdeFactory, ByteOrder byteOrder)NestedDataColumnV5(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, GenericIndexed<String> 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, SmooshedFileMapper fileMapper, BitmapSerdeFactory bitmapSerdeFactory, ByteOrder byteOrder)VariantColumn(TStringDictionary stringDictionary, FixedIndexed<Long> longDictionary, FixedIndexed<Double> doubleDictionary, FrontCodedIntArrayIndexed arrayDictionary, ColumnarInts encodedValueColumn, ImmutableBitmap nullValueBitmap, ColumnType logicalType, Byte variantTypeSetByte)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, IndexSpec indexSpec, SegmentWriteOutMedium segmentWriteOutMedium, Closer closer) -
Uses of ColumnType in org.apache.druid.segment.serde
Methods in org.apache.druid.segment.serde that return ColumnType Modifier and Type Method Description ColumnTypeNestedCommonFormatColumnPartSerde. getLogicalType()Methods in org.apache.druid.segment.serde with parameters of type ColumnType Modifier and Type Method Description static NestedCommonFormatColumnPartSerdeNestedCommonFormatColumnPartSerde. createDeserializer(ColumnType logicalType, boolean hasNulls, boolean isVariantType, boolean enforceLogicalType, ByteOrder byteOrder, BitmapSerdeFactory bitmapSerdeFactory)NestedCommonFormatColumnPartSerde.SerializerBuilderNestedCommonFormatColumnPartSerde.SerializerBuilder. withLogicalType(ColumnType logicalType) -
Uses of ColumnType in org.apache.druid.segment.virtual
Methods in org.apache.druid.segment.virtual that return ColumnType Modifier and Type Method Description ColumnTypeNestedFieldVirtualColumn. getExpectedType()ColumnTypeExpressionVirtualColumn. getOutputType()ColumnTypeExpressionPlan. getSingleInputType()If and only if the column has a single input, get theValueTypeof that inputMethods in org.apache.druid.segment.virtual with parameters of type ColumnType Modifier and Type Method Description 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)ColumnCapabilitiesExpressionPlan. inferColumnCapabilities(ColumnType outputTypeHint)Tries to construct the most appropriateColumnCapabilitiesfor this plan given theExpressionPlan.outputTypeandExpressionPlan.traitsinferred by theExpressionPlanner, optionally with the help of hintValueType.Constructors in org.apache.druid.segment.virtual with parameters of type ColumnType Constructor Description ExpressionVirtualColumn(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)
-