Class RootTabletMetadata


  • public class RootTabletMetadata
    extends Object
    This class is used to serialize and deserialize root tablet metadata using GSon. The only data stored about the Root Table is the COLUMN_FAMILY, COLUMN_QUALIFIER and VALUE.
    Since:
    2.1.0
    • Constructor Detail

      • RootTabletMetadata

        public RootTabletMetadata​(String json)
      • RootTabletMetadata

        public RootTabletMetadata()
    • Method Detail

      • update

        public void update​(Mutation m)
        Apply a metadata table mutation to update internal entries.
      • toJson

        public String toJson()
        Returns:
        a JSON representation of the root tablet's data.