Purpose: Provide a means of controlling the behavior of in-memory and conforming queries that access un-instantiated indirection objects in processing the query against cached objects.
Description: This class defines the valid constant values for handling in-memory querying. The constants should be set into the query's inMemoryQueryIndirectionPolicy.
| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected ObjectLevelReadQuery | query
Used to set the policy state in the query. |
| public static final int | SHOULD_IGNORE_EXCEPTION_RETURN_CONFORMED
If a non-instantiated indirection object is encountered the object is assumed to conform. |
| public static final int | SHOULD_IGNORE_EXCEPTION_RETURN_NOT_CONFORMED
If a non-instantiated indirection object is encountered the object is assumed to not conform. |
| public static final int | SHOULD_THROW_INDIRECTION_EXCEPTION
If a non-instantiated indirection object is encountered an exception is thrown. |
| public static final int | SHOULD_TRIGGER_INDIRECTION
If a non-instantiated indirection object is encountered an exception it is instantiated. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ObjectLevelReadQuery | |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void |
| policy | back to summary |
|---|---|
| protected int policy | |
| query | back to summary |
|---|---|
| protected ObjectLevelReadQuery query Used to set the policy state in the query. | |
| SHOULD_IGNORE_EXCEPTION_RETURN_CONFORMED | back to summary |
|---|---|
| public static final int SHOULD_IGNORE_EXCEPTION_RETURN_CONFORMED If a non-instantiated indirection object is encountered the object is assumed to conform. | |
| SHOULD_IGNORE_EXCEPTION_RETURN_NOT_CONFORMED | back to summary |
|---|---|
| public static final int SHOULD_IGNORE_EXCEPTION_RETURN_NOT_CONFORMED If a non-instantiated indirection object is encountered the object is assumed to not conform. | |
| SHOULD_THROW_INDIRECTION_EXCEPTION | back to summary |
|---|---|
| public static final int SHOULD_THROW_INDIRECTION_EXCEPTION If a non-instantiated indirection object is encountered an exception is thrown. | |
| SHOULD_TRIGGER_INDIRECTION | back to summary |
|---|---|
| public static final int SHOULD_TRIGGER_INDIRECTION If a non-instantiated indirection object is encountered an exception it is instantiated. Caution should be used in using this option. | |
| InMemoryQueryIndirectionPolicy | back to summary |
|---|---|
| public InMemoryQueryIndirectionPolicy() | |
| InMemoryQueryIndirectionPolicy | back to summary |
|---|---|
| public InMemoryQueryIndirectionPolicy(int policyValue) | |
| InMemoryQueryIndirectionPolicy | back to summary |
|---|---|
| public InMemoryQueryIndirectionPolicy(int policy, ObjectLevelReadQuery query) | |
| getPolicy | back to summary |
|---|---|
| public int getPolicy() | |
| getQuery | back to summary |
|---|---|
| public ObjectLevelReadQuery getQuery() INTERNAL: Return the query. | |
| ignoreIndirectionExceptionReturnConformed | back to summary |
|---|---|
| public void ignoreIndirectionExceptionReturnConformed() | |
| ignoreIndirectionExceptionReturnNotConformed | back to summary |
|---|---|
| public void ignoreIndirectionExceptionReturnNotConformed() | |
| setPolicy | back to summary |
|---|---|
| public void setPolicy(int policy) | |
| setQuery | back to summary |
|---|---|
| public void setQuery(ObjectLevelReadQuery query) INTERNAL: Set the query. | |
| shouldIgnoreIndirectionExceptionReturnConformed | back to summary |
|---|---|
| public boolean shouldIgnoreIndirectionExceptionReturnConformed() | |
| shouldIgnoreIndirectionExceptionReturnNotConformed | back to summary |
|---|---|
| public boolean shouldIgnoreIndirectionExceptionReturnNotConformed() | |
| shouldThrowIndirectionException | back to summary |
|---|---|
| public boolean shouldThrowIndirectionException() | |
| shouldTriggerIndirection | back to summary |
|---|---|
| public boolean shouldTriggerIndirection() | |
| throwIndirectionException | back to summary |
|---|---|
| public void throwIndirectionException() | |
| triggerIndirection | back to summary |
|---|---|
| public void triggerIndirection() | |