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 |
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 |
txnsPerBatch |
Constructor and Description |
---|
HiveOptions(String metaStoreURI,
String databaseName,
String tableName,
HiveMapper mapper) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAutoCreatePartitions() |
Integer |
getBatchSize() |
Integer |
getCallTimeOut() |
String |
getDatabaseName() |
Integer |
getHeartBeatInterval() |
Integer |
getIdleTimeout() |
String |
getKerberosKeytab() |
String |
getKerberosPrincipal() |
HiveMapper |
getMapper() |
Integer |
getMaxOpenConnections() |
String |
getMetaStoreURI() |
String |
getTableName() |
Integer |
getTxnsPerBatch() |
HiveOptions |
withAutoCreatePartitions(Boolean autoCreatePartitions) |
HiveOptions |
withBatchSize(Integer batchSize) |
HiveOptions |
withCallTimeout(Integer callTimeout) |
HiveOptions |
withHeartBeatInterval(Integer heartBeatInterval) |
HiveOptions |
withIdleTimeout(Integer idleTimeout) |
HiveOptions |
withKerberosKeytab(String kerberosKeytab) |
HiveOptions |
withKerberosPrincipal(String kerberosPrincipal) |
HiveOptions |
withMaxOpenConnections(Integer maxOpenConnections) |
HiveOptions |
withTxnsPerBatch(Integer txnsPerBatch) |
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
public HiveOptions(String metaStoreURI, String databaseName, String tableName, HiveMapper mapper)
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()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.