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,
org.apache.hadoop.io.Text 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 String |
getTableId(Key k)
Extract the table ID from the key (inefficiently if called repeatedly)
|
static void |
getTableId(Key k,
org.apache.hadoop.io.Text buff)
Extract the table ID from the key into the given
Text |
static void |
limit(ScannerBase scanner)
Limit the scanner to only return Status records
|
public static String getTableId(Key k)
k
- Key to extract fromgetTableId(Key,Text)
public static void getTableId(Key k, org.apache.hadoop.io.Text buff)
Text
k
- Key to extract frombuff
- Text to place table ID intopublic 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–2017 The Apache Software Foundation. All rights reserved.