19ArchiveIndexSchema::ArchiveIndexSchema()
23 "Archive ID of the persistable object that owns the records pointed at by this entry")),
24 catArchive(
schema.addField<int>(
26 "index of the catalog this entry points to, from the perspective of the archive")),
27 catPersistable(
schema.addField<int>(
29 "index of the catalog this entry points to, from the perspective of the Persistable")),
30 row0(
schema.addField<int>(
"row0",
"first row used by the persistable object in this catalog")),
31 nRows(
schema.addField<int>(
"nrows",
32 "number of rows used by the persistable object in this catalog")),
33 name(
schema.addField<
std::string>(
"name",
"unique name for the persistable object's class",
36 "module",
"Python module that should be imported to register the object's factory",
37 MAX_MODULE_LENGTH)) {}
table::Key< std::string > name
A base class for image defects.
Schema for the index catalog that specifies where objects are stored in the data catalogs.
static int const MAX_NAME_LENGTH
static constexpr int const NO_CATALOGS_SAVED
Special value used for catArchive, catPersistable, and row0 when an object with no state is saved.
static ArchiveIndexSchema const & get()
Return the singleton instance.