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.TextNAME
-
Constructor Summary
Constructors Constructor Description StatusSection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Mutationadd(Mutation m, TableId tableId, Value v)static voidgetFile(Key k, org.apache.hadoop.io.Text buff)Extract the file name from the row suffix into the givenTextstatic TableIdgetTableId(Key k)Extract the table ID from the key (inefficiently if called repeatedly)static voidlimit(ScannerBase scanner)Limit the scanner to only return Status records
-
-
-
Method Detail
-
getTableId
public static TableId 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
-
-