Class WhereFilter.Literal
java.lang.Object
io.micronaut.coherence.annotation.WhereFilter.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
WhereFilter
An annotation literal for the
WhereFilter annotation.- Since:
- 1.0
- Author:
- Jonathan Knight
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class WhereFilter
WhereFilter.Literal -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> Method returns the type of the annotation literal.booleaninthashCode()static WhereFilter.LiteralCreate aWhereFilter.Literal.value()The CohQL query expression.Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Annotation
toString
-
Method Details
-
of
Create aWhereFilter.Literal.- Parameters:
sQuery- the CohQL query expression- Returns:
- a
WhereFilter.Literalwith the specified CohQL query
-
value
-
equals
- Specified by:
equalsin interfaceAnnotation
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceAnnotation
-
annotationType
Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.- Specified by:
annotationTypein interfaceAnnotation- Returns:
- annotation type of this literal.
-