|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ostore.read.DatePredicate
A VersionPredicate that requires version whose creation
date lies in a specified range.
| Constructor Summary | |
|---|---|
DatePredicate(InputBuffer buffer)
Constructs a DatePredicate from its
serialized form. |
|
DatePredicate(QSDate date)
Constructs a new DatePredicate that requires a
specific version. |
|
DatePredicate(QSDate low,
QSDate high)
Constructs a new DatePredicate that requires a
creation date between low and high,
inclusive.
|
|
| Method Summary | |
|---|---|
QSDate |
get_high()
Returns the latest accaptable creation date; |
QSDate |
get_low()
Returns the earliest accaptable creation date; |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer. |
String |
toString()
Returns a human-readable representation of this predicate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DatePredicate(QSDate low,
QSDate high)
DatePredicate that requires a
creation date between low and high,
inclusive.
Set high=Clock.QS_NEVER for open-ended predicates.
low - The earliest acceptable creation date.high - The latest acceptable creation date.Clock.QS_NEVERpublic DatePredicate(QSDate date)
DatePredicate that requires a
specific version.
date - The only acceptable creation date.
public DatePredicate(InputBuffer buffer)
throws QSException
DatePredicate from its
serialized form.
| Method Detail |
public QSDate get_low()
public QSDate get_high()
public void serialize(OutputBuffer buffer)
QuickSerializablebuffer.
serialize in interface QuickSerializablebuffer - the output buffer to add the object topublic String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||