Uses of Interface
org.apache.druid.segment.column.TypeDescriptor
Packages that use TypeDescriptor
-
Uses of TypeDescriptor in org.apache.druid.math.expr
Classes in org.apache.druid.math.expr that implement TypeDescriptor -
Uses of TypeDescriptor in org.apache.druid.segment.column
Classes in org.apache.druid.segment.column with type parameters of type TypeDescriptorModifier and TypeClassDescriptionclassBaseTypeSignature<Type extends TypeDescriptor>interfaceTypeFactory<Type extends TypeSignature<? extends TypeDescriptor>>CreateTypeSignatureof aTypeDescriptor.interfaceTypeSignature<Type extends TypeDescriptor>This interface serves as a common foundation for Druids native type system, and provides common methods for reasoning about and handling type matters.Classes in org.apache.druid.segment.column that implement TypeDescriptorModifier and TypeClassDescriptionenumThis enumeration defines the high level classification of the Druid type system, used byColumnTypeto indicate the type of data stored in columns and produced by expressions and aggregations, used to allow query processing engine algorithms to compute results, used to compute query result row signatures, and all other type needs.Fields in org.apache.druid.segment.column declared as TypeDescriptorMethods in org.apache.druid.segment.column with type parameters of type TypeDescriptorModifier and TypeMethodDescriptionstatic <T extends TypeDescriptor>
booleanTypes.either(TypeSignature<T> typeSignature1, TypeSignature<T> typeSignature2, T typeDescriptor) Returns true if either suppliedTypeSignature.getType()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 ifTypeSignature.getType()is of the specifiedTypeDescriptorstatic <T extends TypeDescriptor>
booleanTypes.isNullOr(TypeSignature<T> typeSignature, T typeDescriptor) Returns true ifTypeSignature.getType()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 isTypeSignature.isNumeric()static <T extends TypeDescriptor>
booleanTypes.isNumericOrNumericArray(TypeSignature<T> typeSignature) Returns true ifTypeSignatureis not null and isTypeSignature.isNumeric()or hasTypeSignature.getElementType()that is numeric.Methods in org.apache.druid.segment.column with parameters of type TypeDescriptorModifier and TypeMethodDescriptiondefault booleanCheck if the value ofTypeSignature.getType()matches any of theTypeDescriptorspecified.static <T extends TypeDescriptor>
booleanTypes.isNullOrAnyOf(TypeSignature<T> typeSignature, T... typeDescriptors) Returns true if theTypeSignatureis null, or is any one of the specifiedTypeDescriptor