Package io.trino.spi.connector
Class CatalogHandle.CatalogVersion
java.lang.Object
io.trino.spi.connector.CatalogHandle.CatalogVersion
- All Implemented Interfaces:
Comparable<CatalogHandle.CatalogVersion>
- Enclosing class:
- CatalogHandle
@Experimental(eta="2023-02-01")
public static final class CatalogHandle.CatalogVersion
extends Object
implements Comparable<CatalogHandle.CatalogVersion>
-
Constructor Details
-
CatalogVersion
Version of a catalog. The string maybe compared lexicographically using ASCII, and to determine which catalog version is newer.
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<CatalogHandle.CatalogVersion>
-
equals
-
hashCode
public int hashCode() -
toString
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
-