|
Oracle® Ultra Search Java API Reference 10g Release 2 (10.2) B14221-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ultrasearch.query.AllOf
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.
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 |
public AllOf(DateAttribute att, java.util.Date[] vals)
att
- a date attributevals
- an array of Date valuespublic AllOf(NumberAttribute att, java.math.BigDecimal[] vals)
att
- a number attributevals
- an array of BigDecimal valuespublic AllOf(StringAttribute att, java.lang.String[] vals)
att
- a string attributevals
- an array of String valuesMethod Detail |
public java.lang.String compile()
compile
in interface Query
public java.lang.String compileForCount()
compileForCount
in interface Query
|
Oracle® Ultra Search Java API Reference 10g Release 2 (10.2) B14221-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |