Class ReplicationSchema.StatusSection
- java.lang.Object
-
- org.apache.accumulo.core.replication.ReplicationSchema.StatusSection
-
- Enclosing class:
- ReplicationSchema
public static class ReplicationSchema.StatusSection extends Object
Holds replication markers tracking status for fileshdfs://localhost:8020/accumulo/wal/tserver+port/WAL repl:local_table_id [] -> Status Protobuf
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.hadoop.io.Text
NAME
-
Constructor Summary
Constructors Constructor Description StatusSection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Mutation
add(Mutation m, String tableId, Value v)
static void
getFile(Key k, org.apache.hadoop.io.Text buff)
Extract the file name from the row suffix into the givenText
static String
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
-
-
-
Method Detail
-
getTableId
public static String getTableId(Key k)
Extract the table ID from the key (inefficiently if called repeatedly)- Parameters:
k
- Key to extract from- Returns:
- The table ID
-
getFile
public static void getFile(Key k, org.apache.hadoop.io.Text buff)
Extract the file name from the row suffix into the givenText
- Parameters:
k
- Key to extract frombuff
- Text to place file name into
-
limit
public static void limit(ScannerBase scanner)
Limit the scanner to only return Status records
-
-