Class RootTabletMetadata
- java.lang.Object
-
- org.apache.accumulo.core.metadata.schema.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 Summary
Constructors Constructor Description RootTabletMetadata()
RootTabletMetadata(String json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toJson()
TabletMetadata
toTabletMetadata()
Convert this class to aTabletMetadata
void
update(Mutation m)
Apply a metadata table mutation to update internal entries.
-
-
-
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.
-
toTabletMetadata
public TabletMetadata toTabletMetadata()
Convert this class to aTabletMetadata
-
toJson
public String toJson()
- Returns:
- a JSON representation of the root tablet's data.
-
-