Uses of Interface
org.apache.druid.segment.column.TypeSignature
-
-
Uses of TypeSignature in org.apache.druid.data.input.impl
Methods in org.apache.druid.data.input.impl with parameters of type TypeSignature Modifier and Type Method Description static 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 TypeSignature Modifier and Type Class Description classExpressionTypeThe type system used to process Druid expressions.Methods in org.apache.druid.math.expr with parameters of type TypeSignature Modifier and Type Method Description static 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. -
Uses of TypeSignature in org.apache.druid.query.filter
Methods in org.apache.druid.query.filter with parameters of type TypeSignature Modifier and Type Method Description default DruidObjectPredicate<Object[]>DruidPredicateFactory. makeArrayPredicate(TypeSignature<ValueType> inputType)DruidObjectPredicate<Object[]>EqualityFilter.EqualityPredicateFactory. makeArrayPredicate(TypeSignature<ValueType> arrayType)DruidObjectPredicate<Object[]>NullFilter.NullPredicateFactory. makeArrayPredicate(TypeSignature<ValueType> arrayType) -
Uses of TypeSignature in org.apache.druid.query.filter.vector
Fields in org.apache.druid.query.filter.vector declared as TypeSignature Modifier and Type Field Description protected TypeSignature<ValueType>ArrayVectorValueMatcher. columnTypeConstructors in org.apache.druid.query.filter.vector with parameters of type TypeSignature Constructor Description ArrayVectorValueMatcher(TypeSignature<ValueType> columnType, VectorObjectSelector selector) -
Uses of TypeSignature in org.apache.druid.segment
Methods in org.apache.druid.segment with parameters of type TypeSignature Modifier and Type Method Description static Function<Object,Object>DimensionHandlerUtils. 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 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 TypeSignature Modifier and Type Interface Description interfaceTypeFactory<Type extends TypeSignature<? extends TypeDescriptor>>CreateTypeSignatureof aTypeDescriptor.Subinterfaces of TypeSignature in org.apache.druid.segment.column Modifier and Type Interface Description interfaceColumnCapabilitiesThis 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 TypeSignature Modifier and Type Class Description classBaseTypeSignature<Type extends TypeDescriptor>classColumnCapabilitiesImplclassColumnTypeNative Druid types.Fields in org.apache.druid.segment.column declared as TypeSignature Modifier and Type Field Description protected TypeSignature<Type>BaseTypeSignature. elementTypeMethods in org.apache.druid.segment.column with type parameters of type TypeSignature Modifier and Type Method Description static <T extends TypeSignature<?>>
TTypes. fromString(TypeFactory<T> typeFactory, String typeString)Methods in org.apache.druid.segment.column that return TypeSignature Modifier and Type Method Description TypeSignature<Type>BaseTypeSignature. getElementType()TypeSignature<ValueType>ColumnCapabilitiesImpl. getElementType()TypeSignature<Type>TypeSignature. getElementType()Methods in org.apache.druid.segment.column with parameters of type TypeSignature Modifier and Type Method Description static voidTypeStrategies. checkMaxSize(int available, int maxSizeBytes, TypeSignature<?> signature)static ColumnCapabilitiesImplColumnCapabilitiesImpl. createSimpleArrayColumnCapabilities(TypeSignature<ValueType> valueType)static 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)ColumnCapabilitiesImplColumnCapabilitiesImpl. setType(TypeSignature<ValueType> type)Constructors in org.apache.druid.segment.column with parameters of type TypeSignature Constructor Description ArrayTypeStrategy(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 TypeSignature Modifier and Type Method Description BitmapColumnIndexIndexedUtf8ValueIndexes. forSortedValues(List<?> sortedValues, TypeSignature<ValueType> matchValueType)BitmapColumnIndexIndexedUtf8ValueIndexes. 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 TypeSignature Modifier and Type Method Description BitmapColumnIndexArrayElementIndexes. containsValue(Object value, TypeSignature<ValueType> valueType)Get theImmutableBitmapcorresponding to rows with array elements matching the supplied value.BitmapColumnIndexValueSetIndexes. forSortedValues(List<?> sortedValues, TypeSignature<ValueType> matchValueType)Get the wrappedImmutableBitmapcorresponding to the specified set of values (if they are contained in the underlying column).BitmapColumnIndexValueIndexes. forValue(Object value, TypeSignature<ValueType> valueType)Get aBitmapColumnIndexwhich can compute theImmutableBitmapcorresponding to rows matching the supplied value.
-