atg.search.routing.command.search
Class StructuredStatement.Operator

java.lang.Object
  extended by atg.core.util.Enum
      extended by atg.search.routing.command.search.StructuredStatement.Operator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
StructuredStatement

public static class StructuredStatement.Operator
extends Enum

The Structured Query request must aggregate the results of the individual queries into a final results list, using the retrieved index items. However, the aggregation is not performed in a single manner, but is controlled by operators on each individual query, using the following attribute.

The op value can be required, which means that the index items of the final results must have individual results from this query. The op value can be negative, which means that the index items of the final results must not have individual results from this query. The op value can be optional, which means that the index items of the final results are not required to have individual results from this query. The default value is optional. Note that required queries should be executed first, then optional queries, then negative queries in order for the aggregation to work properly. See SearchPropertyEditors.

See Also:
Serialized Form

Nested Class Summary
static class StructuredStatement.Operator.OperatorEditor
           
 
Nested classes/interfaces inherited from class atg.core.util.Enum
Enum.EnumEditor, Enum.LocaleEnumEditor
 
Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static StructuredStatement.Operator NEGATIVE
           
static StructuredStatement.Operator OPTIONAL
           
static StructuredStatement.Operator REQUIRED
           
 
Method Summary
static java.util.Iterator getIterator()
           
static StructuredStatement.Operator valueOf(java.lang.String pName)
           
 
Methods inherited from class atg.core.util.Enum
compareTo, getEnumClassInfo, getOrdinal, iterator, iterator, lookup, lookup, lookup, lookup, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values

REQUIRED

public static final StructuredStatement.Operator REQUIRED

NEGATIVE

public static final StructuredStatement.Operator NEGATIVE

OPTIONAL

public static final StructuredStatement.Operator OPTIONAL
Method Detail

getIterator

public static java.util.Iterator getIterator()

valueOf

public static StructuredStatement.Operator valueOf(java.lang.String pName)