Package io.trino.plugin.hive.metastore
Class UserTableKey
- java.lang.Object
-
- io.trino.plugin.hive.metastore.UserTableKey
-
@Immutable public class UserTableKey extends Object
-
-
Constructor Summary
Constructors Constructor Description UserTableKey(Optional<HivePrincipal> principal, String database, String table, String owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDatabase()StringgetOwner()Optional<HivePrincipal>getPrincipal()StringgetTable()inthashCode()booleanmatches(String databaseName, String tableName)StringtoString()
-
-
-
Constructor Detail
-
UserTableKey
public UserTableKey(Optional<HivePrincipal> principal, String database, String table, String owner)
-
-
Method Detail
-
getPrincipal
public Optional<HivePrincipal> getPrincipal()
-
getDatabase
public String getDatabase()
-
getTable
public String getTable()
-
getOwner
public String getOwner()
-
-