Class HiveMetastoreRecording.Recording
- java.lang.Object
-
- io.trino.plugin.hive.metastore.recording.HiveMetastoreRecording.Recording
-
- Enclosing class:
- HiveMetastoreRecording
@Immutable public static class HiveMetastoreRecording.Recording extends Object
-
-
Constructor Summary
-
Method Summary
-
-
-
Constructor Detail
-
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<String,Set<ColumnStatisticType>>> supportedColumnStatistics, 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 Detail
-
getDatabases
public List<HiveMetastoreRecording.Pair<String,Optional<Database>>> getDatabases()
-
getTables
public List<HiveMetastoreRecording.Pair<HiveTableName,Optional<Table>>> getTables()
-
getTablesWithParameter
public List<HiveMetastoreRecording.Pair<TablesWithParameterCacheKey,List<String>>> getTablesWithParameter()
-
getSupportedColumnStatistics
public List<HiveMetastoreRecording.Pair<String,Set<ColumnStatisticType>>> getSupportedColumnStatistics()
-
getTableStatistics
public List<HiveMetastoreRecording.Pair<HiveTableName,PartitionStatistics>> getTableStatistics()
-
getPartitionStatistics
public List<HiveMetastoreRecording.Pair<HivePartitionName,PartitionStatistics>> getPartitionStatistics()
-
getAllTables
public List<HiveMetastoreRecording.Pair<String,List<String>>> getAllTables()
-
getAllViews
public List<HiveMetastoreRecording.Pair<String,List<String>>> getAllViews()
-
getPartitions
public List<HiveMetastoreRecording.Pair<HivePartitionName,Optional<Partition>>> getPartitions()
-
getPartitionNames
public List<HiveMetastoreRecording.Pair<HiveTableName,Optional<List<String>>>> getPartitionNames()
-
getPartitionNamesByParts
public List<HiveMetastoreRecording.Pair<PartitionFilter,Optional<List<String>>>> getPartitionNamesByParts()
-
getPartitionsByNames
public List<HiveMetastoreRecording.Pair<HivePartitionName,Optional<Partition>>> getPartitionsByNames()
-
getTablePrivileges
public List<HiveMetastoreRecording.Pair<UserTableKey,Set<HivePrivilegeInfo>>> getTablePrivileges()
-
getGrantedPrincipals
public List<HiveMetastoreRecording.Pair<String,Set<RoleGrant>>> getGrantedPrincipals()
-
getRoleGrants
public List<HiveMetastoreRecording.Pair<HivePrincipal,Set<RoleGrant>>> getRoleGrants()
-
-