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.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.micronaut.coherence.annotation.WhereFilter
WhereFilter.Literal
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
Method returns the type of the annotation literal.boolean
int
hashCode()
static WhereFilter.Literal
Create aWhereFilter.Literal
.value()
The CohQL query expression.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.annotation.Annotation
toString
-
Method Details
-
of
Create aWhereFilter.Literal
.- Parameters:
sQuery
- the CohQL query expression- Returns:
- a
WhereFilter.Literal
with the specified CohQL query
-
value
The CohQL query expression.- Returns:
- the CohQL query expression
-
equals
- Specified by:
equals
in interfaceAnnotation
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceAnnotation
-
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 interfaceAnnotation
- Returns:
- annotation type of this literal.
-