public class HiveSplit extends Object implements com.facebook.presto.spi.ConnectorSplit
| Modifier and Type | Class and Description |
|---|---|
static class |
HiveSplit.BucketConversion |
| Constructor and Description |
|---|
HiveSplit(HiveFileSplit fileSplit,
String database,
String table,
String partitionName,
com.facebook.presto.hive.metastore.Storage storage,
List<HivePartitionKey> partitionKeys,
List<com.facebook.presto.spi.HostAddress> addresses,
OptionalInt readBucketNumber,
OptionalInt tableBucketNumber,
com.facebook.presto.spi.schedule.NodeSelectionStrategy nodeSelectionStrategy,
int partitionDataColumnCount,
TableToPartitionMapping tableToPartitionMapping,
Optional<HiveSplit.BucketConversion> bucketConversion,
boolean s3SelectPushdownEnabled,
com.facebook.presto.hive.CacheQuotaRequirement cacheQuotaRequirement,
Optional<EncryptionInformation> encryptionInformation,
Set<com.facebook.presto.spi.ColumnHandle> redundantColumnDomains,
com.facebook.presto.spi.SplitWeight splitWeight) |
public HiveSplit(HiveFileSplit fileSplit, String database, String table, String partitionName, com.facebook.presto.hive.metastore.Storage storage, List<HivePartitionKey> partitionKeys, List<com.facebook.presto.spi.HostAddress> addresses, OptionalInt readBucketNumber, OptionalInt tableBucketNumber, com.facebook.presto.spi.schedule.NodeSelectionStrategy nodeSelectionStrategy, int partitionDataColumnCount, TableToPartitionMapping tableToPartitionMapping, Optional<HiveSplit.BucketConversion> bucketConversion, boolean s3SelectPushdownEnabled, com.facebook.presto.hive.CacheQuotaRequirement cacheQuotaRequirement, Optional<EncryptionInformation> encryptionInformation, Set<com.facebook.presto.spi.ColumnHandle> redundantColumnDomains, com.facebook.presto.spi.SplitWeight splitWeight)
public HiveFileSplit getFileSplit()
public String getDatabase()
public String getTable()
public String getPartitionName()
public com.facebook.presto.hive.metastore.Storage getStorage()
public List<HivePartitionKey> getPartitionKeys()
public List<com.facebook.presto.spi.HostAddress> getAddresses()
public List<com.facebook.presto.spi.HostAddress> getPreferredNodes(com.facebook.presto.spi.NodeProvider nodeProvider)
getPreferredNodes in interface com.facebook.presto.spi.ConnectorSplitpublic OptionalInt getReadBucketNumber()
public OptionalInt getTableBucketNumber()
public int getPartitionDataColumnCount()
public TableToPartitionMapping getTableToPartitionMapping()
public Optional<HiveSplit.BucketConversion> getBucketConversion()
public com.facebook.presto.spi.schedule.NodeSelectionStrategy getNodeSelectionStrategy()
getNodeSelectionStrategy in interface com.facebook.presto.spi.ConnectorSplitpublic boolean isS3SelectPushdownEnabled()
public com.facebook.presto.hive.CacheQuotaRequirement getCacheQuotaRequirement()
public Optional<EncryptionInformation> getEncryptionInformation()
public Set<com.facebook.presto.spi.ColumnHandle> getRedundantColumnDomains()
public com.facebook.presto.spi.SplitWeight getSplitWeight()
getSplitWeight in interface com.facebook.presto.spi.ConnectorSplitpublic Object getInfo()
getInfo in interface com.facebook.presto.spi.ConnectorSplitpublic Map<String,String> getInfoMap()
getInfoMap in interface com.facebook.presto.spi.ConnectorSplitpublic Object getSplitIdentifier()
getSplitIdentifier in interface com.facebook.presto.spi.ConnectorSplitpublic OptionalLong getSplitSizeInBytes()
getSplitSizeInBytes in interface com.facebook.presto.spi.ConnectorSplitCopyright © 2012–2023. All rights reserved.