Package io.prestosql.type
Class InternalTypeManager
- java.lang.Object
-
- io.prestosql.type.InternalTypeManager
-
- All Implemented Interfaces:
TypeManager
public final class InternalTypeManager extends Object implements TypeManager
-
-
Constructor Summary
Constructors Constructor Description InternalTypeManager(Metadata metadata, TypeOperators typeOperators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
fromSqlType(String type)
Type
getType(TypeId id)
Type
getType(TypeSignature signature)
TypeOperators
getTypeOperators()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.prestosql.spi.type.TypeManager
getParameterizedType
-
-
-
-
Constructor Detail
-
InternalTypeManager
@Inject public InternalTypeManager(Metadata metadata, TypeOperators typeOperators)
-
-
Method Detail
-
getType
public Type getType(TypeSignature signature)
- Specified by:
getType
in interfaceTypeManager
-
fromSqlType
public Type fromSqlType(String type)
- Specified by:
fromSqlType
in interfaceTypeManager
-
getType
public Type getType(TypeId id)
- Specified by:
getType
in interfaceTypeManager
-
getTypeOperators
public TypeOperators getTypeOperators()
- Specified by:
getTypeOperators
in interfaceTypeManager
-
-