com.filenet.api.constants
Class ContentQueryOptimization
- java.lang.Object
-
- com.filenet.api.constants.ContentQueryOptimization
-
- All Implemented Interfaces:
- java.io.Serializable
public class ContentQueryOptimization extends java.lang.Object implements java.io.SerializableSpecifies the content query optimization for a Stored Search query.- See Also:
- CBR Query Optimization, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static ContentQueryOptimizationCONTENT_FIRSTSpecifies to perform content query before database query.static ContentQueryOptimizationDB_FIRSTSpecifies to perform database query before content query.static ContentQueryOptimizationDYNAMIC_THRESHOLDSpecifies to dynamically switch between content query or database query first based on content query row count.static ContentQueryOptimizationNONEDisables dynamic switching optimization.
-
Method Summary
Methods Modifier and Type Method and Description static ContentQueryOptimizationgetInstanceFromInt(int value)Gets an instance of this class using its associated integer value (the*_AS_INTfields).intgetValue()Returns an integer value associated with a specific instance of this class.java.lang.StringtoString()Returns aStringrepresentation of this instance.
-
-
-
Field Detail
-
NONE
public static final ContentQueryOptimization NONE
Disables dynamic switching optimization.
-
CONTENT_FIRST
public static final ContentQueryOptimization CONTENT_FIRST
Specifies to perform content query before database query.
-
DB_FIRST
public static final ContentQueryOptimization DB_FIRST
Specifies to perform database query before content query.
-
DYNAMIC_THRESHOLD
public static final ContentQueryOptimization DYNAMIC_THRESHOLD
Specifies to dynamically switch between content query or database query first based on content query row count.
-
-
Method Detail
-
getValue
public int getValue()
Returns an integer value associated with a specific instance of this class.- Returns:
- An integer representing a specific instance of this class.
-
getInstanceFromInt
public static ContentQueryOptimization getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the*_AS_INTfields).- Parameters:
value- An integer representing a particular static instance of this class.- Returns:
- The referenced
RefreshModeinstance. - Throws:
EngineRuntimeException- Thrown when thevalueparameter isnullor invalid.
-
toString
public java.lang.String toString()
Returns aStringrepresentation of this instance.- Overrides:
toStringin classjava.lang.Object- Returns:
- A
Stringrepresenting the instance.
-
-