Package org.apache.hadoop.hbase.client
Class BufferedMutatorParams
java.lang.Object
org.apache.hadoop.hbase.client.BufferedMutatorParams
- All Implemented Interfaces:
Cloneable
Parameters for instantiating a
BufferedMutator
.-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private int
private int
private ExecutorService
private int
private final TableName
(package private) static final int
private long
private long
private long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns Name of the class we will use when we construct aBufferedMutator
instance or null if default implementation.int
int
getPool()
int
long
long
long
implementationClassName
(String implementationClassName) Specify a BufferedMutator implementation other than the default.listener
(BufferedMutator.ExceptionListener listener) Override the default error handler.maxKeyValueSize
(int maxKeyValueSize) Override the maximum key-value size specified by the providedConnection
'sConfiguration
instance, via the configuration keyhbase.client.keyvalue.maxsize
.operationTimeout
(int operationTimeout) opertationTimeout
(int operationTimeout) Deprecated.Since 2.3.0, will be removed in 4.0.0.pool
(ExecutorService pool) Override the default executor pool defined by thehbase.htable.threads.*
configuration values.rpcTimeout
(int rpcTimeout) setWriteBufferPeriodicFlushTimeoutMs
(long timeoutMs) Set the max timeout before the buffer is automatically flushed.setWriteBufferPeriodicFlushTimerTickMs
(long timerTickMs) Set the TimerTick how often the buffer timeout if checked.writeBufferSize
(long writeBufferSize) Override the write buffer size specified by the providedConnection
'sConfiguration
instance, via the configuration keyhbase.client.write.buffer
.
-
Field Details
-
UNSET
- See Also:
-
tableName
-
writeBufferSize
-
writeBufferPeriodicFlushTimeoutMs
-
writeBufferPeriodicFlushTimerTickMs
-
maxKeyValueSize
-
pool
-
implementationClassName
-
rpcTimeout
-
operationTimeout
-
listener
-
-
Constructor Details
-
BufferedMutatorParams
-
-
Method Details
-
getTableName
-
getWriteBufferSize
-
rpcTimeout
-
getRpcTimeout
-
operationTimeout
-
opertationTimeout
Deprecated.Since 2.3.0, will be removed in 4.0.0. UseoperationTimeout(int)
-
getOperationTimeout
-
writeBufferSize
Override the write buffer size specified by the providedConnection
'sConfiguration
instance, via the configuration keyhbase.client.write.buffer
. -
getWriteBufferPeriodicFlushTimeoutMs
-
setWriteBufferPeriodicFlushTimeoutMs
Set the max timeout before the buffer is automatically flushed. -
getWriteBufferPeriodicFlushTimerTickMs
-
setWriteBufferPeriodicFlushTimerTickMs
Set the TimerTick how often the buffer timeout if checked. -
getMaxKeyValueSize
-
maxKeyValueSize
Override the maximum key-value size specified by the providedConnection
'sConfiguration
instance, via the configuration keyhbase.client.keyvalue.maxsize
. -
getPool
-
pool
Override the default executor pool defined by thehbase.htable.threads.*
configuration values. -
getImplementationClassName
Returns Name of the class we will use when we construct aBufferedMutator
instance or null if default implementation. -
implementationClassName
Specify a BufferedMutator implementation other than the default.- Parameters:
implementationClassName
- Name of the BufferedMutator implementation class
-
getListener
-
listener
Override the default error handler. Default handler simply rethrows the exception. -
clone
-