Class ReplicationSchema.WorkSection
- java.lang.Object
-
- org.apache.accumulo.core.replication.ReplicationSchema.WorkSection
-
- Enclosing class:
- ReplicationSchema
public static class ReplicationSchema.WorkSection extends Object
Portion of a file that must be replication to the given target: peer and some identifying location on that peer, e.g. remote table IDhdfs://localhost:8020/accumulo/wal/tserver+port/WAL work:serialized_ReplicationTarget [] -> Status Protobuf
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.hadoop.io.TextNAME
-
Constructor Summary
Constructors Constructor Description WorkSection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Mutationadd(Mutation m, org.apache.hadoop.io.Text serializedTarget, Value v)static voidgetFile(Key k, org.apache.hadoop.io.Text buff)static ReplicationTargetgetTarget(Key k, org.apache.hadoop.io.Text buff)static voidlimit(ScannerBase scanner)Limit the scanner to only pull replication work records
-
-
-
Method Detail
-
getFile
public static void getFile(Key k, org.apache.hadoop.io.Text buff)
-
getTarget
public static ReplicationTarget getTarget(Key k, org.apache.hadoop.io.Text buff)
-
limit
public static void limit(ScannerBase scanner)
Limit the scanner to only pull replication work records
-
-