Module spring.data.jdbc
Class JdbcIdentifierBuilder
java.lang.Object
org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder
Builder for
Identifier. Mainly for internal use within the framework- Since:
- 1.1
- Author:
- Jens Schauder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static JdbcIdentifierBuilderempty()static JdbcIdentifierBuilderforBackReferences(JdbcConverter converter, org.springframework.data.relational.core.mapping.AggregatePath path, Object value) Creates ParentKeys with backreference for the given path and value of the parents id.withQualifier(org.springframework.data.relational.core.mapping.AggregatePath path, Object value) Adds a qualifier to the identifier to build.
-
Method Details
-
empty
-
forBackReferences
public static JdbcIdentifierBuilder forBackReferences(JdbcConverter converter, org.springframework.data.relational.core.mapping.AggregatePath path, Object value) Creates ParentKeys with backreference for the given path and value of the parents id. -
withQualifier
public JdbcIdentifierBuilder withQualifier(org.springframework.data.relational.core.mapping.AggregatePath path, Object value) Adds a qualifier to the identifier to build. A qualifier is a map key or a list index.- Parameters:
path- path to the map that gets qualified byvalue. Must not be null.value- map key or list index qualifying the map identified bypath. Must not be null.- Returns:
- this builder. Guaranteed to be not null.
-
build
-