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,
Properties schema,
List<HivePartitionKey> partitionKeys,
List<HostAddress> addresses,
OptionalInt bucketNumber,
boolean forceLocalScheduling,
TupleDomain<HiveColumnHandle> effectivePredicate,
Map<Integer,HiveType> columnCoercions,
Optional<HiveSplit.BucketConversion> bucketConversion,
boolean s3SelectPushdownEnabled) |
| Modifier and Type | Method and Description |
|---|---|
List<HostAddress> |
getAddresses() |
Optional<HiveSplit.BucketConversion> |
getBucketConversion() |
OptionalInt |
getBucketNumber() |
Map<Integer,HiveType> |
getColumnCoercions() |
String |
getDatabase() |
TupleDomain<HiveColumnHandle> |
getEffectivePredicate() |
long |
getFileSize() |
Object |
getInfo() |
long |
getLength() |
List<HivePartitionKey> |
getPartitionKeys() |
String |
getPartitionName() |
String |
getPath() |
Properties |
getSchema() |
long |
getStart() |
String |
getTable() |
boolean |
isForceLocalScheduling() |
boolean |
isRemotelyAccessible() |
boolean |
isS3SelectPushdownEnabled() |
String |
toString() |
public HiveSplit(String database, String table, String partitionName, String path, long start, long length, long fileSize, Properties schema, List<HivePartitionKey> partitionKeys, List<HostAddress> addresses, OptionalInt bucketNumber, boolean forceLocalScheduling, TupleDomain<HiveColumnHandle> effectivePredicate, Map<Integer,HiveType> columnCoercions, Optional<HiveSplit.BucketConversion> bucketConversion, boolean s3SelectPushdownEnabled)
public String getDatabase()
public String getTable()
public String getPartitionName()
public String getPath()
public long getStart()
public long getLength()
public long getFileSize()
public Properties getSchema()
public List<HivePartitionKey> getPartitionKeys()
public List<HostAddress> getAddresses()
getAddresses in interface ConnectorSplitpublic OptionalInt getBucketNumber()
public TupleDomain<HiveColumnHandle> getEffectivePredicate()
public boolean isForceLocalScheduling()
public Optional<HiveSplit.BucketConversion> getBucketConversion()
public boolean isRemotelyAccessible()
isRemotelyAccessible in interface ConnectorSplitpublic boolean isS3SelectPushdownEnabled()
public Object getInfo()
getInfo in interface ConnectorSplitCopyright © 2012–2019. All rights reserved.