Class AbstractSqlLikeQueryBuilder.Placeholder

  • Enclosing class:
    AbstractSqlLikeQueryBuilder

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

      Constructors 
      Constructor Description
      Placeholder​(java.lang.String name, java.lang.String key)
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      This the precomputed key to set the place holder.
      java.lang.String getName()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Placeholder

        public Placeholder​(java.lang.String name,
                           java.lang.String key)
        Default constructor.
        Parameters:
        name - The name of the place holder
        key - The key to set the value of the place holder
    • Method Detail

      • toString

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

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

        public java.lang.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.