|
Oracle Ultra Search Java API Reference Release 10g B12028-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ultrasearch.query.LessThan
Class LessThan narrows the attribute to smaller values.
This query does not apply to String attributes. When used with Date attribute, it means "earlier". LessThan is the complement of GreaterThan.
GreaterThan
Constructor Summary | |
LessThan(DateAttribute att, java.util.Date s) Construct a LessThan query on a DateAttribute. | |
LessThan(NumberAttribute att, java.math.BigDecimal s) Construct a LessThan 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 LessThan(DateAttribute att, java.util.Date s)
att
- a date attributepublic LessThan(NumberAttribute att, java.math.BigDecimal s)
att
- a number attributeMethod 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 Release 10g B12028-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |