Class DroppedObject

java.lang.Object
dev.frostlake.metastore.DroppedObject

public class DroppedObject extends Object
A snapshot of a dropped object retained for UNDROP (Time Travel restore): the metadata object (Table / Schema / Database) plus the row data captured at drop time — a single row list for a dropped table, or getTableRows() keyed by fully-qualified table name for a dropped schema or database (which may contain many tables). The rows are snapshotted because the drop RELEASES the tables' storage, so the names are free to be created again while the data stays restorable.
  • Constructor Details

  • Method Details

    • getObject

      public Object getObject()
    • getRows

      public List<Row> getRows()
    • getTableRows

      public Map<String,List<Row>> getTableRows()
      Rows of every table in a dropped schema/database, keyed by fully-qualified name; null for a table.