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(String databaseName, String tableName)Methods in io.trino.plugin.hive with parameters of type Table Modifier and Type Method Description voidHiveMetastoreClosure. alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges)static booleanViewReaderUtil. canDecodeView(Table table)voidHiveMetastoreClosure. createTable(Table table, PrincipalPrivileges principalPrivileges)static ViewReaderUtil.ViewReaderViewReaderUtil. createViewReader(SemiTransactionalHiveMetastore metastore, ConnectorSession session, Table table, TypeManager typeManager, BiFunction<ConnectorSession,SchemaTableName,Optional<CatalogSchemaTableName>> tableRedirectionResolver, MetadataProvider metadataProvider, boolean runHiveViewRunAsInvoker)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)LocationHandleHiveLocationService. forOptimize(SemiTransactionalHiveMetastore metastore, ConnectorSession session, Table table)LocationHandleLocationService. forOptimize(SemiTransactionalHiveMetastore metastore, ConnectorSession session, Table table)voidTableInvalidationCallback. invalidate(Table table)static booleanViewReaderUtil. isHiveOrPrestoView(Table table)static booleanViewReaderUtil. isPrestoView(Table table)voidHiveMetastoreClosure. replaceTable(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 dynamicFilteringWaitTimeout, 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, Optional<Long> maxSplitFileSize) -
Uses of Table in io.trino.plugin.hive.fs
Methods in io.trino.plugin.hive.fs with parameters of type Table Modifier and Type Method Description voidCachingDirectoryLister. invalidate(Table table)voidTransactionScopeCachingDirectoryLister. invalidate(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)org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus>TransactionScopeCachingDirectoryLister. 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>CachingDirectoryLister. listFilesRecursively(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. listFilesRecursively(org.apache.hadoop.fs.FileSystem fs, Table table, org.apache.hadoop.fs.Path path)org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus>TransactionScopeCachingDirectoryLister. listFilesRecursively(org.apache.hadoop.fs.FileSystem fs, Table table, org.apache.hadoop.fs.Path path)Constructors in io.trino.plugin.hive.fs 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) -
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>ForwardingHiveMetastore. getTable(String databaseName, String tableName)Optional<Table>HiveMetastore. getTable(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>SemiTransactionalHiveMetastore. getTable(String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore with parameters of type Table Modifier and Type Method Description voidForwardingHiveMetastore. alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges)default voidHiveMetastore. alterTransactionalTable(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)voidForwardingHiveMetastore. createTable(Table table, PrincipalPrivileges principalPrivileges)voidHiveMetastore. createTable(Table table, PrincipalPrivileges principalPrivileges)voidSemiTransactionalHiveMetastore. createTable(ConnectorSession session, Table table, PrincipalPrivileges principalPrivileges, Optional<org.apache.hadoop.fs.Path> currentPath, Optional<List<String>> files, boolean ignoreExisting, PartitionStatistics statistics, boolean cleanExtraOutputFilesOnCommit)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>ForwardingHiveMetastore. getPartition(Table table, List<String> partitionValues)Optional<Partition>HiveMetastore. getPartition(Table table, List<String> partitionValues)static StringMetastoreUtil. getPartitionLocation(Table table, Optional<Partition> partition)Map<String,Optional<Partition>>ForwardingHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Map<String,Optional<Partition>>HiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Map<String,PartitionStatistics>ForwardingHiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions)Map<String,PartitionStatistics>HiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions)static org.apache.hadoop.hive.metastore.ProtectModeMetastoreUtil. getProtectMode(Table table)PartitionStatisticsForwardingHiveMetastore. getTableStatistics(Table table)PartitionStatisticsHiveMetastore. getTableStatistics(Table table)static booleanMetastoreUtil. isAvroTableWithSchemaSet(Table table)static StringMetastoreUtil. makePartitionName(Table table, Partition partition)voidForwardingHiveMetastore. replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidHiveMetastore. replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)This should only be used if the semantic here is drop and add.voidSemiTransactionalHiveMetastore. replaceTable(String databaseName, String tableName, Table table, PrincipalPrivileges principalPrivileges)voidSemiTransactionalHiveMetastore. setPartitionStatistics(Table table, Map<List<String>,PartitionStatistics> partitionStatisticsMap)voidSemiTransactionalHiveMetastore. setTableStatistics(Table table, PartitionStatistics tableStatistics)voidForwardingHiveMetastore. updatePartitionStatistics(Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update)voidForwardingHiveMetastore. updatePartitionStatistics(Table table, Map<String,Function<PartitionStatistics,PartitionStatistics>> updates)default voidHiveMetastore. updatePartitionStatistics(Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update)voidHiveMetastore. updatePartitionStatistics(Table table, Map<String,Function<PartitionStatistics,PartitionStatistics>> updates)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(String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore.alluxio with parameters of type Table Modifier and Type Method Description voidAlluxioHiveMetastore. createTable(Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>AlluxioHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<String,Optional<Partition>>AlluxioHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Map<String,PartitionStatistics>AlluxioHiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions)PartitionStatisticsAlluxioHiveMetastore. getTableStatistics(Table table)voidAlluxioHiveMetastore. replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidAlluxioHiveMetastore. updatePartitionStatistics(Table table, Map<String,Function<PartitionStatistics,PartitionStatistics>> updates) -
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(String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore.cache with parameters of type Table Modifier and Type Method Description voidCachingHiveMetastore. alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges)voidCachingHiveMetastore. createTable(Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>CachingHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<String,Optional<Partition>>CachingHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Map<String,PartitionStatistics>CachingHiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions)PartitionStatisticsCachingHiveMetastore. getTableStatistics(Table table)voidCachingHiveMetastore. replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidCachingHiveMetastore. updatePartitionStatistics(Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update)voidCachingHiveMetastore. updatePartitionStatistics(Table table, Map<String,Function<PartitionStatistics,PartitionStatistics>> updates) -
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(String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore.file with parameters of type Table Modifier and Type Method Description voidFileHiveMetastore. createTable(Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>FileHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<String,Optional<Partition>>FileHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Map<String,PartitionStatistics>FileHiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions)PartitionStatisticsFileHiveMetastore. getTableStatistics(Table table)voidFileHiveMetastore. replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidFileHiveMetastore. updatePartitionStatistics(Table table, Map<String,Function<PartitionStatistics,PartitionStatistics>> updates)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(String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore.glue with parameters of type Table Modifier and Type Method Description voidGlueHiveMetastore. createTable(Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>GlueHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<String,Optional<Partition>>GlueHiveMetastore. getPartitionsByNames(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(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(Table table)voidGlueHiveMetastore. replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidGlueHiveMetastore. updatePartitionStatistics(Table table, Map<String,Function<PartitionStatistics,PartitionStatistics>> updates)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.recording
Methods in io.trino.plugin.hive.metastore.recording that return types with arguments of type Table Modifier and Type Method Description Optional<Table>HiveMetastoreRecording. getTable(HiveTableName hiveTableName, Supplier<Optional<Table>> valueSupplier)Optional<Table>RecordingHiveMetastore. getTable(String databaseName, String tableName)List<HiveMetastoreRecording.Pair<HiveTableName,Optional<Table>>>HiveMetastoreRecording.Recording. getTables()Methods in io.trino.plugin.hive.metastore.recording with parameters of type Table Modifier and Type Method Description voidRecordingHiveMetastore. createTable(Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>RecordingHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<String,Optional<Partition>>RecordingHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Map<String,PartitionStatistics>RecordingHiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions)PartitionStatisticsRecordingHiveMetastore. getTableStatistics(Table table)voidRecordingHiveMetastore. replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)voidRecordingHiveMetastore. updatePartitionStatistics(Table table, String partitionName, Function<PartitionStatistics,PartitionStatistics> update)voidRecordingHiveMetastore. updatePartitionStatistics(Table table, Map<String,Function<PartitionStatistics,PartitionStatistics>> updates)Method parameters in io.trino.plugin.hive.metastore.recording with type arguments of type Table Modifier and Type Method Description Optional<Table>HiveMetastoreRecording. getTable(HiveTableName hiveTableName, Supplier<Optional<Table>> valueSupplier) -
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(String databaseName, String tableName)Methods in io.trino.plugin.hive.metastore.thrift with parameters of type Table Modifier and Type Method Description voidBridgingHiveMetastore. alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges)voidBridgingHiveMetastore. createTable(Table table, PrincipalPrivileges principalPrivileges)Optional<Partition>BridgingHiveMetastore. getPartition(Table table, List<String> partitionValues)Map<String,Optional<Partition>>BridgingHiveMetastore. getPartitionsByNames(Table table, List<String> partitionNames)Map<String,PartitionStatistics>BridgingHiveMetastore. getPartitionStatistics(Table table, List<Partition> partitions)PartitionStatisticsBridgingHiveMetastore. getTableStatistics(Table table)voidBridgingHiveMetastore. replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges)static org.apache.hadoop.hive.metastore.api.TableThriftMetastoreUtil. toMetastoreApiTable(Table table)static org.apache.hadoop.hive.metastore.api.TableThriftMetastoreUtil. toMetastoreApiTable(Table table, PrincipalPrivileges privileges)voidBridgingHiveMetastore. updatePartitionStatistics(Table table, Map<String,Function<PartitionStatistics,PartitionStatistics>> updates) -
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, String databaseName, String tableName)Optional<Table>SemiTransactionalLegacyAccessControlMetastore. getTable(ConnectorSecurityContext context, 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 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)static booleanHiveUtil. isSparkBucketedTable(Table table)static booleanHiveBucketing. isSupportedBucketing(Table table)
-