Class CreateStructuresCommand

java.lang.Object
org.gridgain.internal.snapshots.catalog.CreateStructuresCommand
All Implemented Interfaces:
org.apache.ignite.internal.catalog.CatalogCommand, org.apache.ignite.internal.catalog.UpdateProducer

public class CreateStructuresCommand extends Object implements org.apache.ignite.internal.catalog.CatalogCommand
Catalog command responsible for the following actions.
  1. Drops existing structures (maps and sequences);
  2. Creates required structures.
  3. Renames system tables if required (i.e. sequence's table to have correct sequence ID).
  • Constructor Details

    • CreateStructuresCommand

      public CreateStructuresCommand(SnapshotMeta snapshotMeta)
      Creates a command.
      Parameters:
      snapshotMeta - Snapshot's meta.
  • Method Details

    • get

      public List<org.apache.ignite.internal.catalog.storage.UpdateEntry> get(org.apache.ignite.internal.catalog.UpdateContext updateContext)
      Specified by:
      get in interface org.apache.ignite.internal.catalog.UpdateProducer