Uses of Interface
ac.simons.neo4j.migrations.core.catalog.CatalogItem
Package
Description
The main entry package to Neo4j-Migrations.
-
Uses of CatalogItem in ac.simons.neo4j.migrations.core
Modifier and TypeMethodDescriptionOptional<CatalogItem<?>>
VersionedCatalog.getItem
(Name name, MigrationVersion version) A single item for a given version.Optional<CatalogItem<?>>
VersionedCatalog.getItemPriorTo
(Name name, MigrationVersion version) A single item prior to a given version.VersionedCatalog.getItems
(MigrationVersion version) A list of all items up to and including a given version.VersionedCatalog.getItemsPriorTo
(MigrationVersion version) A list of all items prior to a given version. -
Uses of CatalogItem in ac.simons.neo4j.migrations.core.catalog
Modifier and TypeClassDescriptionfinal class
A somewhat Neo4j version independent representation of a constraint.final class
A somewhat Neo4j version independent representation of an index.Modifier and TypeMethodDescriptiondefault CatalogItem<T>
Creates a copy of this item with the specific name.Modifier and TypeMethodDescriptionCatalogDiff.getEquivalentItems()
Will always return an empty collection whenCatalogDiff.identical()
returns trueCatalog.getItems()
CatalogDiff.getItemsOnlyInLeft()
Will always return an empty collection whenCatalogDiff.identical()
returns trueCatalogDiff.getItemsOnlyInRight()
Will always return an empty collection whenCatalogDiff.identical()
returns trueModifier and TypeMethodDescriptiondefault boolean
Catalog.containsEquivalentItem
(CatalogItem<?> other) Helper method to check weather this catalog contains an equivalent itemdefault boolean
CatalogItem.isEquivalentTo
(CatalogItem<?> that) boolean
Constraint.isEquivalentTo
(CatalogItem<?> that) true, if item is a constraint of the same type for the same entity containing the same properties.boolean
Index.isEquivalentTo
(CatalogItem<?> that) true, if item is an index of the same type for the same entity containing the same properties.Modifier and TypeMethodDescriptionstatic Catalog
Catalog.of
(Collection<CatalogItem<?>> items) Creates a catalog based on the given collection.