Class PreparedQuery.OptionalBuildSteps<CT>
java.lang.Object
org.springframework.data.neo4j.core.PreparedQuery.OptionalBuildSteps<CT>
- Type Parameters:
CT- the concrete type of this build step.
- Enclosing class:
PreparedQuery<T>
Step configuring parameters or mapping functions.
- Since:
- 6.0
- Author:
- Michael J. Simons, Gerrit Meier
-
Method Summary
Modifier and TypeMethodDescriptionbuild()usingMappingFunction(@Nullable Supplier<BiFunction<org.neo4j.driver.types.TypeSystem, org.neo4j.driver.types.MapAccessor, ?>> newMappingFunction) withParameters(@Nullable Map<String, Object> newParameters) This replaces the current parameters.
-
Method Details
-
withParameters
public PreparedQuery.OptionalBuildSteps<CT> withParameters(@Nullable Map<String, Object> newParameters) This replaces the current parameters.- Parameters:
newParameters- the new parameters for the prepared query.- Returns:
- this builder
-
usingMappingFunction
public PreparedQuery.OptionalBuildSteps<CT> usingMappingFunction(@Nullable Supplier<BiFunction<org.neo4j.driver.types.TypeSystem, org.neo4j.driver.types.MapAccessor, ?>> newMappingFunction) -
build
-