Uses of Class
io.trino.plugin.hive.HiveColumnHandle
Packages that use HiveColumnHandle
Package
Description
-
Uses of HiveColumnHandle in io.trino.plugin.hive
Methods in io.trino.plugin.hive that return HiveColumnHandleModifier and TypeMethodDescriptionstatic HiveColumnHandleHiveColumnHandle.bucketColumnHandle()The column indicating the bucket id.static HiveColumnHandleHiveColumnHandle.createBaseColumn(String topLevelColumnName, int topLevelColumnIndex, HiveType hiveType, Type type, HiveColumnHandle.ColumnType columnType, Optional<String> comment) static HiveColumnHandleHiveColumnHandle.fileModifiedTimeColumnHandle()static HiveColumnHandleHiveColumnHandle.fileSizeColumnHandle()HiveColumnHandle.getBaseColumn()HivePageSourceProvider.ColumnMapping.getHiveColumnHandle()static HiveColumnHandleHiveColumnHandle.mergeRowIdColumnHandle()static HiveColumnHandleHiveColumnHandle.partitionColumnHandle()static HiveColumnHandleHiveColumnHandle.pathColumnHandle()Methods in io.trino.plugin.hive that return types with arguments of type HiveColumnHandleModifier and TypeMethodDescriptionHiveSplit.BucketConversion.bucketColumnHandles()Returns the value of thebucketColumnHandlesrecord component.HiveSplit.BucketValidation.bucketColumns()Returns the value of thebucketColumnsrecord component.HiveBucketHandle.columns()Returns the value of thecolumnsrecord component.BackgroundHiveSplitLoader.BucketSplitInfo.getBucketColumns()HivePartitionResult.getCompactEffectivePredicate()HiveTableHandle.getCompactEffectivePredicate()HiveTableHandle.getConstraintColumns()HiveTableHandle.getDataColumns()HiveWritableTableHandle.getInputColumns()HivePartitionResult.getPartitionColumns()HiveTableHandle.getPartitionColumns()HiveTableHandle.getProjectedColumns()static List<HiveColumnHandle> HivePageSourceProvider.ColumnMapping.toColumnHandles(List<HivePageSourceProvider.ColumnMapping> regularColumnMappings, TypeManager typeManager, CoercionUtils.CoercionContext coercionContext) Methods in io.trino.plugin.hive with parameters of type HiveColumnHandleModifier and TypeMethodDescriptionHivePageSourceProvider.ColumnMapping.empty(HiveColumnHandle hiveColumnHandle) HivePageSourceProvider.ColumnMapping.interim(HiveColumnHandle hiveColumnHandle, int index, Optional<HiveType> baseTypeCoercionFrom) static booleanHiveColumnHandle.isBucketColumnHandle(HiveColumnHandle column) static booleanHiveColumnHandle.isFileModifiedTimeColumnHandle(HiveColumnHandle column) static booleanHiveColumnHandle.isFileSizeColumnHandle(HiveColumnHandle column) static booleanHiveColumnHandle.isPartitionColumnHandle(HiveColumnHandle column) static booleanHiveColumnHandle.isPathColumnHandle(HiveColumnHandle column) static booleanHiveColumnHandle.isRowIdColumnHandle(HiveColumnHandle column) HivePageSourceProvider.ColumnMapping.prefilled(HiveColumnHandle hiveColumnHandle, NullableValue prefilledValue, Optional<HiveType> baseTypeCoercionFrom) HivePageSourceProvider.ColumnMapping.regular(HiveColumnHandle hiveColumnHandle, int index, Optional<HiveType> baseTypeCoercionFrom) HivePageSourceProvider.ColumnMapping.synthesized(HiveColumnHandle hiveColumnHandle, int index, Optional<HiveType> baseTypeCoercionFrom) Method parameters in io.trino.plugin.hive with type arguments of type HiveColumnHandleModifier and TypeMethodDescriptionstatic PageMergeFileWriter.buildInsertPage(Page insertPage, long writeId, List<HiveColumnHandle> columns, Block bucketValueBlock, int insertRowCount) static Optional<ConnectorPageSource> HivePageSourceProvider.createHivePageSource(Set<HivePageSourceFactory> pageSourceFactories, ConnectorSession session, Location path, OptionalInt tableBucketNumber, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, TupleDomain<HiveColumnHandle> effectivePredicate, TypeManager typeManager, Optional<HiveSplit.BucketConversion> bucketConversion, Optional<HiveSplit.BucketValidation> bucketValidation, Optional<AcidInfo> acidInfo, boolean originalFile, AcidTransaction transaction, List<HivePageSourceProvider.ColumnMapping> columnMappings) HivePageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) HivePageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) static HivePartitionHivePartitionManager.parsePartition(SchemaTableName tableName, String partitionName, List<HiveColumnHandle> partitionColumns) static booleanHivePartitionManager.partitionMatches(List<HiveColumnHandle> partitionColumns, TupleDomain<ColumnHandle> constraintSummary, HivePartition partition) static Optional<ReaderColumns> HivePageSourceProvider.projectBaseColumns(List<HiveColumnHandle> columns) Creates a mapping between the inputcolumnsand base columns based on baseHiveColumnIndex if required.static Optional<ReaderColumns> HivePageSourceProvider.projectBaseColumns(List<HiveColumnHandle> columns, boolean useColumnNames) Creates a mapping between the inputcolumnsand base columns based on baseHiveColumnIndex or baseColumnName if required.static Optional<ReaderColumns> HivePageSourceProvider.projectSufficientColumns(List<HiveColumnHandle> columns) Creates a set of sufficient columns for the input projected columns and prepares a mapping between the two.voidHiveStorageFormat.validateColumns(List<HiveColumnHandle> handles) HiveTableHandle.withProjectedColumns(Set<HiveColumnHandle> projectedColumns) Constructor parameters in io.trino.plugin.hive with type arguments of type HiveColumnHandleModifierConstructorDescriptionBucketConversion(HiveBucketing.BucketingVersion bucketingVersion, int tableBucketCount, int partitionBucketCount, List<HiveColumnHandle> bucketColumnHandles) Creates an instance of aBucketConversionrecord class.BucketValidation(HiveBucketing.BucketingVersion bucketingVersion, int bucketCount, List<HiveColumnHandle> bucketColumns) Creates an instance of aBucketValidationrecord class.HiveBucketHandle(List<HiveColumnHandle> columns, HiveBucketing.BucketingVersion bucketingVersion, int tableBucketCount, int readBucketCount, List<SortingColumn> sortedBy) Creates an instance of aHiveBucketHandlerecord class.HiveInsertTableHandle(String schemaName, String tableName, List<HiveColumnHandle> inputColumns, HivePageSinkMetadata pageSinkMetadata, LocationHandle locationHandle, Optional<HiveWritableTableHandle.BucketInfo> bucketInfo, HiveStorageFormat tableStorageFormat, HiveStorageFormat partitionStorageFormat, AcidTransaction transaction, boolean retriesEnabled) HiveOutputTableHandle(String schemaName, String tableName, List<HiveColumnHandle> inputColumns, HivePageSinkMetadata pageSinkMetadata, LocationHandle locationHandle, HiveStorageFormat tableStorageFormat, HiveStorageFormat partitionStorageFormat, List<String> partitionedBy, Optional<HiveWritableTableHandle.BucketInfo> bucketInfo, String tableOwner, Map<String, String> additionalTableParameters, AcidTransaction transaction, boolean external, boolean retriesEnabled) HivePageSink(HiveWriterFactory writerFactory, List<HiveColumnHandle> inputColumns, AcidTransaction acidTransaction, Optional<HiveWritableTableHandle.BucketInfo> bucketInfo, PageIndexerFactory pageIndexerFactory, int maxOpenWriters, com.google.common.util.concurrent.ListeningExecutorService writeVerificationExecutor, io.airlift.json.JsonCodec<PartitionUpdate> partitionUpdateCodec, ConnectorSession session) HivePartitionResult(List<HiveColumnHandle> partitionColumns, Optional<List<String>> partitionNames, Iterable<HivePartition> partitions, TupleDomain<ColumnHandle> effectivePredicate, TupleDomain<HiveColumnHandle> compactEffectivePredicate, Optional<HiveBucketHandle> bucketHandle, Optional<HiveBucketing.HiveBucketFilter> bucketFilter) HiveTableExecuteHandle(String procedureName, Optional<String> writeDeclarationId, Optional<Long> maxScannedFileSize, String schemaName, String tableName, List<HiveColumnHandle> inputColumns, HivePageSinkMetadata pageSinkMetadata, LocationHandle locationHandle, Optional<HiveWritableTableHandle.BucketInfo> bucketInfo, HiveStorageFormat tableStorageFormat, HiveStorageFormat partitionStorageFormat, AcidTransaction transaction, boolean retriesEnabled) HiveTableHandle(String schemaName, String tableName, List<HiveColumnHandle> partitionColumns, List<HiveColumnHandle> dataColumns, TupleDomain<HiveColumnHandle> compactEffectivePredicate, TupleDomain<ColumnHandle> enforcedConstraint, Optional<HiveBucketHandle> bucketHandle, Optional<HiveBucketing.HiveBucketFilter> bucketFilter, Optional<List<List<String>>> analyzePartitionValues, AcidTransaction transaction) HiveTableHandle(String schemaName, String tableName, List<HiveColumnHandle> partitionColumns, List<HiveColumnHandle> dataColumns, TupleDomain<HiveColumnHandle> compactEffectivePredicate, TupleDomain<ColumnHandle> enforcedConstraint, Optional<HiveBucketHandle> bucketHandle, Optional<HiveBucketing.HiveBucketFilter> bucketFilter, Optional<List<List<String>>> analyzePartitionValues, AcidTransaction transaction) HiveTableHandle(String schemaName, String tableName, Map<String, String> tableParameters, List<HiveColumnHandle> partitionColumns, List<HiveColumnHandle> dataColumns, Optional<HiveBucketHandle> bucketHandle) HiveTableHandle(String schemaName, String tableName, Optional<Map<String, String>> tableParameters, List<HiveColumnHandle> partitionColumns, List<HiveColumnHandle> dataColumns, Optional<List<String>> partitionNames, Optional<List<HivePartition>> partitions, TupleDomain<HiveColumnHandle> compactEffectivePredicate, TupleDomain<ColumnHandle> enforcedConstraint, Optional<HiveBucketHandle> bucketHandle, Optional<HiveBucketing.HiveBucketFilter> bucketFilter, Optional<List<List<String>>> analyzePartitionValues, Set<HiveColumnHandle> constraintColumns, Set<HiveColumnHandle> projectedColumns, AcidTransaction transaction, boolean recordScannedFiles, Optional<Long> maxSplitFileSize) HiveTableHandle(String schemaName, String tableName, Optional<Map<String, String>> tableParameters, List<HiveColumnHandle> partitionColumns, List<HiveColumnHandle> dataColumns, Optional<List<String>> partitionNames, Optional<List<HivePartition>> partitions, TupleDomain<HiveColumnHandle> compactEffectivePredicate, TupleDomain<ColumnHandle> enforcedConstraint, Optional<HiveBucketHandle> bucketHandle, Optional<HiveBucketing.HiveBucketFilter> bucketFilter, Optional<List<List<String>>> analyzePartitionValues, Set<HiveColumnHandle> constraintColumns, Set<HiveColumnHandle> projectedColumns, AcidTransaction transaction, boolean recordScannedFiles, Optional<Long> maxSplitFileSize) HiveTableHandle(String schemaName, String tableName, Optional<Map<String, String>> tableParameters, List<HiveColumnHandle> partitionColumns, List<HiveColumnHandle> dataColumns, Optional<List<String>> partitionNames, Optional<List<HivePartition>> partitions, TupleDomain<HiveColumnHandle> compactEffectivePredicate, TupleDomain<ColumnHandle> enforcedConstraint, Optional<HiveBucketHandle> bucketHandle, Optional<HiveBucketing.HiveBucketFilter> bucketFilter, Optional<List<List<String>>> analyzePartitionValues, Set<HiveColumnHandle> constraintColumns, Set<HiveColumnHandle> projectedColumns, AcidTransaction transaction, boolean recordScannedFiles, Optional<Long> maxSplitFileSize) HiveWritableTableHandle(String schemaName, String tableName, List<HiveColumnHandle> inputColumns, HivePageSinkMetadata pageSinkMetadata, LocationHandle locationHandle, Optional<HiveWritableTableHandle.BucketInfo> bucketInfo, HiveStorageFormat tableStorageFormat, HiveStorageFormat partitionStorageFormat, AcidTransaction transaction, boolean retriesEnabled) HiveWriterFactory(Set<HiveFileWriterFactory> fileWriterFactories, TrinoFileSystemFactory fileSystemFactory, String schemaName, String tableName, boolean isCreateTable, AcidTransaction transaction, List<HiveColumnHandle> inputColumns, HiveStorageFormat tableStorageFormat, HiveStorageFormat partitionStorageFormat, Map<String, String> additionalTableParameters, OptionalInt bucketCount, List<SortingColumn> sortedBy, LocationHandle locationHandle, LocationService locationService, String queryId, HivePageSinkMetadataProvider pageSinkMetadataProvider, TypeManager typeManager, PageSorter pageSorter, io.airlift.units.DataSize sortBufferSize, int maxOpenSortFiles, ConnectorSession session, NodeManager nodeManager, io.airlift.event.client.EventClient eventClient, HiveSessionProperties hiveSessionProperties, HiveWriterStats hiveWriterStats, boolean sortedWritingTempStagingPathEnabled, String sortedWritingTempStagingPath) MergeFileWriter(AcidTransaction transaction, int statementId, OptionalInt bucketNumber, HiveWriterFactory.RowIdSortingFileWriterMaker sortingFileWriterMaker, String bucketPath, OrcFileWriterFactory orcFileWriterFactory, HiveCompressionCodec compressionCodec, List<HiveColumnHandle> inputColumns, ConnectorSession session, TypeManager typeManager, HiveType hiveRowType) -
Uses of HiveColumnHandle in io.trino.plugin.hive.avro
Method parameters in io.trino.plugin.hive.avro with type arguments of type HiveColumnHandleModifier and TypeMethodDescriptionAvroPageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) AvroPageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) -
Uses of HiveColumnHandle in io.trino.plugin.hive.line
Method parameters in io.trino.plugin.hive.line with type arguments of type HiveColumnHandleModifier and TypeMethodDescriptionLinePageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) LinePageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) -
Uses of HiveColumnHandle in io.trino.plugin.hive.metastore
Method parameters in io.trino.plugin.hive.metastore with type arguments of type HiveColumnHandleModifier and TypeMethodDescriptionstatic TupleDomain<String> MetastoreUtil.computePartitionKeyFilter(List<HiveColumnHandle> partitionKeys, TupleDomain<HiveColumnHandle> effectivePredicate) This method creates a TupleDomain for each partitionKey specifiedstatic TupleDomain<String> MetastoreUtil.computePartitionKeyFilter(List<HiveColumnHandle> partitionKeys, TupleDomain<HiveColumnHandle> effectivePredicate) This method creates a TupleDomain for each partitionKey specified -
Uses of HiveColumnHandle in io.trino.plugin.hive.orc
Method parameters in io.trino.plugin.hive.orc with type arguments of type HiveColumnHandleModifier and TypeMethodDescriptionOrcPageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) OrcPageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) -
Uses of HiveColumnHandle in io.trino.plugin.hive.parquet
Fields in io.trino.plugin.hive.parquet declared as HiveColumnHandleModifier and TypeFieldDescriptionstatic final HiveColumnHandleParquetPageSourceFactory.PARQUET_ROW_INDEX_COLUMNIf this object is passed as one of the columns forcreatePageSource, it will be populated as an additional column containing the index of each row read.Methods in io.trino.plugin.hive.parquet with parameters of type HiveColumnHandleModifier and TypeMethodDescriptionstatic Optional<org.apache.parquet.schema.Type> ParquetPageSourceFactory.getColumnType(HiveColumnHandle column, org.apache.parquet.schema.MessageType messageType, boolean useParquetColumnNames) Method parameters in io.trino.plugin.hive.parquet with type arguments of type HiveColumnHandleModifier and TypeMethodDescriptionstatic ReaderPageSourceParquetPageSourceFactory.createPageSource(TrinoInputFile inputFile, long start, long length, List<HiveColumnHandle> columns, List<TupleDomain<HiveColumnHandle>> disjunctTupleDomains, boolean useColumnNames, org.joda.time.DateTimeZone timeZone, FileFormatDataSourceStats stats, ParquetReaderOptions options, Optional<ParquetWriteValidation> parquetWriteValidation, int domainCompactionThreshold, OptionalLong estimatedFileSize) This method is available for other callers to use directly.ParquetPageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) ParquetPageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) static ConnectorPageSourceParquetPageSourceFactory.createParquetPageSource(List<HiveColumnHandle> baseColumns, org.apache.parquet.schema.MessageType fileSchema, org.apache.parquet.io.MessageColumnIO messageColumn, boolean useColumnNames, ParquetPageSourceFactory.ParquetReaderProvider parquetReaderProvider) static Optional<org.apache.parquet.schema.MessageType> ParquetPageSourceFactory.getParquetMessageType(List<HiveColumnHandle> columns, boolean useColumnNames, org.apache.parquet.schema.MessageType fileSchema) static TupleDomain<org.apache.parquet.column.ColumnDescriptor> ParquetPageSourceFactory.getParquetTupleDomain(Map<List<String>, org.apache.parquet.column.ColumnDescriptor> descriptorsByPath, TupleDomain<HiveColumnHandle> effectivePredicate, org.apache.parquet.schema.MessageType fileSchema, boolean useColumnNames) -
Uses of HiveColumnHandle in io.trino.plugin.hive.rcfile
Method parameters in io.trino.plugin.hive.rcfile with type arguments of type HiveColumnHandleModifier and TypeMethodDescriptionRcFilePageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) RcFilePageSourceFactory.createPageSource(ConnectorSession session, Location path, long start, long length, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HiveColumnHandle> columns, TupleDomain<HiveColumnHandle> effectivePredicate, Optional<AcidInfo> acidInfo, OptionalInt bucketNumber, boolean originalFile, AcidTransaction transaction) Constructor parameters in io.trino.plugin.hive.rcfile with type arguments of type HiveColumnHandleModifierConstructorDescriptionRcFilePageSource(RcFileReader rcFileReader, List<HiveColumnHandle> columns) -
Uses of HiveColumnHandle in io.trino.plugin.hive.util
Methods in io.trino.plugin.hive.util that return types with arguments of type HiveColumnHandleModifier and TypeMethodDescriptionstatic Function<HiveColumnHandle, ColumnMetadata> HiveUtil.columnMetadataGetter(Table table) 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) Methods in io.trino.plugin.hive.util with parameters of type HiveColumnHandleModifier and TypeMethodDescriptionstatic NullableValueHiveUtil.getPrefilledColumnValue(HiveColumnHandle columnHandle, HivePartitionKey partitionKey, String path, OptionalInt bucketNumber, long fileSize, long fileModifiedTime, String partitionName) Method parameters in io.trino.plugin.hive.util with type arguments of type HiveColumnHandleModifier and TypeMethodDescriptionstatic BooleanSupplierPartitionMatchSupplier.createPartitionMatchSupplier(DynamicFilter dynamicFilter, HivePartition hivePartition, List<HiveColumnHandle> partitionColumns) Constructor parameters in io.trino.plugin.hive.util with type arguments of type HiveColumnHandleModifierConstructorDescriptionInternalHiveSplitFactory(String partitionName, HiveStorageFormat storageFormat, Map<String, String> schema, List<HivePartitionKey> partitionKeys, TupleDomain<HiveColumnHandle> effectivePredicate, BooleanSupplier partitionMatchSupplier, Map<Integer, HiveTypeName> hiveColumnCoercions, Optional<HiveSplit.BucketConversion> bucketConversion, Optional<HiveSplit.BucketValidation> bucketValidation, io.airlift.units.DataSize minimumTargetSplitSize, boolean forceLocalScheduling, Optional<Long> maxSplitFileSize)