public class ContentQueryOptimization
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static ContentQueryOptimization |
CONTENT_FIRST
Specifies to perform content query before database query.
|
static ContentQueryOptimization |
DB_FIRST
Specifies to perform database query before content query.
|
static ContentQueryOptimization |
DYNAMIC_THRESHOLD
Specifies to dynamically switch between content query or database query first based on content query row count.
|
static ContentQueryOptimization |
NONE
Disables dynamic switching optimization.
|
Modifier and Type | Method and Description |
---|---|
static ContentQueryOptimization |
getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the
*_AS_INT fields). |
int |
getValue()
Returns an integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a
String representation of this instance. |
public static final ContentQueryOptimization NONE
public static final ContentQueryOptimization CONTENT_FIRST
public static final ContentQueryOptimization DB_FIRST
public static final ContentQueryOptimization DYNAMIC_THRESHOLD
public int getValue()
public static ContentQueryOptimization getInstanceFromInt(int value)
*_AS_INT
fields).value
- An integer representing a particular static instance of this class.RefreshMode
instance.EngineRuntimeException
- Thrown when the value
parameter
is null
or invalid.public java.lang.String toString()
String
representation of this instance.toString
in class java.lang.Object
String
representing the instance.© Copyright IBM Corporation 2006, 2015. All rights reserved.