Skip navigation links

Oracle® Ultra Search Java API Reference
11g Release 1 (11.1)

B28329-02


oracle.ultrasearch.query
Class AllOf

java.lang.Object
  extended by oracle.ultrasearch.query.AllOf

All Implemented Interfaces:
Query

public class AllOf
extends java.lang.Object
implements Query

Find documents with an attribute that has all of the values in a set.

AllOf can be applied to Date attribute, Number attribute, or String attribute. AllOf is the logical complement of AnyOf.

Since:
9.0.2
See Also:
AnyOf

Constructor Summary
AllOf(DateAttribute att, java.util.Date[] vals)
          Construct an AllOf query on a DateAttribute
AllOf(NumberAttribute att, java.math.BigDecimal[] vals)
          Construct an AllOf query on a NumberAttribute
AllOf(StringAttribute att, java.lang.String[] vals)
          Construct an AllOf query on a StringAttribute

 

Method Summary
 java.lang.String compile()
          compile into a query string.
 java.lang.String compileForCount()
          compile into a query string for counting hits.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AllOf

public AllOf(DateAttribute att,
             java.util.Date[] vals)
Construct an AllOf query on a DateAttribute
Parameters:
att - a date attribute
vals - an array of Date values

AllOf

public AllOf(NumberAttribute att,
             java.math.BigDecimal[] vals)
Construct an AllOf query on a NumberAttribute
Parameters:
att - a number attribute
vals - an array of BigDecimal values

AllOf

public AllOf(StringAttribute att,
             java.lang.String[] vals)
Construct an AllOf query on a StringAttribute
Parameters:
att - a string attribute
vals - an array of String values

Method Detail

compile

public java.lang.String compile()
compile into a query string.
Specified by:
compile in interface Query
Returns:
a query string representing this query.

compileForCount

public java.lang.String compileForCount()
compile into a query string for counting hits.
Specified by:
compileForCount in interface Query
Returns:
a query string representing this query.

Skip navigation links

Oracle® Ultra Search Java API Reference
11g Release 1 (11.1)

B28329-02


Copyright © 2002,2008, Oracle. All Rights Reserved.