public class HiveOptions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Boolean |
autoCreatePartitions |
protected Integer |
batchSize |
protected Integer |
callTimeout |
protected String |
databaseName |
static int |
DEFAULT_TICK_TUPLE_INTERVAL_SECS
Half of the default Config.TOPOLOGY_MESSAGE_TIMEOUT_SECS
|
protected Integer |
heartBeatInterval |
protected Integer |
idleTimeout |
protected String |
kerberosKeytab |
protected String |
kerberosPrincipal |
protected HiveMapper |
mapper |
protected Integer |
maxOpenConnections |
protected String |
metaStoreURI |
protected String |
tableName |
protected Integer |
tickTupleInterval |
protected Integer |
txnsPerBatch |
Constructor and Description |
---|
HiveOptions(String metaStoreURI,
String databaseName,
String tableName,
HiveMapper mapper) |
public static final int DEFAULT_TICK_TUPLE_INTERVAL_SECS
Half of the default Config.TOPOLOGY_MESSAGE_TIMEOUT_SECS
protected HiveMapper mapper
protected String databaseName
protected String tableName
protected String metaStoreURI
protected Integer txnsPerBatch
protected Integer maxOpenConnections
protected Integer batchSize
protected Integer idleTimeout
protected Integer callTimeout
protected Integer heartBeatInterval
protected Boolean autoCreatePartitions
protected String kerberosPrincipal
protected String kerberosKeytab
protected Integer tickTupleInterval
public HiveOptions(String metaStoreURI, String databaseName, String tableName, HiveMapper mapper)
public HiveOptions withTickTupleInterval(Integer tickInterval)
public HiveOptions withTxnsPerBatch(Integer txnsPerBatch)
public HiveOptions withMaxOpenConnections(Integer maxOpenConnections)
public HiveOptions withBatchSize(Integer batchSize)
public HiveOptions withIdleTimeout(Integer idleTimeout)
public HiveOptions withCallTimeout(Integer callTimeout)
public HiveOptions withHeartBeatInterval(Integer heartBeatInterval)
public HiveOptions withAutoCreatePartitions(Boolean autoCreatePartitions)
public HiveOptions withKerberosKeytab(String kerberosKeytab)
public HiveOptions withKerberosPrincipal(String kerberosPrincipal)
public String getMetaStoreURI()
public String getDatabaseName()
public String getTableName()
public HiveMapper getMapper()
public Integer getBatchSize()
public Integer getCallTimeOut()
public Integer getHeartBeatInterval()
public Integer getMaxOpenConnections()
public Integer getIdleTimeout()
public Integer getTxnsPerBatch()
public Boolean getAutoCreatePartitions()
public String getKerberosPrincipal()
public String getKerberosKeytab()
public Integer getTickTupleInterval()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.