Package io.trino.type
Class InternalTypeManager
- java.lang.Object
-
- io.trino.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 TypefromSqlType(String type)TypegetType(TypeId id)TypegetType(TypeSignature signature)TypeOperatorsgetTypeOperators()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.spi.type.TypeManager
getParameterizedType
-
-
-
-
Constructor Detail
-
InternalTypeManager
@Inject public InternalTypeManager(Metadata metadata, TypeOperators typeOperators)
-
-
Method Detail
-
getType
public Type getType(TypeSignature signature)
- Specified by:
getTypein interfaceTypeManager
-
fromSqlType
public Type fromSqlType(String type)
- Specified by:
fromSqlTypein interfaceTypeManager
-
getType
public Type getType(TypeId id)
- Specified by:
getTypein interfaceTypeManager
-
getTypeOperators
public TypeOperators getTypeOperators()
- Specified by:
getTypeOperatorsin interfaceTypeManager
-
-