Class ReplicationSchema.StatusSection

  • Enclosing class:

    public static class ReplicationSchema.StatusSection
    extends Object
    Holds replication markers tracking status for files
     hdfs://localhost:8020/accumulo/wal/tserver+port/WAL repl:local_table_id []
      -> Status Protobuf
    • Field Detail

      • NAME

        public static final NAME
    • Constructor Detail

      • StatusSection

        public StatusSection()
    • Method Detail

      • getTableId

        public static TableId getTableId​(Key k)
        Extract the table ID from the key (inefficiently if called repeatedly)
        k - Key to extract from
        The table ID
      • getFile

        public static void getFile​(Key k,
        Extract the file name from the row suffix into the given Text
        k - Key to extract from
        buff - Text to place file name into
      • limit

        public static void limit​(ScannerBase scanner)
        Limit the scanner to only return Status records