|
Oracle Ultra Search APIs 9.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ultrasearch.query.AnyOf
Find documents with an attribute that has at least one of a set of values.
AnyOf can be applied to Date attribute, Number attribute, or String attribute. AnyOf is the logical complement of AllOf.
AllOf
Constructor Summary | |
AnyOf(DateAttribute att, java.util.Date[] vals) Construct an AnyOf query on a DateAttribute |
|
AnyOf(NumberAttribute att, java.math.BigDecimal[] vals) Construct an AnyOf query on a NumberAttribute |
|
AnyOf(StringAttribute att, java.lang.String[] vals) Construct an AnyOf 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 AnyOf(DateAttribute att, java.util.Date[] vals)
att
- a date attributevals
- an array of Date valuespublic AnyOf(NumberAttribute att, java.math.BigDecimal[] vals)
att
- a number attributevals
- an array of BigDecimal valuespublic AnyOf(StringAttribute att, java.lang.String[] vals)
att
- a string attributevals
- an array of String valuesMethod Detail |
public java.lang.String compile()
public java.lang.String compileForCount()
|
Oracle Ultra Search APIs 9.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |