Class DescriptorViewFactory
java.lang.Object
org.gridgain.internal.snapshots.meta.DescriptorViewFactory
Factory for creating JSON schema views for the Snapshot Meta file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTableSchemaView(org.apache.ignite.internal.catalog.descriptors.CatalogTableDescriptor tableDescriptor, @Nullable Integer parentSnapshotCatalogTableVersion) Creates a JSON view over the given table descriptor.createZoneDescriptorView(int zoneId) Creates a JSON view over the given descriptor.
-
Constructor Details
-
DescriptorViewFactory
public DescriptorViewFactory(org.apache.ignite.internal.catalog.Catalog catalog)
-
-
Method Details
-
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
Creates a JSON view over the given descriptor.
-