public class AliHBaseUEBufferedMutator extends Object implements org.apache.hadoop.hbase.client.BufferedMutator
| 构造器和说明 |
|---|
AliHBaseUEBufferedMutator(AliHBaseUEConnection connection,
org.apache.hadoop.hbase.TableName tableName) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
flush() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
org.apache.hadoop.hbase.TableName |
getName() |
long |
getWriteBufferSize() |
void |
mutate(List<? extends org.apache.hadoop.hbase.client.Mutation> list) |
void |
mutate(org.apache.hadoop.hbase.client.Mutation mutation) |
void |
setClearBufferOnFail(boolean clearBufferOnFail) |
public AliHBaseUEBufferedMutator(AliHBaseUEConnection connection, org.apache.hadoop.hbase.TableName tableName) throws IOException
IOExceptionpublic org.apache.hadoop.hbase.TableName getName()
getName 在接口中 org.apache.hadoop.hbase.client.BufferedMutatorpublic org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration 在接口中 org.apache.hadoop.hbase.client.BufferedMutatorpublic void mutate(org.apache.hadoop.hbase.client.Mutation mutation)
throws InterruptedIOException,
org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException
mutate 在接口中 org.apache.hadoop.hbase.client.BufferedMutatorInterruptedIOExceptionorg.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsExceptionpublic void mutate(List<? extends org.apache.hadoop.hbase.client.Mutation> list) throws InterruptedIOException, org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException
mutate 在接口中 org.apache.hadoop.hbase.client.BufferedMutatorInterruptedIOExceptionorg.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在接口中 org.apache.hadoop.hbase.client.BufferedMutatorIOExceptionpublic void flush()
throws InterruptedIOException,
org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException
flush 在接口中 org.apache.hadoop.hbase.client.BufferedMutatorInterruptedIOExceptionorg.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsExceptionpublic long getWriteBufferSize()
getWriteBufferSize 在接口中 org.apache.hadoop.hbase.client.BufferedMutatorpublic void setClearBufferOnFail(boolean clearBufferOnFail)
Copyright © 2019. All rights reserved.