Class HiveMetastoreRecording.Recording
java.lang.Object
io.trino.plugin.hive.metastore.recording.HiveMetastoreRecording.Recording
- Enclosing class:
- HiveMetastoreRecording
-
Constructor Summary
ConstructorsConstructorDescriptionRecording(Optional<List<String>> allDatabases, Optional<Set<String>> allRoles, List<HiveMetastoreRecording.Pair<String, Optional<Database>>> databases, List<HiveMetastoreRecording.Pair<HiveTableName, Optional<Table>>> tables, List<HiveMetastoreRecording.Pair<HiveTableName, PartitionStatistics>> tableStatistics, List<HiveMetastoreRecording.Pair<HivePartitionName, PartitionStatistics>> partitionStatistics, List<HiveMetastoreRecording.Pair<String, List<String>>> allTables, List<HiveMetastoreRecording.Pair<TablesWithParameterCacheKey, List<String>>> tablesWithParameter, List<HiveMetastoreRecording.Pair<String, List<String>>> allViews, List<HiveMetastoreRecording.Pair<HivePartitionName, Optional<Partition>>> partitions, List<HiveMetastoreRecording.Pair<HiveTableName, Optional<List<String>>>> partitionNames, List<HiveMetastoreRecording.Pair<PartitionFilter, Optional<List<String>>>> partitionNamesByParts, List<HiveMetastoreRecording.Pair<HivePartitionName, Optional<Partition>>> partitionsByNames, List<HiveMetastoreRecording.Pair<UserTableKey, Set<HivePrivilegeInfo>>> tablePrivileges, List<HiveMetastoreRecording.Pair<HivePrincipal, Set<RoleGrant>>> roleGrants, List<HiveMetastoreRecording.Pair<String, Set<RoleGrant>>> grantedPrincipals) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
Recording
public Recording(Optional<List<String>> allDatabases, Optional<Set<String>> allRoles, List<HiveMetastoreRecording.Pair<String, Optional<Database>>> databases, List<HiveMetastoreRecording.Pair<HiveTableName, Optional<Table>>> tables, List<HiveMetastoreRecording.Pair<HiveTableName, PartitionStatistics>> tableStatistics, List<HiveMetastoreRecording.Pair<HivePartitionName, PartitionStatistics>> partitionStatistics, List<HiveMetastoreRecording.Pair<String, List<String>>> allTables, List<HiveMetastoreRecording.Pair<TablesWithParameterCacheKey, List<String>>> tablesWithParameter, List<HiveMetastoreRecording.Pair<String, List<String>>> allViews, List<HiveMetastoreRecording.Pair<HivePartitionName, Optional<Partition>>> partitions, List<HiveMetastoreRecording.Pair<HiveTableName, Optional<List<String>>>> partitionNames, List<HiveMetastoreRecording.Pair<PartitionFilter, Optional<List<String>>>> partitionNamesByParts, List<HiveMetastoreRecording.Pair<HivePartitionName, Optional<Partition>>> partitionsByNames, List<HiveMetastoreRecording.Pair<UserTableKey, Set<HivePrivilegeInfo>>> tablePrivileges, List<HiveMetastoreRecording.Pair<HivePrincipal, Set<RoleGrant>>> roleGrants, List<HiveMetastoreRecording.Pair<String, Set<RoleGrant>>> grantedPrincipals)
-
-
Method Details
-
getAllDatabases
-
getAllRoles
-
getDatabases
-
getTables
-
getTablesWithParameter
public List<HiveMetastoreRecording.Pair<TablesWithParameterCacheKey,List<String>>> getTablesWithParameter() -
getTableStatistics
-
getPartitionStatistics
public List<HiveMetastoreRecording.Pair<HivePartitionName,PartitionStatistics>> getPartitionStatistics() -
getAllTables
-
getAllViews
-
getPartitions
-
getPartitionNames
-
getPartitionNamesByParts
public List<HiveMetastoreRecording.Pair<PartitionFilter,Optional<List<String>>>> getPartitionNamesByParts() -
getPartitionsByNames
public List<HiveMetastoreRecording.Pair<HivePartitionName,Optional<Partition>>> getPartitionsByNames() -
getTablePrivileges
-
getGrantedPrincipals
-
getRoleGrants
-