Class AbstractSqlLikeQueryBuilder.Placeholder
- java.lang.Object
-
- io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.Placeholder
-
- Enclosing class:
- AbstractSqlLikeQueryBuilder
public static final class AbstractSqlLikeQueryBuilder.Placeholder extends java.lang.ObjectRepresents 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.StringgetKey()This the precomputed key to set the place holder.java.lang.StringgetName()java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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.
-
-