Class WhereFilter.Literal

java.lang.Object
io.micronaut.coherence.annotation.WhereFilter.Literal
All Implemented Interfaces:
Annotation
Enclosing class:
WhereFilter

public static final class WhereFilter.Literal extends Object implements WhereFilter
An annotation literal for the WhereFilter annotation.
See Also:
  • Method Details

    • of

      public static WhereFilter.Literal of(String sQuery)
      Parameters:
      sQuery - the CohQL query expression
      Returns:
      a WhereFilter.Literal with the specified CohQL query
    • value

      public String value()
      The CohQL query expression.
      Returns:
      the CohQL query expression
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface Annotation
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Annotation
    • annotationType

      public Class<? extends Annotation> annotationType()
      Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.
      Specified by:
      annotationType in interface Annotation
      Returns:
      annotation type of this literal.