Class QueryRunner.FeatureSet
java.lang.Object
ac.simons.neo4j.migrations.core.refactorings.QueryRunner.FeatureSet
- Enclosing interface:
- QueryRunner
Defines a feature set for any newly opened query runner. Instances of this class are immutable, use the
return type pf any wither-method.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
withBatchingSupport
(boolean batchingSupport) Configures batching support.withElementIdSupport
(boolean elementIdSupport) Configures elementId support.withRequiredVersion
(String newRequiredVersion) Configure the minimum required version.
-
Method Details
-
requiredVersion
- Returns:
- The required version.
-
hasBatchingSupport
public boolean hasBatchingSupport()- Returns:
- true when the refactoring requires batching support
-
hasElementIdSupport
public boolean hasElementIdSupport()- Returns:
- true when the refactoring makes use of
elementId()
-
withBatchingSupport
Configures batching support.- Parameters:
batchingSupport
- Set to true for requesting batching support- Returns:
- New feature set
-
withElementIdSupport
Configures elementId support.- Parameters:
elementIdSupport
- Set to true for requesting elementId support- Returns:
- New feature set
-
withRequiredVersion
Configure the minimum required version.- Parameters:
newRequiredVersion
- The new required minimum version- Returns:
- New feature set
-