Uses of Interface
org.apache.druid.segment.column.TypeSignature
Packages that use TypeSignature
Package
Description
-
Uses of TypeSignature in org.apache.druid.data.input.impl
Methods in org.apache.druid.data.input.impl with parameters of type TypeSignatureModifier and TypeMethodDescriptionstatic DimensionSchemaDimensionSchema.getDefaultSchemaForBuiltInType(String name, TypeSignature<ValueType> type) -
Uses of TypeSignature in org.apache.druid.math.expr
Classes in org.apache.druid.math.expr that implement TypeSignatureModifier and TypeClassDescriptionclassThe type system used to process Druid expressions.Methods in org.apache.druid.math.expr with parameters of type TypeSignatureModifier and TypeMethodDescriptionstatic ExpressionTypeExpressionType.fromColumnType(TypeSignature<ValueType> valueType) The expression system does not distinguish betweenValueType.FLOATandValueType.DOUBLE, so this method will convertValueType.FLOATtoExpressionType.DOUBLE.static ExpressionTypeExpressionType.fromColumnTypeStrict(TypeSignature<ValueType> valueType) The expression system does not distinguish betweenValueType.FLOATandValueType.DOUBLE, so, this method will convertValueType.FLOATtoExpressionType.DOUBLE.ExpressionDruidPredicateFactory.makeArrayPredicate(TypeSignature<ValueType> arrayType) -
Uses of TypeSignature in org.apache.druid.query.filter
Methods in org.apache.druid.query.filter with parameters of type TypeSignatureModifier 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 TypeSignature in org.apache.druid.query.filter.vector
Fields in org.apache.druid.query.filter.vector declared as TypeSignatureModifier and TypeFieldDescriptionprotected final TypeSignature<ValueType> ArrayVectorValueMatcher.columnTypeConstructors in org.apache.druid.query.filter.vector with parameters of type TypeSignatureModifierConstructorDescriptionArrayVectorValueMatcher(TypeSignature<ValueType> columnType, VectorObjectSelector selector) -
Uses of TypeSignature in org.apache.druid.segment
Methods in org.apache.druid.segment with parameters of type TypeSignatureModifier 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 TypeSignature in org.apache.druid.segment.column
Classes in org.apache.druid.segment.column with type parameters of type TypeSignatureModifier and TypeInterfaceDescriptioninterfaceTypeFactory<Type extends TypeSignature<? extends TypeDescriptor>>CreateTypeSignatureof aTypeDescriptor.Subinterfaces of TypeSignature in org.apache.druid.segment.columnModifier and TypeInterfaceDescriptioninterfaceThis interface is used to expose information about columns that is interesting to know for all matters dealing with reading from columns, including query planning and optimization, creating readers to merge segments at ingestion time, and probably nearly anything else you can imagine.Classes in org.apache.druid.segment.column that implement TypeSignatureModifier and TypeClassDescriptionclassBaseTypeSignature<Type extends TypeDescriptor>classclassNative Druid types.Fields in org.apache.druid.segment.column declared as TypeSignatureModifier and TypeFieldDescriptionprotected final TypeSignature<Type> BaseTypeSignature.elementTypeMethods in org.apache.druid.segment.column with type parameters of type TypeSignatureModifier and TypeMethodDescriptionstatic <T extends TypeSignature<?>>
TTypes.fromString(TypeFactory<T> typeFactory, String typeString) Methods in org.apache.druid.segment.column that return TypeSignatureModifier and TypeMethodDescriptionBaseTypeSignature.getElementType()ColumnCapabilitiesImpl.getElementType()TypeSignature.getElementType()Methods in org.apache.druid.segment.column with parameters of type TypeSignatureModifier and TypeMethodDescriptionstatic voidTypeStrategies.checkMaxSize(int available, int maxSizeBytes, TypeSignature<?> signature) static 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 <T extends TypeDescriptor>
booleanTypes.either(TypeSignature<T> typeSignature1, TypeSignature<T> typeSignature2, T typeDescriptor) Returns true if either suppliedgetType()is the givenTypeDescriptorUseful for choosing a commonTypeDescriptorbetween twoTypeSignaturewhen one of the signatures might be null.static <T extends TypeDescriptor>
booleanTypes.is(TypeSignature<T> typeSignature, T typeDescriptor) Returns true ifgetType()is of the specifiedTypeDescriptorstatic <T extends TypeDescriptor>
booleanTypes.isNullOr(TypeSignature<T> typeSignature, T typeDescriptor) Returns true ifgetType()is null, or of the specifiedTypeDescriptorstatic <T extends TypeDescriptor>
booleanTypes.isNullOrAnyOf(TypeSignature<T> typeSignature, T... typeDescriptors) Returns true if theTypeSignatureis null, or is any one of the specifiedTypeDescriptorstatic <T extends TypeDescriptor>
booleanTypes.isNumeric(TypeSignature<T> typeSignature) Returns true ifTypeSignatureis not null and isisNumeric()static <T extends TypeDescriptor>
booleanTypes.isNumericOrNumericArray(TypeSignature<T> typeSignature) Returns true ifTypeSignatureis not null and isisNumeric()or hasgetElementType()that is numeric.static ColumnTypeColumnTypeFactory.ofType(TypeSignature<ValueType> type) ColumnCapabilitiesImpl.setType(TypeSignature<ValueType> type) Constructors in org.apache.druid.segment.column with parameters of type TypeSignatureModifierConstructorDescriptionArrayTypeStrategy(TypeSignature<?> type) BaseTypeSignature(TypeFactory typeFactory, Type type, String complexTypeName, TypeSignature<Type> elementType) IncompatibleTypeException(TypeSignature<?> type, TypeSignature<?> other) InvalidCastBooleanException(TypeSignature<?> type) InvalidCastException(TypeSignature<?> type, TypeSignature<?> other) ObjectStrategyComplexTypeStrategy(ObjectStrategy<T> objectStrategy, TypeSignature<?> signature) ObjectStrategyComplexTypeStrategy(ObjectStrategy<T> objectStrategy, TypeSignature<?> signature, it.unimi.dsi.fastutil.Hash.Strategy<T> hashStrategy) -
Uses of TypeSignature in org.apache.druid.segment.index
Methods in org.apache.druid.segment.index with parameters of type TypeSignatureModifier and TypeMethodDescriptionIndexedUtf8ValueIndexes.forSortedValues(List<?> sortedValues, TypeSignature<ValueType> matchValueType) IndexedUtf8ValueIndexes.forValue(Object value, TypeSignature<ValueType> valueType) -
Uses of TypeSignature in org.apache.druid.segment.index.semantic
Methods in org.apache.druid.segment.index.semantic with parameters of type TypeSignatureModifier 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.