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 place holder
      key - The key to set the value of the place holder
  • Method Details

    • toString

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

      public String getName()
      Returns:
      The place holder name
    • getKey

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