public static class ReplicationSchema.StatusSection extends Object
hdfs://localhost:8020/accumulo/wal/tserver+port/WAL repl:local_table_id []
-> Status Protobuf
Modifier and Type | Field and Description |
---|---|
static org.apache.hadoop.io.Text |
NAME |
Constructor and Description |
---|
StatusSection() |
Modifier and Type | Method and Description |
---|---|
static Mutation |
add(Mutation m,
Table.ID tableId,
Value v) |
static void |
getFile(Key k,
org.apache.hadoop.io.Text buff)
Extract the file name from the row suffix into the given
Text |
static Table.ID |
getTableId(Key k)
Extract the table ID from the key (inefficiently if called repeatedly)
|
static void |
limit(ScannerBase scanner)
Limit the scanner to only return Status records
|
public static Table.ID getTableId(Key k)
k
- Key to extract frompublic static void getFile(Key k, org.apache.hadoop.io.Text buff)
Text
k
- Key to extract frombuff
- Text to place file name intopublic static void limit(ScannerBase scanner)
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.