Class JdbcIdentifierBuilder

java.lang.Object
org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder

public class JdbcIdentifierBuilder extends Object
Builder for Identifier. Mainly for internal use within the framework
Since:
1.1
Author:
Jens Schauder
  • Method Details

    • empty

      public static JdbcIdentifierBuilder empty()
    • forBackReferences

      @Deprecated(since="3.2", forRemoval=true) public static JdbcIdentifierBuilder forBackReferences(JdbcConverter converter, org.springframework.data.relational.core.mapping.PersistentPropertyPathExtension path, @Nullable Object value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates ParentKeys with backreference for the given path and value of the parents id.
    • forBackReferences

      public static JdbcIdentifierBuilder forBackReferences(JdbcConverter converter, org.springframework.data.relational.core.mapping.AggregatePath path, @Nullable Object value)
      Creates ParentKeys with backreference for the given path and value of the parents id.
    • withQualifier

      @Deprecated public JdbcIdentifierBuilder withQualifier(org.springframework.data.relational.core.mapping.PersistentPropertyPathExtension path, Object value)
      Deprecated.
      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 by value. Must not be null.
      value - map key or list index qualifying the map identified by path. Must not be null.
      Returns:
      this builder. Guaranteed to be not null.
    • 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 by value. Must not be null.
      value - map key or list index qualifying the map identified by path. Must not be null.
      Returns:
      this builder. Guaranteed to be not null.
    • build

      public Identifier build()