Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractCypherBasedMigration - Class in ac.simons.neo4j.migrations.core
-
This is a utility class for every
Migration
that wants to provide Cypher to Neo4j-Migrations (via an extension). - AbstractCypherBasedMigration(CypherResource) - Constructor for class ac.simons.neo4j.migrations.core.AbstractCypherBasedMigration
-
Required to be called so that the
AbstractCypherBasedMigration.cypherResource
gets initialized proper - AbstractResourceBasedMigrationProvider - Class in ac.simons.neo4j.migrations.core
-
A utility class to avoid duplication of common characteristics of
migration providers
. - AbstractResourceBasedMigrationProvider(int, String, boolean) - Constructor for class ac.simons.neo4j.migrations.core.AbstractResourceBasedMigrationProvider
-
The given parameters are all required.
- ac.simons.neo4j.migrations.core - package ac.simons.neo4j.migrations.core
-
The main entry package to Neo4j-Migrations.
- ac.simons.neo4j.migrations.core.catalog - package ac.simons.neo4j.migrations.core.catalog
- ac.simons.neo4j.migrations.core.internal - package ac.simons.neo4j.migrations.core.internal
-
Internal, utility classes.
- ac.simons.neo4j.migrations.core.refactorings - package ac.simons.neo4j.migrations.core.refactorings
- add(Counters) - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
-
Add
rhs
to this instance, creating a new one - add(Counters) - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- APPLIED - Enum constant in enum ac.simons.neo4j.migrations.core.MigrationState
-
A migration already applied
- apply() - Method in class ac.simons.neo4j.migrations.core.Migrations
-
Applies all discovered Neo4j migrations.
- apply(boolean) - Method in class ac.simons.neo4j.migrations.core.Migrations
-
Applies all discovered Neo4j migrations.
- apply(MigrationContext) - Method in class ac.simons.neo4j.migrations.core.AbstractCypherBasedMigration
- apply(MigrationContext) - Method in interface ac.simons.neo4j.migrations.core.Migration
-
Implement your migration code here.
- apply(Refactoring...) - Method in class ac.simons.neo4j.migrations.core.Migrations
-
Applies one or more refactorings to the target (not the schema) database.
- apply(RefactoringContext) - Method in interface ac.simons.neo4j.migrations.core.refactorings.Refactoring
-
Applies this refactoring in the given context
- apply(URL...) - Method in class ac.simons.neo4j.migrations.core.Migrations
- APPLY - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element apply
- asBoolean(String, List<Object>, List<Object>) - Static method in interface ac.simons.neo4j.migrations.core.refactorings.Normalize
-
Normalizes respectively converts the property to a boolean or deletes it in case it is not in the lists of true or false values.
- AUTOCRLF - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Default setting for
autocrlf
. - AUTOCRLF_VALUE - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Same as
Defaults.AUTOCRLF
but asstring value
to be used in configuration that requires defaults given as string.
B
- BASE64_ENCODING - Static variable in class ac.simons.neo4j.migrations.core.internal.Strings
-
A Base64 encoder.
- between(Catalog, Catalog) - Static method in interface ac.simons.neo4j.migrations.core.catalog.CatalogDiff
-
Creates a diff between to catalogs
- build() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
- builder() - Static method in class ac.simons.neo4j.migrations.core.MigrationsConfig
-
Start building a new configuration.
- Builder() - Constructor for class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
Deprecated.
C
- canParse(String) - Static method in class ac.simons.neo4j.migrations.core.MigrationVersion
- capitalize(String) - Static method in class ac.simons.neo4j.migrations.core.internal.Strings
-
Capitalizes a string
- Catalog - Interface in ac.simons.neo4j.migrations.core.catalog
-
Represents a schema of Constraints Indizes and probably other things in the future to come.
- CATALOG - Enum constant in enum ac.simons.neo4j.migrations.core.MigrationType
-
Indicates a catalog based migration
- CATALOG - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element catalog.
- CatalogDiff - Interface in ac.simons.neo4j.migrations.core.catalog
-
This represents a diff results between two catalogs.
- CatalogItem<T extends ItemType> - Interface in ac.simons.neo4j.migrations.core.catalog
-
An item in the catalog (of either a single migration or the whole context with the merged catalog).
- CLASSPATH - Enum constant in enum ac.simons.neo4j.migrations.core.Location.LocationType
-
A location inside the classpath.
- ClasspathResourceScanner - Interface in ac.simons.neo4j.migrations.core
-
A scanner for Cypher resources (resources ending with
Defaults.CYPHER_SCRIPT_EXTENSION
) available in the classpath. - clean(boolean) - Method in class ac.simons.neo4j.migrations.core.Migrations
-
Cleans the
selected schema database
. - CleanResult - Class in ac.simons.neo4j.migrations.core
-
Result of a clean operation.
- close() - Method in interface ac.simons.neo4j.migrations.core.refactorings.QueryRunner
-
Defaults to a NOOP.
- COMMUNITY - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jEdition
-
Constant for the community edition.
- compare(String, String) - Method in class ac.simons.neo4j.migrations.core.internal.Neo4jVersionComparator
- COMPARE - Enum constant in enum ac.simons.neo4j.migrations.core.MigrationChain.ChainBuilderMode
-
Create the chain of applied and pending migrations by comparing the locally discovered migrations and the migrations applied remotely.
- ConnectionDetails - Interface in ac.simons.neo4j.migrations.core
-
Provides detailed information about the connection being used when invoking any method that talks to the database.
- Constraint - Class in ac.simons.neo4j.migrations.core.catalog
-
A somewhat Neo4j version independent representation of a constraint.
- CONSTRAINT - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element constraint.
- CONSTRAINT_BACKING_INDEX - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Index.Type
-
An index backing a constraint.
- Constraint.CommonConstraints - Interface in ac.simons.neo4j.migrations.core.catalog
-
Constraints available for both nodes and relationships.
- Constraint.ConstraintsForNodes - Interface in ac.simons.neo4j.migrations.core.catalog
-
Allows to specify the type of the constraint.
- Constraint.NodeConstraintBuilder - Interface in ac.simons.neo4j.migrations.core.catalog
-
Programmatic way of defining constraints for nodes.
- Constraint.RelationshipConstraintBuilder - Interface in ac.simons.neo4j.migrations.core.catalog
-
Programmatic way of defining constraints for relationships.
- Constraint.Type - Enum in ac.simons.neo4j.migrations.core.catalog
-
Enumerates the different kinds of constraints.
- CONSTRAINTS - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element constraints.
- constraintsAdded() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- constraintsAdded() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- constraintsRemoved() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- constraintsRemoved() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- containsEquivalentItem(CatalogItem<?>) - Method in interface ac.simons.neo4j.migrations.core.catalog.Catalog
-
Helper method to check weather this catalog contains an equivalent item
- Counters - Interface in ac.simons.neo4j.migrations.core.refactorings
-
Represents the available changes to the Graph done by a refactoring.
- Counters.Empty - Enum in ac.simons.neo4j.migrations.core.refactorings
-
An empty instance.
- create() - Static method in class ac.simons.neo4j.migrations.core.catalog.RenderConfig
-
Starts building a render context that eventually will result in a CREATE ... statement.
- CREATE - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Operator
-
The operand should be created.
- createFutureIndexes() - Static method in interface ac.simons.neo4j.migrations.core.refactorings.MigrateBTreeIndexes
-
Prepares migration of old B-tree indexes to indexes supported in the future by creating RANGE indexes in parallel.
- createFutureIndexes(String) - Static method in interface ac.simons.neo4j.migrations.core.refactorings.MigrateBTreeIndexes
-
Prepares migration of old B-tree indexes to indexes supported in the future by creating RANGE indexes in parallel.
- CustomizableRefactoring<T extends CustomizableRefactoring<T>> - Interface in ac.simons.neo4j.migrations.core.refactorings
-
A customizable refactoring.
- CYPHER - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Renderer.Format
-
The cypher dialect is defined by the renders context.
- CYPHER - Enum constant in enum ac.simons.neo4j.migrations.core.MigrationType
-
Indicates a Cypher-based migration.
- CYPHER_SCRIPT_ENCODING - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Default encoding for Cypher scripts.
- CYPHER_SCRIPT_EXTENSION - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Default script extension to look for.
- CYPHER_SINGLE_LINE_COMMENT - Static variable in class ac.simons.neo4j.migrations.core.internal.Strings
-
Single line comment indicator.
- cypherResource - Variable in class ac.simons.neo4j.migrations.core.AbstractCypherBasedMigration
-
The underlying resource representing the content of this migration.
- CypherResource - Interface in ac.simons.neo4j.migrations.core
-
Abstraction over Cypher resources.
- CypherResource.WithContent - Interface in ac.simons.neo4j.migrations.core
-
Terminal step of building a resource
- CypherResourceBasedMigrationProvider - Class in ac.simons.neo4j.migrations.core
-
Default handler for cypher resources.
- CypherResourceBasedMigrationProvider() - Constructor for class ac.simons.neo4j.migrations.core.CypherResourceBasedMigrationProvider
-
Save to call, but discouraged.
D
- DatabaseOperationResult - Interface in ac.simons.neo4j.migrations.core
-
A specialization of the
OperationResult
that always affects a database, either the default one or a named other. - DEFAULT_SUFFIX - Static variable in interface ac.simons.neo4j.migrations.core.refactorings.MigrateBTreeIndexes
-
The default suffix for constraints and indexes that are bound to replace old btree based constraints and indexes.
- DEFAULT_USER - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
The default Neo4j user to use.
- DefaultCatalogBasedMigrationProvider - Class in ac.simons.neo4j.migrations.core
-
Default handler for xml resources.
- DefaultCatalogBasedMigrationProvider() - Constructor for class ac.simons.neo4j.migrations.core.DefaultCatalogBasedMigrationProvider
-
Save to call, but discouraged.
- defaultConfig() - Static method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- defaultFeatureSet() - Static method in interface ac.simons.neo4j.migrations.core.refactorings.QueryRunner
-
The minimum required version is 4.4 by default.
- Defaults - Class in ac.simons.neo4j.migrations.core
-
Defaults for Migrations configuration.
- description - Variable in class ac.simons.neo4j.migrations.core.AbstractCypherBasedMigration
-
Deprecated.since 1.9.0, see
AbstractCypherBasedMigration.getOptionalDescription()
- DIFFERENT_CONTENT - Enum constant in enum ac.simons.neo4j.migrations.core.ValidationResult.Outcome
-
Some migrations have been changed since they have been applied to the target database or their version doesn't fit anymore.
- discover(MigrationContext) - Method in interface ac.simons.neo4j.migrations.core.Discoverer
-
Discover migrations within the given context.
- Discoverer<T> - Interface in ac.simons.neo4j.migrations.core
-
Discoverer of migrations.
- drop() - Static method in class ac.simons.neo4j.migrations.core.catalog.RenderConfig
-
Starts building a render context that eventually will result in a DROP ... statement.
- DROP - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Operator
-
The operand should be dropped;
E
- empty() - Static method in interface ac.simons.neo4j.migrations.core.catalog.Catalog
- empty() - Static method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- ENTERPRISE - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jEdition
-
Constant for the enterprise edition.
- equals(Object) - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- equals(Object) - Method in class ac.simons.neo4j.migrations.core.MigrationVersion
- equals(Object) - Method in class ac.simons.neo4j.migrations.core.refactorings.Merge.PropertyMergePolicy
- equivalent() - Method in interface ac.simons.neo4j.migrations.core.catalog.CatalogDiff
-
Will always return true when
CatalogDiff.identical()
returns true - error(SAXParseException) - Method in class ac.simons.neo4j.migrations.core.internal.ThrowingErrorHandler
- exists(String) - Method in interface ac.simons.neo4j.migrations.core.catalog.Constraint.CommonConstraints
-
Creates an existential constraint for the given property
- EXISTS - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Constraint.Type
-
Existential constraints.
F
- fatalError(SAXParseException) - Method in class ac.simons.neo4j.migrations.core.internal.ThrowingErrorHandler
- FILESYSTEM - Enum constant in enum ac.simons.neo4j.migrations.core.Location.LocationType
-
A location inside the filesystem.
- findSingleResultIdentifier(String) - Method in interface ac.simons.neo4j.migrations.core.refactorings.RefactoringContext
-
Looks if the query would potentially return a single, identifiable element that can be used as a source element in a refactoring.
- format(String, Object...) - Method in enum ac.simons.neo4j.migrations.core.Messages
-
Creates a
message format
from the value of the given key and uses the arguments to format it. - formatTo(Formatter, int, int, int) - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- forNode(String) - Static method in class ac.simons.neo4j.migrations.core.catalog.Constraint
-
Starts defining a new instance of a node constraint.
- forNode(String) - Static method in class ac.simons.neo4j.migrations.core.catalog.Index
-
Starts defining a new instance of a node index.
- forNode(String...) - Static method in class ac.simons.neo4j.migrations.core.catalog.Index
-
Starts defining a new instance of a node index.
- forRelationship(String) - Static method in class ac.simons.neo4j.migrations.core.catalog.Constraint
-
Starts defining a new instance of a relationship constraint.
- forRelationship(String) - Static method in class ac.simons.neo4j.migrations.core.catalog.Index
-
Starts defining a new instance of a node index.
- forRelationship(String...) - Static method in class ac.simons.neo4j.migrations.core.catalog.Index
-
Starts defining a new instance of a relationship index.
- forVersionAndEdition(Neo4jVersion, Neo4jEdition) - Method in interface ac.simons.neo4j.migrations.core.catalog.RenderConfig.Builder
- forVersionAndEdition(String, String) - Method in interface ac.simons.neo4j.migrations.core.catalog.RenderConfig.Builder
- fulltext(String...) - Method in interface ac.simons.neo4j.migrations.core.catalog.Index.NamedFulltextBuilder
-
Creates a fulltext index
- FULLTEXT - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Index.Type
-
Fulltext indexes for long text properties.
G
- generate(Class<?>, ItemType, TargetEntityType, String, Collection<String>, String) - Static method in interface ac.simons.neo4j.migrations.core.catalog.Name
-
Generates a name for the given combination of attributes in case a
CatalogItem
has no database intrinsic name - get(Renderer.Format, Class<T>) - Static method in interface ac.simons.neo4j.migrations.core.catalog.Renderer
-
Retrieves a renderer for the given
Renderer.Format
and the type matching type. - get(Renderer.Format, T) - Static method in interface ac.simons.neo4j.migrations.core.catalog.Renderer
-
Retrieves a renderer for the given
Renderer.Format
and givenitem
. - get(String) - Method in enum ac.simons.neo4j.migrations.core.Messages
-
Retrieves the message with the given key.
- getAffectedDatabase() - Method in class ac.simons.neo4j.migrations.core.CleanResult
- getAffectedDatabase() - Method in interface ac.simons.neo4j.migrations.core.DatabaseOperationResult
- getAffectedDatabase() - Method in class ac.simons.neo4j.migrations.core.ValidationResult
- getCatalog() - Method in interface ac.simons.neo4j.migrations.core.MigrationContext
- getCatalogAt(MigrationVersion) - Method in interface ac.simons.neo4j.migrations.core.VersionedCatalog
-
Creates a view on this catalog at the definition of
version
. - getCatalogPriorTo(MigrationVersion) - Method in interface ac.simons.neo4j.migrations.core.VersionedCatalog
-
Creates a view on this catalog prior to the definition of
version
. - getChainsDeleted() - Method in class ac.simons.neo4j.migrations.core.CleanResult
-
The list of chains deleted.
- getChecksum() - Method in class ac.simons.neo4j.migrations.core.AbstractCypherBasedMigration
- getChecksum() - Method in interface ac.simons.neo4j.migrations.core.CypherResource
- getChecksum() - Method in interface ac.simons.neo4j.migrations.core.Migration
- getChecksum() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain.Element
- getConfig() - Method in interface ac.simons.neo4j.migrations.core.MigrationContext
- getConfig() - Method in class ac.simons.neo4j.migrations.core.ResourceContext
- getConnectionDetails() - Method in interface ac.simons.neo4j.migrations.core.MigrationContext
-
The details will give detailed information about the user being connected, server address and which databases - if available - are being migrated and which are used to store the schema.
- getConnectionDetails() - Method in class ac.simons.neo4j.migrations.core.Migrations
- getConstraintsRemoved() - Method in class ac.simons.neo4j.migrations.core.CleanResult
- getDatabase() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
-
Deprecated.since 1.1.0, see
MigrationsConfig.getOptionalDatabase()
- getDatabaseCatalog() - Method in class ac.simons.neo4j.migrations.core.Migrations
-
Retrieves the database catalog
- getDatabaseName() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain
-
Deprecated.since 1.1.0, see
ConnectionDetails.getOptionalDatabaseName()
- getDefaultConstructorFor(Class<T>) - Static method in interface ac.simons.neo4j.migrations.core.JavaBasedMigration
-
Helper method for retrieving the default constructor of a given class.
- getDescription() - Method in class ac.simons.neo4j.migrations.core.AbstractCypherBasedMigration
- getDescription() - Method in interface ac.simons.neo4j.migrations.core.JavaBasedMigration
- getDescription() - Method in interface ac.simons.neo4j.migrations.core.Migration
-
Deprecated.Since 1.9.0 see
Migration.getOptionalDescription()
- getDescription() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain.Element
-
Deprecated.Since 1.9.0 see
MigrationChain.Element.getOptionalDescription()
- getDriver() - Method in interface ac.simons.neo4j.migrations.core.MigrationContext
- getElements() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain
- getEquivalentItems() - Method in interface ac.simons.neo4j.migrations.core.catalog.CatalogDiff
-
Will always return an empty collection when
CatalogDiff.identical()
returns true - getExecutableStatements() - Method in interface ac.simons.neo4j.migrations.core.CypherResource
-
Returns all statements that are not single line comments.
- getExecutionTime() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain.Element
- getExtension() - Method in class ac.simons.neo4j.migrations.core.AbstractResourceBasedMigrationProvider
- getExtension() - Method in class ac.simons.neo4j.migrations.core.CypherResourceBasedMigrationProvider
- getExtension() - Method in class ac.simons.neo4j.migrations.core.DefaultCatalogBasedMigrationProvider
- getExtension() - Method in interface ac.simons.neo4j.migrations.core.ResourceBasedMigrationProvider
- getIdentifier() - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- getIdentifier() - Method in interface ac.simons.neo4j.migrations.core.CypherResource
-
The identifier for this resource must be parsable into a
MigrationVersion
, seeMigrationVersion.canParse(String)
. - getIdentifier() - Method in class ac.simons.neo4j.migrations.core.ResourceContext
- getImpersonatedUser() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
-
Deprecated.since 1.1.0, see
MigrationsConfig.getOptionalImpersonatedUser()
- getIndentingTransformer() - Static method in class ac.simons.neo4j.migrations.core.internal.XMLUtils
- getIndexesRemoved() - Method in class ac.simons.neo4j.migrations.core.CleanResult
- getInstalledBy() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain.Element
- getInstalledBy() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
-
Deprecated.since 1.1.0, see
MigrationsConfig.getOptionalInstalledBy()
- getInstalledOn() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain.Element
- getItem(Name, MigrationVersion) - Method in interface ac.simons.neo4j.migrations.core.VersionedCatalog
-
A single item for a given version.
- getItemPriorTo(Name, MigrationVersion) - Method in interface ac.simons.neo4j.migrations.core.VersionedCatalog
-
A single item prior to a given version.
- getItems() - Method in interface ac.simons.neo4j.migrations.core.catalog.Catalog
- getItems(MigrationVersion) - Method in interface ac.simons.neo4j.migrations.core.VersionedCatalog
-
A list of all items up to and including a given version.
- getItemsOnlyInLeft() - Method in interface ac.simons.neo4j.migrations.core.catalog.CatalogDiff
-
Will always return an empty collection when
CatalogDiff.identical()
returns true - getItemsOnlyInRight() - Method in interface ac.simons.neo4j.migrations.core.catalog.CatalogDiff
-
Will always return an empty collection when
CatalogDiff.identical()
returns true - getItemsPriorTo(MigrationVersion) - Method in interface ac.simons.neo4j.migrations.core.VersionedCatalog
-
A list of all items prior to a given version.
- getLastAppliedVersion() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain
- getLocalCatalog() - Method in class ac.simons.neo4j.migrations.core.Migrations
-
Retrieves the local catalog, containing constraints and indexes.
- getLocationsToScan() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- getMajorVersion() - Method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
- getMigrationClassesDiscoverer() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- getMinorVersion() - Method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
- getName() - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- getName() - Method in interface ac.simons.neo4j.migrations.core.catalog.CatalogItem
- getName() - Method in enum ac.simons.neo4j.migrations.core.catalog.Constraint.Type
- getName() - Method in enum ac.simons.neo4j.migrations.core.catalog.Index.Type
- getName() - Method in interface ac.simons.neo4j.migrations.core.catalog.ItemType
- getName() - Method in class ac.simons.neo4j.migrations.core.Location
- getNodesDeleted() - Method in class ac.simons.neo4j.migrations.core.CleanResult
- getOptionalDatabase() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- getOptionalDatabaseName() - Method in interface ac.simons.neo4j.migrations.core.ConnectionDetails
- getOptionalDescription() - Method in class ac.simons.neo4j.migrations.core.AbstractCypherBasedMigration
- getOptionalDescription() - Method in interface ac.simons.neo4j.migrations.core.Migration
- getOptionalDescription() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain.Element
- getOptionalImpersonatedUser() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- getOptionalInstalledBy() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- getOptionalOptions() - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- getOptionalSchemaDatabase() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- getOptionalSchemaDatabaseName() - Method in interface ac.simons.neo4j.migrations.core.ConnectionDetails
- getOrder() - Method in class ac.simons.neo4j.migrations.core.AbstractResourceBasedMigrationProvider
- getOrder() - Method in class ac.simons.neo4j.migrations.core.CypherResourceBasedMigrationProvider
- getOrder() - Method in class ac.simons.neo4j.migrations.core.DefaultCatalogBasedMigrationProvider
- getOrder() - Method in interface ac.simons.neo4j.migrations.core.Ordered
- getOutcome() - Method in class ac.simons.neo4j.migrations.core.ValidationResult
- getPackagesToScan() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- getPrefix() - Method in enum ac.simons.neo4j.migrations.core.Location.LocationType
- getProperties() - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- getQueryRunner(QueryRunner.FeatureSet) - Method in interface ac.simons.neo4j.migrations.core.refactorings.RefactoringContext
-
Returns a simplified query runner with the given feature set.
- getRelationshipsDeleted() - Method in class ac.simons.neo4j.migrations.core.CleanResult
- getResourceScanner() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- getSchemaSession() - Method in interface ac.simons.neo4j.migrations.core.MigrationContext
-
The schema database might or might not be identical with the database that is to be migrated.
- getServerAddress() - Method in interface ac.simons.neo4j.migrations.core.ConnectionDetails
- getServerEdition() - Method in interface ac.simons.neo4j.migrations.core.ConnectionDetails
- getServerVersion() - Method in interface ac.simons.neo4j.migrations.core.ConnectionDetails
- getSession() - Method in interface ac.simons.neo4j.migrations.core.MigrationContext
-
Convenience method to return an imperative session against the configured server and database.
- getSessionConfig() - Method in interface ac.simons.neo4j.migrations.core.MigrationContext
-
Use this session config in your Java-based migration to make sure you use the same database as the migration tool itself.
- getSessionConfig(UnaryOperator<SessionConfig.Builder>) - Method in interface ac.simons.neo4j.migrations.core.MigrationContext
-
This method provides a callback that will be applied to the
SessionConfig.Builder
just before aSessionConfig
is created. - getShowConstraints() - Method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
- getShowIndexes() - Method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
- getSingleLineComments() - Method in interface ac.simons.neo4j.migrations.core.CypherResource
- getSource() - Method in class ac.simons.neo4j.migrations.core.AbstractCypherBasedMigration
-
This can be overridden to provide a better identifier for this source (for example an anchor in an adoc file).
- getSource() - Method in interface ac.simons.neo4j.migrations.core.JavaBasedMigration
- getSource() - Method in interface ac.simons.neo4j.migrations.core.Migration
- getSource() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain.Element
- getState() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain.Element
- getTargetEntityType() - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- getTransactionMode() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- getType() - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- getType() - Method in interface ac.simons.neo4j.migrations.core.catalog.CatalogItem
- getType() - Method in class ac.simons.neo4j.migrations.core.Location
- getType() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain.Element
- getUrl() - Method in class ac.simons.neo4j.migrations.core.ResourceContext
- getUserAgent() - Static method in class ac.simons.neo4j.migrations.core.Migrations
- getUsername() - Method in interface ac.simons.neo4j.migrations.core.ConnectionDetails
- getValue() - Method in interface ac.simons.neo4j.migrations.core.catalog.Name
- getValue() - Method in class ac.simons.neo4j.migrations.core.MigrationVersion
- getVersion() - Method in class ac.simons.neo4j.migrations.core.AbstractCypherBasedMigration
- getVersion() - Method in interface ac.simons.neo4j.migrations.core.JavaBasedMigration
- getVersion() - Method in interface ac.simons.neo4j.migrations.core.Migration
- getVersion() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain.Element
- getWarnings() - Method in interface ac.simons.neo4j.migrations.core.OperationResult
- getWarnings() - Method in class ac.simons.neo4j.migrations.core.ValidationResult
H
- handle(ResourceContext) - Method in class ac.simons.neo4j.migrations.core.CypherResourceBasedMigrationProvider
- handle(ResourceContext) - Method in class ac.simons.neo4j.migrations.core.DefaultCatalogBasedMigrationProvider
- handle(ResourceContext) - Method in interface ac.simons.neo4j.migrations.core.ResourceBasedMigrationProvider
-
Handles the resource of the given context and produces one or more new migrations.
- hasBatchingSupport() - Method in class ac.simons.neo4j.migrations.core.refactorings.QueryRunner.FeatureSet
- hasElementIdSupport() - Method in class ac.simons.neo4j.migrations.core.refactorings.QueryRunner.FeatureSet
- hasGeneratedName() - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- hasGeneratedName() - Method in interface ac.simons.neo4j.migrations.core.catalog.CatalogItem
- hashCode() - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- hashCode() - Method in class ac.simons.neo4j.migrations.core.MigrationVersion
- hashCode() - Method in class ac.simons.neo4j.migrations.core.refactorings.Merge.PropertyMergePolicy
- hasIdempotentOperations() - Method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
- hasPlacesToLookForMigrations() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
-
Deprecated.Since 1.1.0, will be removed from public without replacement.
- hasTextIndexes() - Method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
- HIGHEST_PRECEDENCE - Static variable in interface ac.simons.neo4j.migrations.core.Ordered
-
Constant for the order with the highest precedence.
I
- idempotent(boolean) - Method in interface ac.simons.neo4j.migrations.core.catalog.RenderConfig.Builder
-
Turn the outcome into a potentially idempotent fashion
- identical() - Method in interface ac.simons.neo4j.migrations.core.catalog.CatalogDiff
- identifiedBy(String) - Method in interface ac.simons.neo4j.migrations.core.CypherResource.WithContent
-
Adds an identifier to the content and builds the resource.
- ifExists() - Method in interface ac.simons.neo4j.migrations.core.catalog.RenderConfig.IfExistsConfigBuilder
- ifNotExists() - Method in interface ac.simons.neo4j.migrations.core.catalog.RenderConfig.IfNotExistsConfigBuilder
- ignoreName() - Method in class ac.simons.neo4j.migrations.core.catalog.RenderConfig
-
This is useful to get a render context that ignores the name of an object to force dropping things created without a name.
- inBatchesOf(Integer) - Method in interface ac.simons.neo4j.migrations.core.refactorings.CustomizableRefactoring
-
Creates a new
refactoring
that may use batching (if the new batch size is not null and greater than 1 - includingOptions() - Method in interface ac.simons.neo4j.migrations.core.catalog.RenderConfig.CypherRenderingOptions
- INCOMPLETE_DATABASE - Enum constant in enum ac.simons.neo4j.migrations.core.ValidationResult.Outcome
-
The target database has not been fully migrated, meaning there are resolved migrations that have not been applied.
- INCOMPLETE_MIGRATIONS - Enum constant in enum ac.simons.neo4j.migrations.core.ValidationResult.Outcome
-
Some migrations have been applied to the target database that cannot be resolved locally any longer.
- Index - Class in ac.simons.neo4j.migrations.core.catalog
-
A somewhat Neo4j version independent representation of an index.
- INDEX - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element indexes.
- Index.Builder - Interface in ac.simons.neo4j.migrations.core.catalog
-
Programmatic way of defining indexes.
- Index.FulltextBuilder - Interface in ac.simons.neo4j.migrations.core.catalog
-
A fulltext builder, the only index allowing multiple types when being created.
- Index.NamedBuilder - Interface in ac.simons.neo4j.migrations.core.catalog
-
Marker for the step after an index has been given a name.
- Index.NamedFulltextBuilder - Interface in ac.simons.neo4j.migrations.core.catalog
-
Fulltext is the only index available for multiple labels and multiple types in on go.
- Index.NamedSingleIdentifierBuilder - Interface in ac.simons.neo4j.migrations.core.catalog
-
Allows to specify the type of the constraint.
- Index.Type - Enum in ac.simons.neo4j.migrations.core.catalog
-
Enumerates the different kinds of indexes.
- INDEXES - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element indexes.
- indexesAdded() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- indexesAdded() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- indexesRemoved() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- indexesRemoved() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- info() - Method in class ac.simons.neo4j.migrations.core.Migrations
-
Returns information about the context, the database, all applied and all pending applications.
- info(MigrationChain.ChainBuilderMode) - Method in class ac.simons.neo4j.migrations.core.Migrations
-
Returns information about the context, the database, all applied and all pending applications.
- INSTANCE - Enum constant in enum ac.simons.neo4j.migrations.core.Messages
-
The single instance.
- INSTANCE - Enum constant in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
-
The single, empty instance.
- isApplied(String) - Method in interface ac.simons.neo4j.migrations.core.MigrationChain
- isAutocrlf() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- isBlank(String) - Static method in class ac.simons.neo4j.migrations.core.internal.Strings
- isEmpty() - Method in interface ac.simons.neo4j.migrations.core.catalog.Catalog
- isEquivalentTo(CatalogItem<?>) - Method in interface ac.simons.neo4j.migrations.core.catalog.CatalogItem
- isEquivalentTo(CatalogItem<?>) - Method in class ac.simons.neo4j.migrations.core.catalog.Constraint
-
true, if item is a constraint of the same type for the same entity containing the same properties.
- isEquivalentTo(CatalogItem<?>) - Method in class ac.simons.neo4j.migrations.core.catalog.Index
-
true, if item is an index of the same type for the same entity containing the same properties.
- isPriorTo44() - Method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
- isSingleLineComment(String) - Static method in class ac.simons.neo4j.migrations.core.internal.Strings
-
This won't match a statement like
- isValid() - Method in class ac.simons.neo4j.migrations.core.ValidationResult
- isValidateOnMigrate() - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
- ItemType - Interface in ac.simons.neo4j.migrations.core.catalog
-
Marker interface for detailed item type specifications (such as a unique constraint or a BTREE index).
- iterator() - Method in class ac.simons.neo4j.migrations.core.internal.NodeSetDataImpl
J
- JAVA - Enum constant in enum ac.simons.neo4j.migrations.core.MigrationType
-
Indicates a Java-based migration.
- JavaBasedMigration - Interface in ac.simons.neo4j.migrations.core
-
Interface to be implemented for Java-based migrations.
K
- KEEP_ALL - Enum constant in enum ac.simons.neo4j.migrations.core.refactorings.Merge.PropertyMergePolicy.Strategy
-
Keep all of them and collect them into an array on the target node.
- KEEP_FIRST - Enum constant in enum ac.simons.neo4j.migrations.core.refactorings.Merge.PropertyMergePolicy.Strategy
-
Keep only the first one.
- KEEP_LAST - Enum constant in enum ac.simons.neo4j.migrations.core.refactorings.Merge.PropertyMergePolicy.Strategy
-
Keep only the last one.
- key(String...) - Method in interface ac.simons.neo4j.migrations.core.catalog.Constraint.ConstraintsForNodes
-
Creates a key constraint for the given property
- KEY - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Constraint.Type
-
Key constraints.
L
- label(String, String) - Static method in interface ac.simons.neo4j.migrations.core.refactorings.Rename
-
Provides a refactoring renaming a given node label.
- LABEL - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element label.
- labelsAdded() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- labelsAdded() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- labelsRemoved() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- labelsRemoved() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- LATEST - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Constant when we assume the latest version.
- LINE_DELIMITER - Static variable in class ac.simons.neo4j.migrations.core.internal.Strings
-
Pattern used for splitting lines.
- LOCAL - Enum constant in enum ac.simons.neo4j.migrations.core.MigrationChain.ChainBuilderMode
-
Build a chain only based on locally discovered migrations and assume all migrations are pending.
- Location - Class in ac.simons.neo4j.migrations.core
- Location.LocationType - Enum in ac.simons.neo4j.migrations.core
-
A location type.
- LOCATIONS_TO_SCAN - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Default locations to scan (with a
Location.LocationType
prefix). - LOCATIONS_TO_SCAN_VALUE - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Default locations to scan (with a
Location.LocationType
prefix). - LOCATIONS_TO_SCAN_WITHOUT_PREFIX - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Default package or folder name for locations to scan, agnostic to classpath or filesystem.
- LOGGER - Static variable in interface ac.simons.neo4j.migrations.core.refactorings.MigrateBTreeIndexes
-
Items that are not dropped will be logged through this logger.
- logTo(Logger, boolean) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig
-
Helper method to pretty print this configuration into a logger (on level INFO respectively WARNING.
- LOOKUP - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Index.Type
-
A lookup index.
- LOWEST_PRECEDENCE - Static variable in interface ac.simons.neo4j.migrations.core.Ordered
-
Constant for the order with the lowest precedence.
M
- MD5 - Static variable in class ac.simons.neo4j.migrations.core.internal.Strings
-
Function for creating an MD5 representation of a byte array.
- Merge - Interface in ac.simons.neo4j.migrations.core.refactorings
-
Refactoring that allows merging of entities.
- Merge.PropertyMergePolicy - Class in ac.simons.neo4j.migrations.core.refactorings
-
A
property merge policy
defines how properties with the same name defined on several nodes to be merged should be handled. - Merge.PropertyMergePolicy.Strategy - Enum in ac.simons.neo4j.migrations.core.refactorings
-
The strategy how to deal with multiple properties of the same name.
- Messages - Enum in ac.simons.neo4j.migrations.core
-
Accessor to messages shared between the core module and extensions.
- MigrateBTreeIndexes - Interface in ac.simons.neo4j.migrations.core.refactorings
-
Migrates existing B-tree indexes and constraints backed by such indexes to Neo4j 5.0+ and higher supported indexes.
- Migration - Interface in ac.simons.neo4j.migrations.core
-
Base interface for any migration.
- MIGRATION - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for migration
- MIGRATION_NS - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
The namespace constant.
- MigrationChain - Interface in ac.simons.neo4j.migrations.core
-
Public information about an applied migration.
- MigrationChain.ChainBuilderMode - Enum in ac.simons.neo4j.migrations.core
-
Used for selecting how the
MigrationChain
should be computed. - MigrationChain.Element - Interface in ac.simons.neo4j.migrations.core
-
A chain element describing a pending or applied migration.
- MigrationContext - Interface in ac.simons.neo4j.migrations.core
-
Parameter object / context for migrations to be applied.
- Migrations - Class in ac.simons.neo4j.migrations.core
-
Main entry to Neo4j Migrations
- Migrations(MigrationsConfig, Driver) - Constructor for class ac.simons.neo4j.migrations.core.Migrations
-
Creates a
migrations instance
ready to used with the given configuration over the connection defined by thedriver
. - MigrationsConfig - Class in ac.simons.neo4j.migrations.core
-
Configuration for Migrations.
- MigrationsConfig.Builder - Class in ac.simons.neo4j.migrations.core
-
A builder to create new instances of
configurations
. - MigrationsConfig.TransactionMode - Enum in ac.simons.neo4j.migrations.core
-
Used for configuring the transaction mode in Cypher-based transactions.
- MigrationsException - Exception in ac.simons.neo4j.migrations.core
-
An unchecked exception that is thrown when something didn't work as expected.
- MigrationsException(String) - Constructor for exception ac.simons.neo4j.migrations.core.MigrationsException
-
Constructs a new exception with the given message.
- MigrationsException(String, Throwable) - Constructor for exception ac.simons.neo4j.migrations.core.MigrationsException
-
Constructs a new exception with the given message and cause.
- MigrationState - Enum in ac.simons.neo4j.migrations.core
-
State of a migration.
- MigrationType - Enum in ac.simons.neo4j.migrations.core
-
Type of migration.
- MigrationVersion - Class in ac.simons.neo4j.migrations.core
-
A migrations version.
N
- Name - Interface in ac.simons.neo4j.migrations.core.catalog
-
The unique id of an
item
. - NAME - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the attribute name.
- named(String) - Method in interface ac.simons.neo4j.migrations.core.catalog.Constraint.NodeConstraintBuilder
-
Adds a name to the constraint
- named(String) - Method in interface ac.simons.neo4j.migrations.core.catalog.Constraint.RelationshipConstraintBuilder
-
Adds a name to the constraint
- named(String) - Method in interface ac.simons.neo4j.migrations.core.catalog.Index.Builder
-
Adds a name to the index
- named(String) - Method in interface ac.simons.neo4j.migrations.core.catalog.Index.FulltextBuilder
-
Adds a name to the index
- needsRepair() - Method in class ac.simons.neo4j.migrations.core.ValidationResult
-
If this method returns false, the database is either valid or the resolved migrations can be applied to bring the database into a valid state.
- Neo4jEdition - Enum in ac.simons.neo4j.migrations.core
-
Represents a Neo4j edition.
- Neo4jVersion - Enum in ac.simons.neo4j.migrations.core
-
Simplified Neo4j version, fuzzy if you want so (just looking at Major.Minor, not the patches).
- Neo4jVersionComparator - Class in ac.simons.neo4j.migrations.core.internal
-
Compares two Neo4j versions strings.
- Neo4jVersionComparator() - Constructor for class ac.simons.neo4j.migrations.core.internal.Neo4jVersionComparator
- NODE - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.TargetEntityType
-
The target entity is a node, the identifier is used as a label.
- nodeProperty(String, String) - Static method in interface ac.simons.neo4j.migrations.core.refactorings.Rename
-
Provides a refactoring renaming a property on a node.
- nodes(String) - Static method in interface ac.simons.neo4j.migrations.core.refactorings.Merge
-
Provides a refactoring merging a set of nodes.
- nodes(String, List<Merge.PropertyMergePolicy>) - Static method in interface ac.simons.neo4j.migrations.core.refactorings.Merge
-
Provides a refactoring merging a set of nodes.
- nodesCreated() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- nodesCreated() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- nodesDeleted() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- nodesDeleted() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- NodeSetDataImpl - Class in ac.simons.neo4j.migrations.core.internal
-
A simple implementation of
NodeSetData
, working on a flat list ofnodes
. - NoopDOMCryptoContext - Class in ac.simons.neo4j.migrations.core.internal
-
This no-operation context is used while computing checksums of XML.
- NoopDOMCryptoContext() - Constructor for class ac.simons.neo4j.migrations.core.internal.NoopDOMCryptoContext
- Normalize - Interface in ac.simons.neo4j.migrations.core.refactorings
-
Normalizes Graph properties
O
- of(String) - Static method in interface ac.simons.neo4j.migrations.core.catalog.Name
-
Turns a name value into a
Name
. - of(String) - Static method in class ac.simons.neo4j.migrations.core.Location
-
Creates a new
Location
object from a given location that has an optional prefix (protocol) and a name - of(String) - Static method in enum ac.simons.neo4j.migrations.core.Neo4jEdition
- of(String) - Static method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Parses a version string in a lenient way.
- of(String, boolean) - Static method in enum ac.simons.neo4j.migrations.core.Neo4jEdition
- of(String, Merge.PropertyMergePolicy.Strategy) - Static method in class ac.simons.neo4j.migrations.core.refactorings.Merge.PropertyMergePolicy
-
Create a new policy.
- of(URL) - Static method in interface ac.simons.neo4j.migrations.core.CypherResource
-
Creates a new resource for the given URL, using the default settings for autocrlf.
- of(URL, boolean) - Static method in interface ac.simons.neo4j.migrations.core.CypherResource
-
Creates a new resource for the given URL.
- of(URL, MigrationsConfig) - Static method in class ac.simons.neo4j.migrations.core.ResourceContext
-
Static factory method, might be helpful during tests of additional providers
- of(Collection<CatalogItem<?>>) - Static method in interface ac.simons.neo4j.migrations.core.catalog.Catalog
-
Creates a catalog based on the given collection.
- of(List<Node>) - Static method in class ac.simons.neo4j.migrations.core.internal.NodeSetDataImpl
-
Build a
NodeSetData
from the given list of elements. - of(Map<String, Integer>) - Static method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
-
Creates a new
Counters
instance from the values inside a map. - of(Document) - Static method in interface ac.simons.neo4j.migrations.core.catalog.Catalog
-
Creates a catalog based on a document following the schema of /ac/simons/neo4j/migrations/core/migration.xsd.
- onProperties(String...) - Method in interface ac.simons.neo4j.migrations.core.catalog.Index.NamedSingleIdentifierBuilder
-
Creates a property index
- OperationResult - Interface in ac.simons.neo4j.migrations.core
-
Represents the result of some operations.
- Operator - Enum in ac.simons.neo4j.migrations.core.catalog
-
The operator to an operation.
- optionalHeader() - Method in interface ac.simons.neo4j.migrations.core.catalog.RenderConfig.XMLRenderingOptions
- optionalOf(String) - Static method in class ac.simons.neo4j.migrations.core.internal.Strings
-
Creates an optional value from a given string value, filtering additionally on blankness.
- options - Variable in class ac.simons.neo4j.migrations.core.catalog.Index
-
Any additional options to be passed to the item.
- OPTIONS - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element options.
- Ordered - Interface in ac.simons.neo4j.migrations.core
-
Same semantics as
org.springframework.core.Ordered
: The actual order can be interpreted as prioritization, with the first object (with the lowest order value) having the highest priority.
P
- parse(MapAccessor) - Static method in class ac.simons.neo4j.migrations.core.catalog.Constraint
-
Parses a constraint from a
MapAccessor
, which will either contain a result fromcall db.constraints()
(Neo4j 3.5 upto 4.1) or fromSHOW CONSTRAINTS YIELD *
from Neo4j 4.2 and upwards - parse(MapAccessor) - Static method in class ac.simons.neo4j.migrations.core.catalog.Index
-
Parses an index from a
MapAccessor
- parse(Element) - Static method in class ac.simons.neo4j.migrations.core.catalog.Constraint
-
Creates a constraint from a xml definition.
- parse(Element) - Static method in class ac.simons.neo4j.migrations.core.catalog.Index
-
Creates an index from a xml definition.
- pattern() - Method in class ac.simons.neo4j.migrations.core.refactorings.Merge.PropertyMergePolicy
- PENDING - Enum constant in enum ac.simons.neo4j.migrations.core.MigrationState
-
A pending migration (available as Java or Cypher-based migration)
- PER_MIGRATION - Enum constant in enum ac.simons.neo4j.migrations.core.MigrationsConfig.TransactionMode
-
Run all statements in one transaction.
- PER_STATEMENT - Enum constant in enum ac.simons.neo4j.migrations.core.MigrationsConfig.TransactionMode
-
Runs each statement in a separate transaction.
- POINT - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Index.Type
-
Point indexes for 5.0 and later.
- prettyPrint() - Method in class ac.simons.neo4j.migrations.core.CleanResult
- prettyPrint() - Method in interface ac.simons.neo4j.migrations.core.MigrationChain
-
Pretty prints this chain as an ASCII table.
- prettyPrint() - Method in interface ac.simons.neo4j.migrations.core.OperationResult
- prettyPrint() - Method in class ac.simons.neo4j.migrations.core.ValidationResult
- PROPERTIES - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element properties.
- propertiesSet() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- propertiesSet() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- PROPERTY - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Index.Type
-
An index on properties.
- PROPERTY - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element property.
Q
- QueryRunner - Interface in ac.simons.neo4j.migrations.core.refactorings
-
A simplification over a standard .
- QueryRunner.FeatureSet - Class in ac.simons.neo4j.migrations.core.refactorings
-
Defines a feature set for any newly opened query runner.
R
- REFACTOR - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element refactor
- Refactoring - Interface in ac.simons.neo4j.migrations.core.refactorings
-
Executable definition of a refactoring.
- RefactoringContext - Interface in ac.simons.neo4j.migrations.core.refactorings
-
A wrapper around access to a Neo4j database.
- RELATIONSHIP - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.TargetEntityType
-
The target entity is a relationship, the identifier is used as a type.
- relationshipProperty(String, String) - Static method in interface ac.simons.neo4j.migrations.core.refactorings.Rename
-
Provides a refactoring renaming a property on a relationship.
- REMOTE - Enum constant in enum ac.simons.neo4j.migrations.core.MigrationChain.ChainBuilderMode
-
Build a chain only based on remotely applied migrations and assume all migrations are applied.
- Rename - Interface in ac.simons.neo4j.migrations.core.refactorings
-
Renames entities or properties of entities.
- render(T, RenderConfig) - Method in interface ac.simons.neo4j.migrations.core.catalog.Renderer
-
Renders a schema item.
- render(T, RenderConfig, OutputStream) - Method in interface ac.simons.neo4j.migrations.core.catalog.Renderer
-
Renders a schema item.
- RenderConfig - Class in ac.simons.neo4j.migrations.core.catalog
-
Contextual information passed to renderers.
- RenderConfig.AdditionalRenderingOptions - Interface in ac.simons.neo4j.migrations.core.catalog
-
Deprecated.Not meant to be part of a public API, but cannot restrict it in Java 8
- RenderConfig.Builder - Interface in ac.simons.neo4j.migrations.core.catalog
-
Defines the version and the edition of the current context.
- RenderConfig.CypherRenderingOptions - Interface in ac.simons.neo4j.migrations.core.catalog
-
Additional options passed to a Cypher renderer.
- RenderConfig.IfExistsConfigBuilder - Interface in ac.simons.neo4j.migrations.core.catalog
-
Allows adding idempotency to the context.
- RenderConfig.IfNotExistsConfigBuilder - Interface in ac.simons.neo4j.migrations.core.catalog
-
Allows adding idempotency to the context.
- RenderConfig.XMLRenderingOptions - Interface in ac.simons.neo4j.migrations.core.catalog
-
Additional options passed to an XML renderer.
- Renderer<T> - Interface in ac.simons.neo4j.migrations.core.catalog
-
Renders constraints.
- Renderer.Format - Enum in ac.simons.neo4j.migrations.core.catalog
-
Target formats
- replaceBTreeIndexes() - Static method in interface ac.simons.neo4j.migrations.core.refactorings.MigrateBTreeIndexes
-
Replaces all B-tree indexes and constraints backed with B-tree indexes with new Range indexes.
- replaceElementIdCalls(String) - Static method in class ac.simons.neo4j.migrations.core.internal.Strings
-
Replaces all calls to
elementId()
(A Neo4j 5 feature) with a combination oftoString(id())
so that callers can reliably work on String based ids. - requiredVersion() - Method in class ac.simons.neo4j.migrations.core.refactorings.QueryRunner.FeatureSet
- RESET - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the reset attribute.
- ResourceBasedMigrationProvider - Interface in ac.simons.neo4j.migrations.core
-
An interface defining a provider with a set of supported extension and a mapper from resource to
Migration
. - ResourceContext - Class in ac.simons.neo4j.migrations.core
-
A context in which a resource with a given URL was discovered.
- run(Query) - Method in interface ac.simons.neo4j.migrations.core.refactorings.QueryRunner
-
Runs the given query and returns the result.
S
- sanitizeSchemaName(String) - Method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Escapes the string potentiallyNonIdentifier in all cases when it's not a valid Cypher identifier, fitting the given version
- sanitizeSchemaName(String) - Method in interface ac.simons.neo4j.migrations.core.refactorings.RefactoringContext
-
Escapes the string potentiallyNonIdentifier in all cases when it's not a valid Cypher identifier in the given context
- scan(List<String>) - Method in interface ac.simons.neo4j.migrations.core.ClasspathResourceScanner
-
Scan the given locations for resources matching the criteria of this scanner.
- strategy() - Method in class ac.simons.neo4j.migrations.core.refactorings.Merge.PropertyMergePolicy
- Strings - Class in ac.simons.neo4j.migrations.core.internal
-
Internally used String utilities.
- SUPPORTED_OPERATIONS - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for the element names of supported operations.
- supportsArbitraryResourceNames() - Method in class ac.simons.neo4j.migrations.core.AbstractResourceBasedMigrationProvider
- supportsArbitraryResourceNames() - Method in interface ac.simons.neo4j.migrations.core.ResourceBasedMigrationProvider
-
Return true if the provider has different ways how to map from file / resource names to a valid
version
. - supportsSchemaOptions() - Method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
T
- TargetEntityType - Enum in ac.simons.neo4j.migrations.core.catalog
-
Enumerates possible target entities of constraints and indexes.
- text(String) - Method in interface ac.simons.neo4j.migrations.core.catalog.Index.NamedSingleIdentifierBuilder
-
Creates a native Neo4j text index
- TEXT - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Index.Type
-
Text indexes for 4.4 and later.
- ThrowingErrorHandler - Class in ac.simons.neo4j.migrations.core.internal
-
A throwing error handler used when building
documents
for which a scheme is available. - ThrowingErrorHandler() - Constructor for class ac.simons.neo4j.migrations.core.internal.ThrowingErrorHandler
- toCamelCase(String) - Static method in class ac.simons.neo4j.migrations.core.internal.Strings
-
Transforms a string with words separated by _ into a camelCase string.
- toString() - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- toString() - Method in class ac.simons.neo4j.migrations.core.MigrationVersion
- toString() - Method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
- TRANSACTION_MODE - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Default transaction mode to use.
- TRANSACTION_MODE_VALUE - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Same as
Defaults.LOCATIONS_TO_SCAN
but asstring value
to be used in configuration that requires defaults given as string. - type(String, String) - Static method in interface ac.simons.neo4j.migrations.core.refactorings.Rename
-
Provides a refactoring renaming a given relationship type.
- TYPE - Static variable in class ac.simons.neo4j.migrations.core.internal.XMLSchemaConstants
-
Constant for type (both used as attribute and element).
- typesAdded() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- typesAdded() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
- typesRemoved() - Method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
- typesRemoved() - Method in interface ac.simons.neo4j.migrations.core.refactorings.Counters
U
- UncheckedNoSuchAlgorithmException - Exception in ac.simons.neo4j.migrations.core.internal
-
Unchecked analogue to
UncheckedIOException
. - UNDEFINED - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jEdition
-
Constant for an unknown edition.
- UNDEFINED - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Constant for an undefined version.
- UNDEFINED - Enum constant in enum ac.simons.neo4j.migrations.core.ValidationResult.Outcome
-
The database is in an undefined state.
- unique() - Static method in interface ac.simons.neo4j.migrations.core.ResourceBasedMigrationProvider
- unique(String...) - Method in interface ac.simons.neo4j.migrations.core.catalog.Constraint.ConstraintsForNodes
-
Creates a unique constraint for the given property
- UNIQUE - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Constraint.Type
-
Unique constraints.
- useExplicitPropertyIndexType() - Method in interface ac.simons.neo4j.migrations.core.catalog.RenderConfig.CypherRenderingOptions
-
This setting will only have effect if an index uses an option map defining a valid index provider for property indexes.
V
- V3_5 - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Constant for everything Neo4j 3.5 and earlier.
- V4_0 - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Constant for everything Neo4j 4.0.
- V4_1 - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Constant for everything Neo4j 4.1.
- V4_2 - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Constant for everything Neo4j 4.2.
- V4_3 - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Constant for everything Neo4j 4.3.
- V4_4 - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Constant for everything Neo4j 4.4.
- V5_0 - Enum constant in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Constant for everything Neo4j 5.0
- VALID - Enum constant in enum ac.simons.neo4j.migrations.core.ValidationResult.Outcome
-
The combined state of migrations resolved and applied to the target database is valid.
- VALID_DATABASE_NAME - Static variable in class ac.simons.neo4j.migrations.core.internal.Strings
-
A pattern representing valid Neo4j database names as described in Database management.
- validate() - Method in class ac.simons.neo4j.migrations.core.Migrations
-
Validates the database against the resolved migrations.
- VALIDATE_ON_MIGRATE - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Default setting for
validateOnMigrate
. - VALIDATE_ON_MIGRATE_VALUE - Static variable in class ac.simons.neo4j.migrations.core.Defaults
-
Same as
Defaults.VALIDATE_ON_MIGRATE
but asstring value
to be used in configuration that requires defaults given as string. - ValidationResult - Class in ac.simons.neo4j.migrations.core
-
The result of the
Migrations.validate()
operation. - ValidationResult.Outcome - Enum in ac.simons.neo4j.migrations.core
-
The outcome of the validation.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.catalog.Constraint.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.catalog.Index.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.catalog.Operator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.catalog.Renderer.Format
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.catalog.TargetEntityType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.Location.LocationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.Messages
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.MigrationChain.ChainBuilderMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.MigrationsConfig.TransactionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.MigrationState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.MigrationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.Neo4jEdition
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.refactorings.Merge.PropertyMergePolicy.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ac.simons.neo4j.migrations.core.ValidationResult.Outcome
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum ac.simons.neo4j.migrations.core.catalog.Constraint.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.catalog.Index.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.catalog.Operator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.catalog.Renderer.Format
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.catalog.TargetEntityType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.Location.LocationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.Messages
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.MigrationChain.ChainBuilderMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.MigrationsConfig.TransactionMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.MigrationState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.MigrationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.Neo4jEdition
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.Neo4jVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.refactorings.Merge.PropertyMergePolicy.Strategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ac.simons.neo4j.migrations.core.ValidationResult.Outcome
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Variable in class ac.simons.neo4j.migrations.core.AbstractCypherBasedMigration
-
The version of this migration.
- VersionedCatalog - Interface in ac.simons.neo4j.migrations.core
-
An extended catalog keeping track of items as defined by
catalog based migrations
and theirversion
.
W
- warning(SAXParseException) - Method in class ac.simons.neo4j.migrations.core.internal.ThrowingErrorHandler
- withAdditionalOptions(List<? extends RenderConfig.AdditionalRenderingOptions>) - Method in class ac.simons.neo4j.migrations.core.catalog.RenderConfig
-
Adds additional options to the renderer or deletes the existing ones.
- withApply() - Method in interface ac.simons.neo4j.migrations.core.catalog.RenderConfig.XMLRenderingOptions
-
Only applicable to
catalogs
. - withAutocrlf(boolean) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
If you're programming on Windows and working with people who are not (or vice-versa), you'll probably run into line-ending issues at some point.
- withBatchingSupport(boolean) - Method in class ac.simons.neo4j.migrations.core.refactorings.QueryRunner.FeatureSet
-
Configures batching support.
- withContent(String) - Static method in interface ac.simons.neo4j.migrations.core.CypherResource
-
Starts building a Cypher resource from the given content
- withCustomQuery(String) - Method in interface ac.simons.neo4j.migrations.core.refactorings.CustomizableRefactoring
-
Creates a new
refactoring
that may use a custom query - withDatabase(String) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
Configures the database to apply Cypher-based migrations too.
- withElementIdSupport(boolean) - Method in class ac.simons.neo4j.migrations.core.refactorings.QueryRunner.FeatureSet
-
Configures elementId support.
- withExcludes(Collection<String>) - Method in interface ac.simons.neo4j.migrations.core.refactorings.MigrateBTreeIndexes
-
Creates a new refactoring that excludes the set of configured items during migration.
- withImpersonatedUser(String) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
Configures the impersonated user to use.
- withIncludes(Collection<String>) - Method in interface ac.simons.neo4j.migrations.core.refactorings.MigrateBTreeIndexes
-
Configures an include list.
- withInstalledBy(String) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
Configures the user / principal name of the that is recorded in the MIGRATED_TO relationship as
by
. - withLocationsToScan(String...) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
Configures the list of locations to scan.
- withMigrationClassesDiscoverer(Discoverer<JavaBasedMigration>) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
- withName(String) - Method in interface ac.simons.neo4j.migrations.core.catalog.CatalogItem
-
Creates a copy of this item with the specific name.
- withName(String) - Method in class ac.simons.neo4j.migrations.core.catalog.Constraint
- withName(String) - Method in class ac.simons.neo4j.migrations.core.catalog.Index
- withOptions(String) - Method in class ac.simons.neo4j.migrations.core.catalog.Constraint
-
Creates a copy of this constraint with the specific set of options added.
- withOptions(String) - Method in class ac.simons.neo4j.migrations.core.catalog.Index
-
Creates a copy of this index with the specific set of options added.
- withPackagesToScan(String...) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
Configures the list of packages to scan.
- withRequiredVersion(String) - Method in class ac.simons.neo4j.migrations.core.refactorings.QueryRunner.FeatureSet
-
Configure the minimum required version.
- withReset() - Method in interface ac.simons.neo4j.migrations.core.catalog.RenderConfig.XMLRenderingOptions
-
Only applicable to
catalogs
. - withResourceScanner(ClasspathResourceScanner) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
- withSchemaDatabase(String) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
Configures the schema database to use.
- withTransactionMode(MigrationsConfig.TransactionMode) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
Configures the transaction mode.
- withType(Index.Type) - Method in class ac.simons.neo4j.migrations.core.catalog.Index
-
Creates a copy of this index with the given type.
- withTypeMapping(Map<String, Index.Type>) - Method in interface ac.simons.neo4j.migrations.core.refactorings.MigrateBTreeIndexes
-
Creates a new refactoring that uses the given type mapping.
- withValidateOnMigrate(boolean) - Method in class ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
Validating helps you verify that the migrations applied to the database match the ones available locally and is on by default.
X
- XML - Enum constant in enum ac.simons.neo4j.migrations.core.catalog.Renderer.Format
-
Vendor neutral XML, matching the types defined in migration.xsd
- XMLSchemaConstants - Class in ac.simons.neo4j.migrations.core.internal
-
Constants used throughout parsing and reading / writing elements and attributes of xml and database constraints.
- XMLUtils - Class in ac.simons.neo4j.migrations.core.internal
-
Shared factories and other utilities around XML processing
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
MigrationsConfig.builder()
.