public class HiveSplit extends Object implements ConnectorSplit
Modifier and Type | Class and Description |
---|---|
static class |
HiveSplit.BucketConversion |
Constructor and Description |
---|
HiveSplit(String database,
String table,
String partitionName,
String path,
long start,
long length,
long fileSize,
Storage storage,
List<HivePartitionKey> partitionKeys,
List<HostAddress> addresses,
OptionalInt readBucketNumber,
OptionalInt tableBucketNumber,
NodeSelectionStrategy nodeSelectionStrategy,
int partitionDataColumnCount,
Map<Integer,Column> partitionSchemaDifference,
Optional<HiveSplit.BucketConversion> bucketConversion,
boolean s3SelectPushdownEnabled,
Optional<byte[]> extraFileInfo,
CacheQuotaRequirement cacheQuotaRequirement,
Optional<EncryptionInformation> encryptionInformation,
Map<String,String> customSplitInfo) |
Modifier and Type | Method and Description |
---|---|
List<HostAddress> |
getAddresses() |
Optional<HiveSplit.BucketConversion> |
getBucketConversion() |
CacheQuotaRequirement |
getCacheQuotaRequirement() |
Map<String,String> |
getCustomSplitInfo() |
String |
getDatabase() |
Optional<EncryptionInformation> |
getEncryptionInformation() |
Optional<byte[]> |
getExtraFileInfo() |
long |
getFileSize() |
Object |
getInfo() |
long |
getLength() |
NodeSelectionStrategy |
getNodeSelectionStrategy() |
int |
getPartitionDataColumnCount() |
List<HivePartitionKey> |
getPartitionKeys() |
String |
getPartitionName() |
Map<Integer,Column> |
getPartitionSchemaDifference() |
String |
getPath() |
List<HostAddress> |
getPreferredNodes(List<HostAddress> sortedCandidates) |
OptionalInt |
getReadBucketNumber() |
Object |
getSplitIdentifier() |
OptionalLong |
getSplitSizeInBytes() |
long |
getStart() |
Storage |
getStorage() |
String |
getTable() |
OptionalInt |
getTableBucketNumber() |
boolean |
isS3SelectPushdownEnabled() |
String |
toString() |
public HiveSplit(String database, String table, String partitionName, String path, long start, long length, long fileSize, Storage storage, List<HivePartitionKey> partitionKeys, List<HostAddress> addresses, OptionalInt readBucketNumber, OptionalInt tableBucketNumber, NodeSelectionStrategy nodeSelectionStrategy, int partitionDataColumnCount, Map<Integer,Column> partitionSchemaDifference, Optional<HiveSplit.BucketConversion> bucketConversion, boolean s3SelectPushdownEnabled, Optional<byte[]> extraFileInfo, CacheQuotaRequirement cacheQuotaRequirement, Optional<EncryptionInformation> encryptionInformation, Map<String,String> customSplitInfo)
public String getDatabase()
public String getTable()
public String getPartitionName()
public String getPath()
public long getStart()
public long getLength()
public long getFileSize()
public Storage getStorage()
public List<HivePartitionKey> getPartitionKeys()
public List<HostAddress> getAddresses()
public List<HostAddress> getPreferredNodes(List<HostAddress> sortedCandidates)
getPreferredNodes
in interface ConnectorSplit
public OptionalInt getReadBucketNumber()
public OptionalInt getTableBucketNumber()
public int getPartitionDataColumnCount()
public Optional<HiveSplit.BucketConversion> getBucketConversion()
public NodeSelectionStrategy getNodeSelectionStrategy()
getNodeSelectionStrategy
in interface ConnectorSplit
public boolean isS3SelectPushdownEnabled()
public Optional<byte[]> getExtraFileInfo()
public CacheQuotaRequirement getCacheQuotaRequirement()
public Optional<EncryptionInformation> getEncryptionInformation()
public Object getInfo()
getInfo
in interface ConnectorSplit
public Object getSplitIdentifier()
getSplitIdentifier
in interface ConnectorSplit
public OptionalLong getSplitSizeInBytes()
getSplitSizeInBytes
in interface ConnectorSplit
Copyright © 2012–2020. All rights reserved.