Uses of Class
io.trino.plugin.hive.metastore.Table
-
-
Uses of Table in io.trino.plugin.hive
Methods in io.trino.plugin.hive that return types with arguments of type Table Modifier and Type Method Description Optional<Table>HiveMetastoreClosure. getTable(HiveIdentity identity, String databaseName, String tableName)Methods in io.trino.plugin.hive with parameters of type Table Modifier and Type Method Description voidHiveMetastoreClosure. alterTransactionalTable(HiveIdentity identity, Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges)static booleanViewReaderUtil. canDecodeView(Table table)voidHiveMetastoreClosure. createTable(HiveIdentity identity, Table table, PrincipalPrivileges principalPrivileges)static ViewReaderUtil.ViewReaderViewReaderUtil. createViewReader(SemiTransactionalHiveMetastore metastore, ConnectorSession session, Table table, TypeManager typemanager)ConnectorViewDefinitionLegacyHiveViewReader. decodeViewData(String viewData, Table table, CatalogName catalogName)ConnectorViewDefinitionViewReaderUtil.HiveViewReader. decodeViewData(String viewSql, Table table, CatalogName catalogName)ConnectorViewDefinitionViewReaderUtil.PrestoViewReader. decodeViewData(String viewData, Table table, CatalogName catalogName)ConnectorViewDefinitionViewReaderUtil.ViewReader. decodeViewData(String viewData, Table table, CatalogName catalogName)LocationHandleHiveLocationService. forExistingTable(SemiTransactionalHiveMetastore metastore, ConnectorSession session, Table table)LocationHandleLocationService. forExistingTable(SemiTransactionalHiveMetastore metastore, ConnectorSession session, Table table)static booleanViewReaderUtil. isHiveOrPrestoView(Table table)static booleanViewReaderUtil. isPrestoView(Table table)org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus>CachingDirectoryLister. list(org.apache.hadoop.fs.FileSystem fs, Table table, org.apache.hadoop.fs.Path path)org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus>DirectoryLister. list(org.apache.hadoop.fs.FileSystem fs, Table table, org.apache.hadoop.fs.Path path)voidHiveMetastoreClosure. replaceTable(HiveIdentity identity, String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)Constructors in io.trino.plugin.hive with parameters of type Table Constructor Description BackgroundHiveSplitLoader(Table table, AcidTransaction transaction, Iterable<HivePartitionMetadata> partitions, TupleDomain<? extends ColumnHandle> compactEffectivePredicate, DynamicFilter dynamicFilter, io.airlift.units.Duration dynamicFilteringProbeBlockingTimeout, TypeManager typeManager, Optional<BackgroundHiveSplitLoader.BucketSplitInfo> tableBucketInfo, ConnectorSession session, HdfsEnvironment hdfsEnvironment, NamenodeStats namenodeStats, DirectoryLister directoryLister, Executor executor, int loaderConcurrency, boolean recursiveDirWalkerEnabled, boolean ignoreAbsentPartitions, boolean optimizeSymlinkListing, Optional<org.apache.hadoop.hive.common.ValidWriteIdList> validWriteIds) -
Uses of Table in io.trino.plugin.hive.metastore
Methods in io.trino.plugin.hive.metastore that return Table Modifier and Type Method Description TableTable.Builder. build()Methods in io.trino.plugin.hive.metastore that return types with arguments of type Table Modifier and Type Method Description Optional<Table>HiveMetastore. getTable(HiveIdentity identity, String databaseName, String tableName)Optional<Table>HivePageSinkMetadata. getTable()This method returns empty when the table has not been created yet (i.e.Optional<Table>HivePageSinkMetadataProvider. getTable()Optional<Table>RecordingHiveMetastore. getTable(HiveIdentity identity, String databaseName, String tableName)Optional<Table>SemiTransactionalHiveMetastore. getTable(HiveIdentity identity, String databaseName, String tableName)List<RecordingHiveMetastore.Pair<HiveTableName,Optional<Table>>>RecordingHiveMetastore.Recording. getTables()Methods in io.trino.plugin.hive.metastore with parameters of type Table Modifier and Type Method Description default voidHiveMetastore. alterTransactionalTable(HiveIdentity identity, Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges)AcidTransactionSemiTransactionalHiveMetastore. beginDelete(ConnectorSession session, Table table)AcidTransactionSemiTransactionalHiveMetastore. beginInsert(ConnectorSession session, Table table)AcidTransactionSemiTransactionalHiveMetastore. beginUpdate(ConnectorSession session, Table table, HiveUpdateProcessor updateProcessor)static Table.BuilderTable. builder(Table table)voidHiveMetastore. createTable(HiveIdentity identity, Table table, PrincipalPrivileges principalPrivileges)voidRecordingHiveMetastore. createTable(HiveIdentity identity, Table table, PrincipalPrivileges principalPrivileges)voidSemiTransactionalHiveMetastore. createTable(ConnectorSession session, Table table, PrincipalPrivileges principalPrivileges, Optional<org.apache.hadoop.fs.Path> currentPath, boolean ignoreExisting, PartitionStatistics statistics)currentLocationneeds to be supplied if a writePath exists for the table.static PropertiesMetastoreUtil. getHiveSchema(Partition partition, Table table)static PropertiesMetastoreUtil. getHiveSchema(Table table)Optional<Partition>HiveMetastore. getPartition(HiveIdentity identity, Table table, List<String> partitionValues)Optional<Partition>RecordingHiveMetastore. getPartition(HiveIdentity identity, Table table, List<String> partitionValues)static StringMetastoreUtil. getPartitionLocation(Table table, Optional<Partition> partition)Map<String,Optional<Partition>>HiveMetastore. getPartitionsByNames(HiveIdentity identity, Table table, List<String> partitionNames)Map<String,Optional<Partition>>RecordingHiveMetastore. getPartitionsByNames(HiveIdentity identity, Table table, List<String> partitionNames)Map<String,PartitionStatistics>HiveMetastore. getPartitionStatistics(HiveIdentity identity, Table table, List<Partition> partitions)Map<String,PartitionStatistics>RecordingHiveMetastore. getPartitionStatistics(HiveIdentity identity, Table table, List<Partition> partitions)static org.apache.hadoop.hive.metastore.ProtectModeMetastoreUtil. getProtectMode(Table table)PartitionStatisticsHiveMetastore. getTableStatistics(HiveIdentity identity, Table table)PartitionStatisticsRecordingHiveMetastore. getTableStatistics(HiveIdentity identity, Table table)static booleanMetastoreUtil. isAvroTableWithSchemaSet(Table table)static StringMetastoreUtil. makePartitionName(Table table, Partition partition)voidHiveMetastore. replaceTable(HiveIdentity identity, String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)This should only be used if the semantic here is drop and add.voidRecordingHiveMetastore. replaceTable(HiveIdentity identity, String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidSemiTransactionalHiveMetastore. replaceTable(HiveIdentity identity, String databaseName, String tableName, Table table, PrincipalPrivileges principalPrivileges)voidSemiTransactionalHiveMetastore. setPartitionStatistics(HiveIdentity identity, Table table, Map<List<String>,PartitionStatistics> partitionStatisticsMap)voidSemiTransactionalHiveMetastore. setTableStatistics(HiveIdentity identity, Table table, PartitionStatistics tableStatistics)voidHiveMetastore. updatePartitionStatistics(HiveIdentity identity, Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update)voidRecordingHiveMetastore. updatePartitionStatistics(HiveIdentity identity, Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update)Method parameters in io.trino.plugin.hive.metastore with type arguments of type Table Modifier and Type Method Description static HivePageSinkMetadataHivePageSinkMetadata. deserialize(SchemaTableName schemaTableName, Optional<Table> table, List<HivePageSinkMetadata.JsonSerializableEntry<List<String>,Optional<Partition>>> modifiedPartitions)Constructor parameters in io.trino.plugin.hive.metastore with type arguments of type Table Constructor Description HivePageSinkMetadata(SchemaTableName schemaTableName, Optional<Table> table, Map<List<String>,Optional<Partition>> modifiedPartitions) -
Uses of Table in io.trino.plugin.hive.metastore.alluxio
Methods in io.trino.plugin.hive.metastore.alluxio that return Table Modifier and Type Method Description static TableProtoUtils. fromProto(alluxio.grpc.table.TableInfo table)Methods in io.trino.plugin.hive.metastore.alluxio that return types with arguments of type Table Modifier and Type Method Description Optional<Table>AlluxioHiveMetastore. getTable(HiveIdentity identity, String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore.alluxio with parameters of type Table Modifier and Type Method Description voidAlluxioHiveMetastore. createTable(HiveIdentity identity, Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>AlluxioHiveMetastore. getPartition(HiveIdentity identity, Table table, List<String> partitionValues)Map<String,Optional<Partition>>AlluxioHiveMetastore. getPartitionsByNames(HiveIdentity identity, Table table, List<String> partitionNames)Map<String,PartitionStatistics>AlluxioHiveMetastore. getPartitionStatistics(HiveIdentity identity, Table table, List<Partition> partitions)PartitionStatisticsAlluxioHiveMetastore. getTableStatistics(HiveIdentity identity, Table table)voidAlluxioHiveMetastore. replaceTable(HiveIdentity identity, String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidAlluxioHiveMetastore. updatePartitionStatistics(HiveIdentity identity, Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update) -
Uses of Table in io.trino.plugin.hive.metastore.cache
Methods in io.trino.plugin.hive.metastore.cache that return types with arguments of type Table Modifier and Type Method Description Optional<Table>CachingHiveMetastore. getTable(HiveIdentity identity, String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore.cache with parameters of type Table Modifier and Type Method Description voidCachingHiveMetastore. alterTransactionalTable(HiveIdentity identity, Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges)voidCachingHiveMetastore. createTable(HiveIdentity identity, Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>CachingHiveMetastore. getPartition(HiveIdentity identity, Table table, List<String> partitionValues)Map<String,Optional<Partition>>CachingHiveMetastore. getPartitionsByNames(HiveIdentity identity, Table table, List<String> partitionNames)Map<String,PartitionStatistics>CachingHiveMetastore. getPartitionStatistics(HiveIdentity identity, Table table, List<Partition> partitions)PartitionStatisticsCachingHiveMetastore. getTableStatistics(HiveIdentity identity, Table table)voidCachingHiveMetastore. replaceTable(HiveIdentity identity, String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidCachingHiveMetastore. updatePartitionStatistics(HiveIdentity identity, Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update) -
Uses of Table in io.trino.plugin.hive.metastore.file
Methods in io.trino.plugin.hive.metastore.file that return Table Modifier and Type Method Description TableTableMetadata. toTable(String databaseName, String tableName, String location)Methods in io.trino.plugin.hive.metastore.file that return types with arguments of type Table Modifier and Type Method Description Optional<Table>FileHiveMetastore. getTable(HiveIdentity identity, String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore.file with parameters of type Table Modifier and Type Method Description voidFileHiveMetastore. createTable(HiveIdentity identity, Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>FileHiveMetastore. getPartition(HiveIdentity identity, Table table, List<String> partitionValues)Map<String,Optional<Partition>>FileHiveMetastore. getPartitionsByNames(HiveIdentity identity, Table table, List<String> partitionNames)Map<String,PartitionStatistics>FileHiveMetastore. getPartitionStatistics(HiveIdentity identity, Table table, List<Partition> partitions)PartitionStatisticsFileHiveMetastore. getTableStatistics(HiveIdentity identity, Table table)voidFileHiveMetastore. replaceTable(HiveIdentity identity, String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidFileHiveMetastore. updatePartitionStatistics(HiveIdentity identity, Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update)Constructors in io.trino.plugin.hive.metastore.file with parameters of type Table Constructor Description PartitionMetadata(Table table, PartitionWithStatistics partitionWithStatistics)TableMetadata(String currentVersion, Table table) -
Uses of Table in io.trino.plugin.hive.metastore.glue
Methods in io.trino.plugin.hive.metastore.glue that return types with arguments of type Table Modifier and Type Method Description Optional<Table>GlueHiveMetastore. getTable(HiveIdentity identity, String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore.glue with parameters of type Table Modifier and Type Method Description voidGlueHiveMetastore. createTable(HiveIdentity identity, Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>GlueHiveMetastore. getPartition(HiveIdentity identity, Table table, List<String> partitionValues)Map<String,Optional<Partition>>GlueHiveMetastore. getPartitionsByNames(HiveIdentity identity, Table table, List<String> partitionNames)Ex: Partition keys = ['a', 'b'] Partition names = ['a=1/b=2', 'a=2/b=2']Map<String,PartitionStatistics>GlueHiveMetastore. getPartitionStatistics(HiveIdentity identity, Table table, List<Partition> partitions)Map<String,HiveColumnStatistics>DefaultGlueColumnStatisticsProvider. getTableColumnStatistics(Table table)Map<String,HiveColumnStatistics>DisabledGlueColumnStatisticsProvider. getTableColumnStatistics(Table table)Map<String,HiveColumnStatistics>GlueColumnStatisticsProvider. getTableColumnStatistics(Table table)PartitionStatisticsGlueHiveMetastore. getTableStatistics(HiveIdentity identity, Table table)voidGlueHiveMetastore. replaceTable(HiveIdentity identity, String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidGlueHiveMetastore. updatePartitionStatistics(HiveIdentity identity, Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update)voidDefaultGlueColumnStatisticsProvider. updateTableColumnStatistics(Table table, Map<String,HiveColumnStatistics> updatedTableColumnStatistics)voidDisabledGlueColumnStatisticsProvider. updateTableColumnStatistics(Table table, Map<String,HiveColumnStatistics> columnStatistics)voidGlueColumnStatisticsProvider. updateTableColumnStatistics(Table table, Map<String,HiveColumnStatistics> columnStatistics) -
Uses of Table in io.trino.plugin.hive.metastore.glue.converter
Methods in io.trino.plugin.hive.metastore.glue.converter that return Table Modifier and Type Method Description static TableGlueToTrinoConverter. convertTable(com.amazonaws.services.glue.model.Table glueTable, String dbName)Methods in io.trino.plugin.hive.metastore.glue.converter with parameters of type Table Modifier and Type Method Description static com.amazonaws.services.glue.model.TableInputGlueInputConverter. convertTable(Table table)static List<com.amazonaws.services.glue.model.ColumnStatistics>GlueStatConverter. toGlueColumnStatistics(Table table, Map<String,HiveColumnStatistics> trinoColumnStats, OptionalLong rowCount)Constructors in io.trino.plugin.hive.metastore.glue.converter with parameters of type Table Constructor Description GluePartitionConverter(Table table) -
Uses of Table in io.trino.plugin.hive.metastore.thrift
Methods in io.trino.plugin.hive.metastore.thrift that return Table Modifier and Type Method Description static TableThriftMetastoreUtil. fromMetastoreApiTable(org.apache.hadoop.hive.metastore.api.Table table)static TableThriftMetastoreUtil. fromMetastoreApiTable(org.apache.hadoop.hive.metastore.api.Table table, List<org.apache.hadoop.hive.metastore.api.FieldSchema> schema)Methods in io.trino.plugin.hive.metastore.thrift that return types with arguments of type Table Modifier and Type Method Description Optional<Table>BridgingHiveMetastore. getTable(HiveIdentity identity, String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore.thrift with parameters of type Table Modifier and Type Method Description voidBridgingHiveMetastore. alterTransactionalTable(HiveIdentity identity, Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges)voidBridgingHiveMetastore. createTable(HiveIdentity identity, Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>BridgingHiveMetastore. getPartition(HiveIdentity identity, Table table, List<String> partitionValues)Map<String,Optional<Partition>>BridgingHiveMetastore. getPartitionsByNames(HiveIdentity identity, Table table, List<String> partitionNames)Map<String,PartitionStatistics>BridgingHiveMetastore. getPartitionStatistics(HiveIdentity identity, Table table, List<Partition> partitions)PartitionStatisticsBridgingHiveMetastore. getTableStatistics(HiveIdentity identity, Table table)voidBridgingHiveMetastore. replaceTable(HiveIdentity identity, String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)static org.apache.hadoop.hive.metastore.api.TableThriftMetastoreUtil. toMetastoreApiTable(Table table, PrincipalPrivileges privileges)voidBridgingHiveMetastore. updatePartitionStatistics(HiveIdentity identity, Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update) -
Uses of Table in io.trino.plugin.hive.s3select
Methods in io.trino.plugin.hive.s3select with parameters of type Table Modifier and Type Method Description static booleanS3SelectPushdown. shouldEnablePushdownForTable(ConnectorSession session, Table table, String path, Optional<Partition> optionalPartition) -
Uses of Table in io.trino.plugin.hive.security
Methods in io.trino.plugin.hive.security that return types with arguments of type Table Modifier and Type Method Description Optional<Table>LegacyAccessControlMetastore. getTable(ConnectorSecurityContext context, HiveIdentity identity, String databaseName, String tableName)Optional<Table>SemiTransactionalLegacyAccessControlMetastore. getTable(ConnectorSecurityContext context, HiveIdentity identity, String databaseName, String tableName) -
Uses of Table in io.trino.plugin.hive.util
Methods in io.trino.plugin.hive.util with parameters of type Table Modifier and Type Method Description static booleanHiveBucketing. bucketedOnTimestamp(HiveBucketProperty bucketProperty, Table table)static voidHiveWriteUtils. checkTableIsWritable(Table table, boolean writesToNonManagedTablesEnabled)static Optional<HiveBucketHandle>HiveBucketing. getHiveBucketHandle(ConnectorSession session, Table table, TypeManager typeManager)static List<HiveColumnHandle>HiveUtil. getPartitionKeyColumnHandles(Table table, TypeManager typeManager)static List<HiveColumnHandle>HiveUtil. getRegularColumnHandles(Table table, TypeManager typeManager, HiveTimestampPrecision timestampPrecision)static List<HiveColumnHandle>HiveUtil. hiveColumnHandles(Table table, TypeManager typeManager, HiveTimestampPrecision timestampPrecision)static booleanHiveUtil. isDeltaLakeTable(Table table)static booleanHiveUtil. isIcebergTable(Table table)Constructors in io.trino.plugin.hive.util with parameters of type Table Constructor Description HiveFileIterator(Table table, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fileSystem, DirectoryLister directoryLister, NamenodeStats namenodeStats, HiveFileIterator.NestedDirectoryPolicy nestedDirectoryPolicy, boolean ignoreAbsentPartitions)
-