public class HiveSplit extends Object implements ConnectorSplit
Constructor and Description |
---|
HiveSplit(String clientId,
String database,
String table,
String partitionName,
String path,
long start,
long length,
Properties schema,
List<HivePartitionKey> partitionKeys,
List<HostAddress> addresses,
OptionalInt bucketNumber,
boolean forceLocalScheduling,
TupleDomain<HiveColumnHandle> effectivePredicate,
Map<Integer,HiveType> columnCoercions) |
Modifier and Type | Method and Description |
---|---|
List<HostAddress> |
getAddresses() |
OptionalInt |
getBucketNumber() |
String |
getClientId() |
Map<Integer,HiveType> |
getColumnCoercions() |
String |
getDatabase() |
TupleDomain<HiveColumnHandle> |
getEffectivePredicate() |
Object |
getInfo() |
long |
getLength() |
List<HivePartitionKey> |
getPartitionKeys() |
String |
getPartitionName() |
String |
getPath() |
Properties |
getSchema() |
long |
getStart() |
String |
getTable() |
boolean |
isForceLocalScheduling() |
boolean |
isRemotelyAccessible() |
String |
toString() |
public HiveSplit(String clientId, String database, String table, String partitionName, String path, long start, long length, Properties schema, List<HivePartitionKey> partitionKeys, List<HostAddress> addresses, OptionalInt bucketNumber, boolean forceLocalScheduling, TupleDomain<HiveColumnHandle> effectivePredicate, Map<Integer,HiveType> columnCoercions)
public String getClientId()
public String getDatabase()
public String getTable()
public String getPartitionName()
public String getPath()
public long getStart()
public long getLength()
public Properties getSchema()
public List<HivePartitionKey> getPartitionKeys()
public List<HostAddress> getAddresses()
getAddresses
in interface ConnectorSplit
public OptionalInt getBucketNumber()
public TupleDomain<HiveColumnHandle> getEffectivePredicate()
public boolean isForceLocalScheduling()
public boolean isRemotelyAccessible()
isRemotelyAccessible
in interface ConnectorSplit
public Object getInfo()
getInfo
in interface ConnectorSplit
Copyright © 2012-2017. All Rights Reserved.