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 Object
BufferedMutator
in a type safe manner.Constructor and Description |
---|
TypedBufferedMutator(org.apache.hadoop.hbase.client.BufferedMutator bufferedMutator) |
Modifier and Type | Method and Description |
---|---|
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> 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 IOException
IOException
public void mutate(List<? extends org.apache.hadoop.hbase.client.Mutation> mutations) throws IOException
IOException
public void close() throws IOException
IOException
public void flush() throws IOException
IOException
public long getWriteBufferSize()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.