Uses of Interface
org.apache.druid.segment.column.TypeDescriptor
-
Packages that use TypeDescriptor Package Description org.apache.druid.math.expr org.apache.druid.segment.column -
-
Uses of TypeDescriptor in org.apache.druid.math.expr
Classes in org.apache.druid.math.expr that implement TypeDescriptor Modifier and Type Class Description classExprTypeBase 'value' types of Druid expression language, allExprmust evaluate to one of these types. -
Uses of TypeDescriptor in org.apache.druid.segment.column
Classes in org.apache.druid.segment.column with type parameters of type TypeDescriptor Modifier and Type Class Description classBaseTypeSignature<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 TypeDescriptor Modifier and Type Class Description classValueTypeThis 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 TypeDescriptor Modifier and Type Field Description protected TypeBaseTypeSignature. typeMethods in org.apache.druid.segment.column with type parameters of type TypeDescriptor Modifier and Type Method Description static <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 TypeDescriptor Modifier and Type Method Description default booleanTypeSignature. anyOf(Type... types)Check 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
-