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.Serializable
    Specifies the content query optimization for a Stored Search query.
    See Also:
    CBR Query Optimization, Serialized Form
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • 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_INT fields).
        Parameters:
        value - An integer representing a particular static instance of this class.
        Returns:
        The referenced RefreshMode instance.
        Throws:
        EngineRuntimeException - Thrown when the value parameter is null or invalid.
      • toString

        public java.lang.String toString()
        Returns a String representation of this instance.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A String representing the instance.

© Copyright IBM Corporation 2006, 2013. All rights reserved.