Class MetadataSchema.TabletsSection.TabletColumnFamily

  • Enclosing class:
    MetadataSchema.TabletsSection

    public static class MetadataSchema.TabletsSection.TabletColumnFamily
    extends Object
    Column family for storing the tablet information needed by clients
    • Field Detail

      • STR_NAME

        public static final String STR_NAME
        This needs to sort after all other column families for that tablet, because the PREV_ROW_COLUMN sits in this and that needs to sort last because the SimpleGarbageCollector relies on this.
        See Also:
        Constant Field Values
      • NAME

        public static final org.apache.hadoop.io.Text NAME
      • PREV_ROW_QUAL

        public static final String PREV_ROW_QUAL
        README : very important that prevRow sort last to avoid race conditions between garbage collector and split this needs to sort after everything else for that tablet
        See Also:
        Constant Field Values
      • PREV_ROW_COLUMN

        public static final ColumnFQ PREV_ROW_COLUMN
      • OLD_PREV_ROW_QUAL

        public static final String OLD_PREV_ROW_QUAL
        A temporary field in case a split fails and we need to roll back
        See Also:
        Constant Field Values
      • OLD_PREV_ROW_COLUMN

        public static final ColumnFQ OLD_PREV_ROW_COLUMN
      • SPLIT_RATIO_QUAL

        public static final String SPLIT_RATIO_QUAL
        A temporary field for splits to optimize certain operations
        See Also:
        Constant Field Values
      • SPLIT_RATIO_COLUMN

        public static final ColumnFQ SPLIT_RATIO_COLUMN
    • Constructor Detail

      • TabletColumnFamily

        public TabletColumnFamily()
    • Method Detail

      • encodePrevEndRow

        public static Value encodePrevEndRow​(org.apache.hadoop.io.Text per)
      • decodePrevEndRow

        public static org.apache.hadoop.io.Text decodePrevEndRow​(Value ibw)
      • createPrevRowMutation

        public static Mutation createPrevRowMutation​(KeyExtent ke)
        Creates a mutation that encodes a KeyExtent as a prevRow entry.