Interface CustomizableRefactoring<T extends CustomizableRefactoring<T>>
- Type Parameters:
T
- The type of the refactoring after customization has been applied
- All Superinterfaces:
Refactoring
A customizable refactoring. Customizations here include providing a custom query as source for entities and a batch size.
- Since:
- 1.10.0
- Author:
- Michael J. Simons
- Soundtrack
- Nightwish - Nemo
-
Method Summary
Modifier and TypeMethodDescriptioninBatchesOf
(Integer newBatchSize) Creates a newrefactoring
that may use batching (if the new batch size is not null and greater than 1withCustomQuery
(String newCustomQuery) Creates a newrefactoring
that may use a custom queryMethods inherited from interface ac.simons.neo4j.migrations.core.refactorings.Refactoring
apply
-
Method Details
-
inBatchesOf
Creates a newrefactoring
that may use batching (if the new batch size is not null and greater than 1- Parameters:
newBatchSize
- Use null to disable batching or any value >= 1 to use batches.- Returns:
- A new refactoring.
-
withCustomQuery
Creates a newrefactoring
that may use a custom query- Parameters:
newCustomQuery
- Use null to disable any custom query or a valid Cypher statement returning a single entity column to enable custom query- Returns:
- A new refactoring.
-