Class MetadataSchema.ReplicationSection
- java.lang.Object
-
- org.apache.accumulo.core.metadata.schema.MetadataSchema.ReplicationSection
-
- Enclosing class:
- MetadataSchema
public static class MetadataSchema.ReplicationSection extends Object
Holds references to files that need replication~replhdfs://localhost:8020/accumulo/wal/tserver+port/WAL stat:local_table_id [] -> protobuf
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.hadoop.io.Text
COLF
-
Constructor Summary
Constructors Constructor Description ReplicationSection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
getFile(Key k, org.apache.hadoop.io.Text buff)
Extract the file name from the row suffix into the givenText
static Range
getRange()
static String
getRowPrefix()
static TableId
getTableId(Key k)
Extract the table ID from the colfam
-
-
-
Method Detail
-
getRange
public static Range getRange()
-
getRowPrefix
public static String getRowPrefix()
-
getTableId
public static TableId getTableId(Key k)
Extract the table ID from the colfam- Parameters:
k
- Key to extract from
-
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
-
-