public static class View.Literal extends java.lang.Object implements View
View annotation.View.Literal| Modifier and Type | Field and Description |
|---|---|
static View.Literal |
INSTANCE
A singleton instance of
View.Literal
with the cache values flag set to true. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
Method returns the type of the annotation literal.
|
boolean |
cacheValues()
Obtain the flag that is
true to cache both the keys and
values of the materialized view locally, or false to only
cache the keys (the default value is true). |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
static View.Literal |
of(boolean fCacheValues)
Create a
View.Literal. |
public static final View.Literal INSTANCE
View.Literal
with the cache values flag set to true.public static View.Literal of(boolean fCacheValues)
View.Literal.fCacheValues - a flag that is true to cache both the keys
and values of the materialized view locally, or
false to only cache the keysView.Literal with the specified valuepublic boolean cacheValues()
true to cache both the keys and
values of the materialized view locally, or false to only
cache the keys (the default value is true).true to indicate that values should be cache or
false to indicate that only keys should be cached.public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType in interface java.lang.annotation.Annotationpublic boolean equals(java.lang.Object other)
equals in interface java.lang.annotation.Annotationequals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.lang.annotation.AnnotationhashCode in class java.lang.Object