T - The class referring to the table to be written to.public class TypedBufferedMutator<T extends org.apache.hadoop.yarn.server.timelineservice.storage.common.BaseTable<T>>
extends java.lang.Object
BufferedMutator in a type safe manner.| Constructor | Description |
|---|---|
TypedBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutator bufferedMutator) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
flush() |
|
org.apache.hadoop.conf.Configuration |
getConfiguration() |
|
org.apache.hadoop.hbase.TableName |
getName() |
|
long |
getWriteBufferSize() |
|
void |
mutate(java.util.List<? extends org.apache.hadoop.hbase.client.Mutation> mutations) |
|
void |
mutate(org.apache.hadoop.hbase.client.Mutation mutation) |
public TypedBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutator bufferedMutator)
bufferedMutator - the mutator to be wrapped for delegation. Shall not
be null.public org.apache.hadoop.hbase.TableName getName()
public org.apache.hadoop.conf.Configuration getConfiguration()
public void mutate(org.apache.hadoop.hbase.client.Mutation mutation)
throws java.io.IOException
java.io.IOExceptionpublic void mutate(java.util.List<? extends org.apache.hadoop.hbase.client.Mutation> mutations)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic void flush()
throws java.io.IOException
java.io.IOExceptionpublic long getWriteBufferSize()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.