Package io.trino.spi.connector
Class CatalogHandle
java.lang.Object
io.trino.spi.connector.CatalogHandle
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic CatalogHandlecreateInformationSchemaCatalogHandle(CatalogHandle catalogHandle) static CatalogHandlecreateRootCatalogHandle(String catalogName, CatalogHandle.CatalogVersion version) static CatalogHandlecreateSystemTablesCatalogHandle(CatalogHandle catalogHandle) booleanstatic CatalogHandleGets the actual raw catalog name for this handle.getId()Gets the unique identifier of this catalog.longgetType()inthashCode()toString()
-
Method Details
-
createRootCatalogHandle
public static CatalogHandle createRootCatalogHandle(String catalogName, CatalogHandle.CatalogVersion version) -
createInformationSchemaCatalogHandle
-
createSystemTablesCatalogHandle
-
fromId
-
getId
Gets the unique identifier of this catalog. -
getCatalogName
Gets the actual raw catalog name for this handle. This method should only be used when there are no other ways to access the catalog name. -
getType
-
getVersion
-
getRootCatalogHandle
-
equals
-
hashCode
public int hashCode() -
toString
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
-