Class InternalHiveSplit
java.lang.Object
io.trino.plugin.hive.InternalHiveSplit
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInternalHiveSplit(String partitionName, String path, long start, long end, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HivePartitionKey> partitionKeys, List<InternalHiveSplit.InternalHiveBlock> blocks, OptionalInt readBucketNumber, OptionalInt tableBucketNumber, boolean splittable, boolean forceLocalScheduling, Map<Integer, HiveTypeName> hiveColumnCoercions, Optional<HiveSplit.BucketConversion> bucketConversion, Optional<HiveSplit.BucketValidation> bucketValidation, Optional<AcidInfo> acidInfo, BooleanSupplier partitionMatchSupplier) -
Method Summary
-
Constructor Details
-
InternalHiveSplit
public InternalHiveSplit(String partitionName, String path, long start, long end, long estimatedFileSize, long fileModifiedTime, Schema schema, List<HivePartitionKey> partitionKeys, List<InternalHiveSplit.InternalHiveBlock> blocks, OptionalInt readBucketNumber, OptionalInt tableBucketNumber, boolean splittable, boolean forceLocalScheduling, Map<Integer, HiveTypeName> hiveColumnCoercions, Optional<HiveSplit.BucketConversion> bucketConversion, Optional<HiveSplit.BucketValidation> bucketValidation, Optional<AcidInfo> acidInfo, BooleanSupplier partitionMatchSupplier)
-
-
Method Details
-
getPath
-
getStart
public long getStart() -
getEnd
public long getEnd() -
getEstimatedFileSize
public long getEstimatedFileSize() -
getFileModifiedTime
public long getFileModifiedTime() -
getSchema
-
getPartitionKeys
-
getPartitionName
-
getReadBucketNumber
-
getTableBucketNumber
-
isSplittable
public boolean isSplittable() -
isForceLocalScheduling
public boolean isForceLocalScheduling() -
getHiveColumnCoercions
-
getBucketConversion
-
getBucketValidation
-
currentBlock
-
isDone
public boolean isDone() -
increaseStart
public void increaseStart(long value) -
getEstimatedSizeInBytes
public int getEstimatedSizeInBytes() -
getAcidInfo
-
getPartitionMatchSupplier
-
toString
-