Uses of Enum
org.apache.druid.segment.column.ValueType
Packages that use ValueType
Package
Description
-
Uses of ValueType in org.apache.druid.data.input
Methods in org.apache.druid.data.input with parameters of type ValueTypeModifier and TypeMethodDescriptionstatic NumberRows.objectToNumber(String name, Object inputValue, ValueType outputType, boolean throwParseExceptions) Convert an object to a number. -
Uses of ValueType in org.apache.druid.data.input.impl
Method parameters in org.apache.druid.data.input.impl with type arguments of type ValueTypeModifier and TypeMethodDescriptionstatic DimensionSchemaDimensionSchema.getDefaultSchemaForBuiltInType(String name, TypeSignature<ValueType> type) -
Uses of ValueType in org.apache.druid.frame.field
Methods in org.apache.druid.frame.field that return ValueTypeModifier and TypeMethodDescriptionDoubleFieldReader.getValueType()FloatFieldReader.getValueType()LongFieldReader.getValueType()abstract ValueTypeNumericFieldReader.getValueType()ValueTypeof the inheritor's element -
Uses of ValueType in org.apache.druid.math.expr
Method parameters in org.apache.druid.math.expr with type arguments of type ValueTypeModifier and TypeMethodDescriptionstatic ExpressionTypeExpressionType.fromColumnType(TypeSignature<ValueType> valueType) The expression system does not distinguish betweenFLOATandDOUBLE, so this method will convertFLOATtoExpressionType.DOUBLE.static ExpressionTypeExpressionType.fromColumnTypeStrict(TypeSignature<ValueType> valueType) The expression system does not distinguish betweenFLOATandDOUBLE, so, this method will convertFLOATtoExpressionType.DOUBLE.ExpressionDruidPredicateFactory.makeArrayPredicate(TypeSignature<ValueType> arrayType) -
Uses of ValueType in org.apache.druid.query
Methods in org.apache.druid.query with parameters of type ValueTypeModifier and TypeMethodDescriptionstatic booleanDimensionComparisonUtils.isNaturalComparator(ValueType type, StringComparator comparator) Checks if the comparator is the natural comparator for the given type. -
Uses of ValueType in org.apache.druid.query.aggregation
Methods in org.apache.druid.query.aggregation that return ValueType -
Uses of ValueType in org.apache.druid.query.filter
Method parameters in org.apache.druid.query.filter with type arguments of type ValueTypeModifier and TypeMethodDescriptiondefault DruidObjectPredicate<Object[]> DruidPredicateFactory.makeArrayPredicate(TypeSignature<ValueType> inputType) EqualityFilter.EqualityPredicateFactory.makeArrayPredicate(TypeSignature<ValueType> arrayType) NullFilter.NullPredicateFactory.makeArrayPredicate(TypeSignature<ValueType> arrayType) 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. -
Uses of ValueType in org.apache.druid.query.filter.vector
Fields in org.apache.druid.query.filter.vector with type parameters of type ValueTypeModifier and TypeFieldDescriptionprotected final TypeSignature<ValueType> ArrayVectorValueMatcher.columnTypeConstructor parameters in org.apache.druid.query.filter.vector with type arguments of type ValueTypeModifierConstructorDescriptionArrayVectorValueMatcher(TypeSignature<ValueType> columnType, VectorObjectSelector selector) -
Uses of ValueType in org.apache.druid.segment
Method parameters in org.apache.druid.segment with type arguments of type ValueTypeModifier and TypeMethodDescriptionDimensionHandlerUtils.converterFromTypeToType(TypeSignature<ValueType> fromType, TypeSignature<ValueType> toType) Used by TopN engine for type coercionstatic ObjectDimensionHandlerUtils.convertObjectToType(Object obj, TypeSignature<ValueType> type) static ObjectDimensionHandlerUtils.convertObjectToType(Object obj, TypeSignature<ValueType> type, boolean reportParseExceptions) static ObjectDimensionHandlerUtils.convertObjectToType(Object obj, TypeSignature<ValueType> type, boolean reportParseExceptions, String fieldName) static Object[]DimensionHandlerUtils.convertToArray(Object obj, TypeSignature<ValueType> elementType) -
Uses of ValueType in org.apache.druid.segment.column
Methods in org.apache.druid.segment.column that return ValueTypeModifier and TypeMethodDescriptionstatic ValueTypeValueType.fromString(String name) ColumnCapabilitiesImpl.getType()ColumnDescriptor.getValueType()static ValueTypeReturns the enum constant of this type with the specified name.static ValueType[]ValueType.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.druid.segment.column that return types with arguments of type ValueTypeMethods in org.apache.druid.segment.column with parameters of type ValueTypeModifier and TypeMethodDescriptionstatic booleanstatic booleanstatic SettableColumnValueSelector<?> ValueTypes.makeNewSettableColumnValueSelector(ValueType valueType) static DimensionSelectorValueTypes.makeNumericWrappingDimensionSelector(ValueType valueType, ColumnValueSelector<?> numericColumnValueSelector, ExtractionFn extractionFn) static ColumnTypeColumnTypeFactory.ofValueType(ValueType type) ColumnDescriptor.Builder.setValueType(ValueType valueType) Method parameters in org.apache.druid.segment.column with type arguments of type ValueTypeModifier and TypeMethodDescriptionstatic ColumnCapabilitiesImplColumnCapabilitiesImpl.createSimpleArrayColumnCapabilities(TypeSignature<ValueType> valueType) Similar toColumnCapabilitiesImpl.createSimpleNumericColumnCapabilities(org.apache.druid.segment.column.TypeSignature<org.apache.druid.segment.column.ValueType>)exceptColumnCapabilitiesImpl.hasNullsis not setstatic ColumnCapabilitiesImplColumnCapabilitiesImpl.createSimpleNumericColumnCapabilities(TypeSignature<ValueType> valueType) Create a no frills, simple column withValueTypeset and everything else falsestatic ColumnTypeColumnTypeFactory.ofType(TypeSignature<ValueType> type) ColumnCapabilitiesImpl.setType(TypeSignature<ValueType> type) Constructors in org.apache.druid.segment.column with parameters of type ValueTypeModifierConstructorDescriptionColumnDescriptor(ValueType valueType, boolean hasMultipleValues, List<ColumnPartSerde> parts) ColumnType(ValueType type, String complexTypeName, ColumnType elementType) -
Uses of ValueType in org.apache.druid.segment.generator
Methods in org.apache.druid.segment.generator that return ValueTypeMethods in org.apache.druid.segment.generator with parameters of type ValueTypeModifier and TypeMethodDescriptionstatic GeneratorColumnSchemaGeneratorColumnSchema.makeContinuousUniform(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, double startDouble, double endDouble) static GeneratorColumnSchemaGeneratorColumnSchema.makeDiscreteUniform(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, int startInt, int endInt) static GeneratorColumnSchemaGeneratorColumnSchema.makeEnumerated(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, List<Object> enumeratedValues, List<Double> enumeratedProbabilities) static GeneratorColumnSchemaGeneratorColumnSchema.makeEnumeratedDiscreteUniform(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, List<Object> enumeratedValues) static GeneratorColumnSchemaGeneratorColumnSchema.makeEnumeratedSequential(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, List<Object> enumeratedValues) static GeneratorColumnSchemaGeneratorColumnSchema.makeEnumeratedZipf(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, List<Object> enumeratedValues, Double zipfExponent) static GeneratorColumnSchemaGeneratorColumnSchema.makeLazyDiscreteUniform(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, int startInt, int endInt) static GeneratorColumnSchemaGeneratorColumnSchema.makeLazyZipf(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, int startInt, int endInt, Double zipfExponent) static GeneratorColumnSchemaGeneratorColumnSchema.makeNormal(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, Double mean, Double standardDeviation, boolean useRounding) static GeneratorColumnSchemaGeneratorColumnSchema.makeSequential(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, int startInt, int endInt) static GeneratorColumnSchemaGeneratorColumnSchema.makeZipf(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, int startInt, int endInt, Double zipfExponent) Constructors in org.apache.druid.segment.generator with parameters of type ValueTypeModifierConstructorDescriptionGeneratorColumnSchema(String name, ValueType type, boolean isMetric, int rowSize, Double nullProbability, GeneratorColumnSchema.ValueDistribution distributionType, List<Object> enumeratedValues, List<Double> enumeratedProbabilities, Integer startInt, Integer endInt, Double startDouble, Double endDouble, Double zipfExponent, Double mean, Double standardDeviation) -
Uses of ValueType in org.apache.druid.segment.index
Method parameters in org.apache.druid.segment.index with type arguments of type ValueTypeModifier and TypeMethodDescriptionIndexedUtf8ValueIndexes.forSortedValues(List<?> sortedValues, TypeSignature<ValueType> matchValueType) IndexedUtf8ValueIndexes.forValue(Object value, TypeSignature<ValueType> valueType) -
Uses of ValueType in org.apache.druid.segment.index.semantic
Method parameters in org.apache.druid.segment.index.semantic with type arguments of type ValueTypeModifier and TypeMethodDescriptionArrayElementIndexes.containsValue(Object value, TypeSignature<ValueType> valueType) Get theImmutableBitmapcorresponding to rows with array elements matching the supplied value.ValueSetIndexes.forSortedValues(List<?> sortedValues, TypeSignature<ValueType> matchValueType) Get the wrappedImmutableBitmapcorresponding to the specified set of values (if they are contained in the underlying column).ValueIndexes.forValue(Object value, TypeSignature<ValueType> valueType) Get aBitmapColumnIndexwhich can compute theImmutableBitmapcorresponding to rows matching the supplied value. -
Uses of ValueType in org.apache.druid.segment.shim
Constructors in org.apache.druid.segment.shim with parameters of type ValueTypeModifierConstructorDescriptionShimNumericColumnValueSelector(ShimCursor cursor, VectorValueSelector vectorSelector, ValueType preferredType)