Package org.apache.druid.segment.column
Interface TypeFactory<Type extends TypeSignature<? extends TypeDescriptor>>
-
- All Known Implementing Classes:
ColumnTypeFactory
,ExpressionTypeFactory
public interface TypeFactory<Type extends TypeSignature<? extends TypeDescriptor>>
CreateTypeSignature
of aTypeDescriptor
. Useful for creating types fromTypeSignature.asTypeString()
} or converting betweenTypeSignature
of differentTypeDescriptor
implementations. Implementations also offer object interning for arbitrary array and complex types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TypeStrategy<T>
getTypeStrategy(Type type)
Type
ofArray(Type elementType)
Type
ofComplex(String complexTypeName)
Type
ofDouble()
Type
ofFloat()
Type
ofLong()
Type
ofString()
-