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()
Deprecated.Since 3.0.0, will be removed in 4.0.0.int
int
getPool()
Deprecated.Since 3.0.0-alpha-2, will be removed in 4.0.0.int
long
long
Deprecated.Since 3.0.0, will be removed in 4.0.0.long
implementationClassName
(String implementationClassName) Deprecated.Since 3.0.0, will be removed in 4.0.0.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) Deprecated.Since 3.0.0-alpha-2, will be removed in 4.0.0.rpcTimeout
(int rpcTimeout) setRequestAttribute
(String key, byte[] value) setWriteBufferPeriodicFlushTimeoutMs
(long timeoutMs) Set the max timeout before the buffer is automatically flushed.setWriteBufferPeriodicFlushTimerTickMs
(long timerTickMs) Deprecated.Since 3.0.0, will be removed in 4.0.0.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
-
requestAttributes
-
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
-
setRequestAttribute
-
getRequestAttributes
-
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
Deprecated.Since 3.0.0, will be removed in 4.0.0. We use a common timer in the whole client implementation so you can not set it any more. -
setWriteBufferPeriodicFlushTimerTickMs
Deprecated.Since 3.0.0, will be removed in 4.0.0. We use a common timer in the whole client implementation so you can not set it any more.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
Deprecated.Since 3.0.0-alpha-2, will be removed in 4.0.0. You can not set it anymore. BufferedMutator will use Connection's ExecutorService. -
pool
Deprecated.Since 3.0.0-alpha-2, will be removed in 4.0.0. You can not set it anymore. BufferedMutator will use Connection's ExecutorService.Override the default executor pool defined by thehbase.htable.threads.*
configuration values. -
getImplementationClassName
Deprecated.Since 3.0.0, will be removed in 4.0.0. You can not set it any more as the implementation has to use too many internal stuffs in HBase.- Returns:
- Name of the class we will use when we construct a
BufferedMutator
instance or null if default implementation.
-
implementationClassName
Deprecated.Since 3.0.0, will be removed in 4.0.0. You can not set it any more as the implementation has to use too many internal stuffs in HBase.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
-