public interface TableWriter extends TableOperation
Acts as a container for one or more RowWriter elements and
encapsulates the HBase client Put and Delete operations for use in write operations across one or more graph
rows within a table.
RowWriter| Modifier and Type | Method and Description |
|---|---|
void |
addRowWriter(UUID uuid,
RowWriter rowContext)
Adds the given row writer context mapping it to the given UUID.
|
List<RowWriter> |
getAllRowWriters()
Returns all row writer context values for this table context.
|
org.apache.hadoop.hbase.client.BufferedMutator |
getBufferedMutator() |
DistributedWriter |
getDistributedWriter() |
String |
getQualifiedLogicalTableName()
Returns the qualified logical table name associated with this reader.
|
String |
getQualifiedPhysicalTableName()
Returns the qualified physical table name associated with this reader.
|
String |
getQualifiedPhysicalTableNamespace()
Returns the qualified physical table namespace associated with this reader.
|
RowWriter |
getRowWriter(UUID uuid)
Returns the row writer context for the given UUID
|
boolean |
hasConcurrentRows()
Return whether any concurrent rows have been detected for the table writer.
|
void |
setDistributedWriter(DistributedGraphWriter distributedGraphWriter)
Deprecated.
|
void |
setHasConcurrentRows(boolean value)
Sets whether any concurrent rows have been detected for the table writer.
|
close, getDistributedOperation, getTablegetMappingContext, getTableConfigDistributedWriter getDistributedWriter()
org.apache.hadoop.hbase.client.BufferedMutator getBufferedMutator()
String getQualifiedLogicalTableName()
String getQualifiedPhysicalTableName()
String getQualifiedPhysicalTableNamespace()
boolean hasConcurrentRows()
void setHasConcurrentRows(boolean value)
@Deprecated void setDistributedWriter(DistributedGraphWriter distributedGraphWriter)
RowWriter getRowWriter(UUID uuid)
uuid - the UUID stringvoid addRowWriter(UUID uuid, RowWriter rowContext)
uuid - the UUIDrowContext - the row writer contextCopyright © 2021. All Rights Reserved.