Class AbstractSqlLikeQueryBuilder.Placeholder

java.lang.Object
io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.Placeholder
Enclosing class:
AbstractSqlLikeQueryBuilder

public static final class AbstractSqlLikeQueryBuilder.Placeholder extends Object
Represents a placeholder in query.
  • Constructor Details

    • Placeholder

      public Placeholder(String name, String key)
      Default constructor.
      Parameters:
      name - The name of the placeholder
      key - The key to set the value of the placeholder
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getName

      public String getName()
      Returns:
      The placeholder name
    • getKey

      public String getKey()
      This the precomputed key to set the placeholder. In SQL this would be the index.
      Returns:
      The key used to set the placeholder.