Interface CustomizableRefactoring<T extends CustomizableRefactoring<T>>

Type Parameters:
T - The type of the refactoring after customization has been applied
All Superinterfaces:
Refactoring
All Known Subinterfaces:
Normalize, Rename

public interface CustomizableRefactoring<T extends CustomizableRefactoring<T>> extends 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 Type
    Method
    Description
    inBatchesOf(Integer newBatchSize)
    Creates a new refactoring that may use batching (if the new batch size is not null and greater than 1
    withCustomQuery(String newCustomQuery)
    Creates a new refactoring that may use a custom query

    Methods inherited from interface ac.simons.neo4j.migrations.core.refactorings.Refactoring

    apply
  • Method Details

    • inBatchesOf

      T inBatchesOf(Integer newBatchSize)
      Creates a new refactoring 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

      T withCustomQuery(String newCustomQuery)
      Creates a new refactoring 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.