|
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.Between
Find documents that has an attribute value within a range. Between can be applied to Date attribute, or Number attribute.
Constructor Summary | |
Between(DateAttribute att, java.util.Date v1, java.util.Date v2) Construct a Between query on a DateAttribute. |
|
Between(NumberAttribute att, java.math.BigDecimal v1, java.math.BigDecimal v2) Construct a Between query on a NumberAttribute. |
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 Between(DateAttribute att, java.util.Date v1, java.util.Date v2)
att
- a date attributev1
- a Date value, not nullv2
- a Date value, not nullpublic Between(NumberAttribute att, java.math.BigDecimal v1, java.math.BigDecimal v2)
att
- a number attributev1
- a BigDecimal value, not nullv2
- a BigDecimal value, not nullMethod 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 |