Uses of Class
io.trino.plugin.hive.metastore.Table
Packages that use Table
Package
Description
-
Uses of Table in io.trino.plugin.hive
Methods in io.trino.plugin.hive that return types with arguments of type TableModifier and TypeMethodDescriptionMethods in io.trino.plugin.hive with parameters of type TableModifier and TypeMethodDescriptionvoidHiveMetastoreClosure.alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges) 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, HiveTimestampPrecision hiveViewsTimestampPrecision) LegacyHiveViewReader.decodeViewData(String viewData, Table table, CatalogName catalogName) ViewReaderUtil.HiveViewReader.decodeViewData(String viewSql, Table table, CatalogName catalogName) ViewReaderUtil.PrestoViewReader.decodeViewData(String viewData, Table table, CatalogName catalogName) ViewReaderUtil.ViewReader.decodeViewData(String viewData, Table table, CatalogName catalogName) HiveLocationService.forExistingTable(SemiTransactionalHiveMetastore metastore, ConnectorSession session, Table table) LocationService.forExistingTable(SemiTransactionalHiveMetastore metastore, ConnectorSession session, Table table) HiveLocationService.forOptimize(SemiTransactionalHiveMetastore metastore, ConnectorSession session, Table table) LocationService.forOptimize(SemiTransactionalHiveMetastore metastore, ConnectorSession session, Table table) voidTableInvalidationCallback.invalidate(Table table) static booleanViewReaderUtil.isHiveView(Table table) static booleanViewReaderUtil.isSomeKindOfAView(Table table) Returns true if table represents a Hive view, Trino/Presto view, materialized view or anything else that gets registered using table type "VIRTUAL_VIEW".static booleanViewReaderUtil.isTrinoMaterializedView(Table table) static booleanViewReaderUtil.isTrinoView(Table table) Returns true when the table represents a "Trino view" (AKA "presto view").voidHiveMetastoreClosure.replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges) Constructors in io.trino.plugin.hive with parameters of type TableModifierConstructorDescriptionBackgroundHiveSplitLoader(Table table, Iterator<HivePartitionMetadata> partitions, TupleDomain<? extends ColumnHandle> compactEffectivePredicate, DynamicFilter dynamicFilter, io.airlift.units.Duration dynamicFilteringWaitTimeout, TypeManager typeManager, Optional<BackgroundHiveSplitLoader.BucketSplitInfo> tableBucketInfo, ConnectorSession session, TrinoFileSystemFactory fileSystemFactory, HdfsEnvironment hdfsEnvironment, HdfsNamenodeStats hdfsNamenodeStats, DirectoryLister directoryLister, Executor executor, int loaderConcurrency, boolean recursiveDirWalkerEnabled, boolean ignoreAbsentPartitions, boolean optimizeSymlinkListing, Optional<ValidWriteIdList> validWriteIds, Optional<Long> maxSplitFileSize, int maxPartitions) -
Uses of Table in io.trino.plugin.hive.aws.athena
Methods in io.trino.plugin.hive.aws.athena with parameters of type TableModifier and TypeMethodDescriptionPartitionProjectionService.getPartitionProjectionFromTable(Table table) PartitionProjectionService.getPartitionProjectionTrinoColumnProperties(Table table, String columnName) PartitionProjectionService.getPartitionProjectionTrinoTableProperties(Table table) PartitionProjection.getProjectedPartitionsByNames(Table table, List<String> partitionNames) -
Uses of Table in io.trino.plugin.hive.fs
Methods in io.trino.plugin.hive.fs with parameters of type TableModifier and TypeMethodDescriptionvoidCachingDirectoryLister.invalidate(Table table) voidTransactionScopeCachingDirectoryLister.invalidate(Table table) CachingDirectoryLister.listFilesRecursively(TrinoFileSystem fs, Table table, Location location) DirectoryLister.listFilesRecursively(TrinoFileSystem fs, Table table, Location location) TransactionScopeCachingDirectoryLister.listFilesRecursively(TrinoFileSystem fs, Table table, Location location) Constructors in io.trino.plugin.hive.fs with parameters of type TableModifierConstructorDescriptionHiveFileIterator(Table table, Location location, TrinoFileSystem fileSystem, DirectoryLister directoryLister, HdfsNamenodeStats namenodeStats, HiveFileIterator.NestedDirectoryPolicy nestedDirectoryPolicy) -
Uses of Table in io.trino.plugin.hive.metastore
Methods in io.trino.plugin.hive.metastore that return TableModifier and TypeMethodDescriptionTable.Builder.build()Table.withSelectedDataColumnsOnly(Set<String> columns) Methods in io.trino.plugin.hive.metastore that return types with arguments of type TableModifier and TypeMethodDescriptionHivePageSinkMetadata.getTable()This method returns empty when the table has not been created yet (i.e.HivePageSinkMetadataProvider.getTable()Methods in io.trino.plugin.hive.metastore with parameters of type TableModifier and TypeMethodDescriptionvoidForwardingHiveMetastore.alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges) default voidHiveMetastore.alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges) SemiTransactionalHiveMetastore.beginInsert(ConnectorSession session, Table table) SemiTransactionalHiveMetastore.beginMerge(ConnectorSession session, Table table) static Table.BuildervoidForwardingHiveMetastore.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) ForwardingHiveMetastore.getPartition(Table table, List<String> partitionValues) HiveMetastore.getPartition(Table table, List<String> partitionValues) static StringMetastoreUtil.getPartitionLocation(Table table, Optional<Partition> partition) ForwardingHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) HiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) ForwardingHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) HiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) static ProtectModeMetastoreUtil.getProtectMode(Table table) ForwardingHiveMetastore.getTableStatistics(Table table) HiveMetastore.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 TableModifier and TypeMethodDescriptionstatic 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 TableModifierConstructorDescriptionHivePageSinkMetadata(SchemaTableName schemaTableName, Optional<Table> table, Map<List<String>, Optional<Partition>> modifiedPartitions) -
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 TableModifier and TypeMethodDescriptionMethods in io.trino.plugin.hive.metastore.cache with parameters of type TableModifier and TypeMethodDescriptionvoidCachingHiveMetastore.alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges) voidCachingHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) CachingHiveMetastore.getPartition(Table table, List<String> partitionValues) CachingHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) CachingHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) The method will cache and return columns specified in thegetDataColumns()but may return more if other columns are already cached for a given partition.CachingHiveMetastore.getTableStatistics(Table table) The method will cache and return columns specified in thegetDataColumns()but may return more if other columns are already cached.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 TableModifier and TypeMethodDescriptionMethods in io.trino.plugin.hive.metastore.file that return types with arguments of type TableModifier and TypeMethodDescriptionMethods in io.trino.plugin.hive.metastore.file with parameters of type TableModifier and TypeMethodDescriptionvoidFileHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) FileHiveMetastore.getPartition(Table table, List<String> partitionValues) FileHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) FileHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) FileHiveMetastore.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 TableModifierConstructorDescriptionPartitionMetadata(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 TableModifier and TypeMethodDescriptionMethods in io.trino.plugin.hive.metastore.glue with parameters of type TableModifier and TypeMethodDescriptionvoidGlueHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) GlueHiveMetastore.getPartition(Table table, List<String> partitionValues) GlueHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) Ex: Partition keys = ['a', 'b'] Partition names = ['a=1/b=2', 'a=2/b=2']GlueHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) DefaultGlueColumnStatisticsProvider.getTableColumnStatistics(Table table) DisabledGlueColumnStatisticsProvider.getTableColumnStatistics(Table table) GlueColumnStatisticsProvider.getTableColumnStatistics(Table table) GlueHiveMetastore.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 TableModifier and TypeMethodDescriptionstatic TableGlueToTrinoConverter.convertTable(com.amazonaws.services.glue.model.Table glueTable, String dbName) Methods in io.trino.plugin.hive.metastore.glue.converter with parameters of type TableModifier and TypeMethodDescriptionstatic 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 -
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 TableModifier and TypeMethodDescriptionHiveMetastoreRecording.getTable(HiveTableName hiveTableName, Supplier<Optional<Table>> valueSupplier) HiveMetastoreRecording.Recording.getTables()Methods in io.trino.plugin.hive.metastore.recording with parameters of type TableModifier and TypeMethodDescriptionvoidRecordingHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) RecordingHiveMetastore.getPartition(Table table, List<String> partitionValues) RecordingHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) RecordingHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) RecordingHiveMetastore.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 -
Uses of Table in io.trino.plugin.hive.metastore.thrift
Methods in io.trino.plugin.hive.metastore.thrift that return TableModifier and TypeMethodDescriptionstatic TableThriftMetastoreUtil.fromMetastoreApiTable(io.trino.hive.thrift.metastore.Table table) static TableThriftMetastoreUtil.fromMetastoreApiTable(io.trino.hive.thrift.metastore.Table table, List<io.trino.hive.thrift.metastore.FieldSchema> schema) Methods in io.trino.plugin.hive.metastore.thrift that return types with arguments of type TableModifier and TypeMethodDescriptionMethods in io.trino.plugin.hive.metastore.thrift with parameters of type TableModifier and TypeMethodDescriptionvoidBridgingHiveMetastore.alterTransactionalTable(Table table, long transactionId, long writeId, PrincipalPrivileges principalPrivileges) voidBridgingHiveMetastore.createTable(Table table, PrincipalPrivileges principalPrivileges) BridgingHiveMetastore.getPartition(Table table, List<String> partitionValues) BridgingHiveMetastore.getPartitionsByNames(Table table, List<String> partitionNames) BridgingHiveMetastore.getPartitionStatistics(Table table, List<Partition> partitions) BridgingHiveMetastore.getTableStatistics(Table table) voidBridgingHiveMetastore.replaceTable(String databaseName, String tableName, Table newTable, PrincipalPrivileges principalPrivileges) static io.trino.hive.thrift.metastore.TableThriftMetastoreUtil.toMetastoreApiTable(Table table) static io.trino.hive.thrift.metastore.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 TableModifier and TypeMethodDescriptionstatic 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 TableModifier and TypeMethodDescriptionLegacyAccessControlMetastore.getTable(ConnectorSecurityContext context, String databaseName, String tableName) 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 TableModifier and TypeMethodDescriptionstatic voidHiveWriteUtils.checkTableIsWritable(Table table, boolean writesToNonManagedTablesEnabled) static Function<HiveColumnHandle,ColumnMetadata> HiveUtil.columnMetadataGetter(Table table) 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<ColumnMetadata>HiveUtil.getTableColumnMetadata(ConnectorSession session, Table table, TypeManager typeManager) static List<HiveColumnHandle>HiveUtil.hiveColumnHandles(Table table, TypeManager typeManager, HiveTimestampPrecision timestampPrecision) static booleanHiveUtil.isDeltaLakeTable(Table table) static booleanHiveUtil.isHudiTable(Table table) static booleanHiveUtil.isIcebergTable(Table table) static booleanHiveUtil.isSparkBucketedTable(Table table) static booleanHiveBucketing.isSupportedBucketing(Table table)