Class DescriptorViewFactory

java.lang.Object
org.gridgain.internal.snapshots.meta.DescriptorViewFactory

public class DescriptorViewFactory extends Object
Factory for creating JSON schema views for the Snapshot Meta file.
  • Constructor Details

    • DescriptorViewFactory

      public DescriptorViewFactory(org.apache.ignite.internal.catalog.Catalog catalog)
  • Method Details

    • zoneViews

      public Collection<ZoneDescriptorView> zoneViews()
    • createTableSchemaView

      public TableSchemaView createTableSchemaView(org.apache.ignite.internal.catalog.descriptors.CatalogTableDescriptor tableDescriptor, @Nullable @Nullable Integer parentSnapshotCatalogTableVersion)
      Creates a JSON view over the given table descriptor.
      Parameters:
      tableDescriptor - Table descriptor to create meta from.
      parentSnapshotCatalogTableVersion - Table version at the moment of the parent snapshot (null for FULL snapshot).
    • createZoneDescriptorView

      public ZoneDescriptorView createZoneDescriptorView(int zoneId)
      Creates a JSON view over the given descriptor.