|
|
|
|
@ -16,7 +16,7 @@ public interface HistoryReader {
|
|
|
|
|
/**
|
|
|
|
|
* Searches the history for all records with timestamp after
|
|
|
|
|
* <tt>startDate</tt>.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @throws RuntimeException
|
|
|
|
|
* Thrown if an exception occurs during the execution of the
|
|
|
|
|
* query, such as internal IO error.
|
|
|
|
|
@ -26,7 +26,7 @@ public interface HistoryReader {
|
|
|
|
|
/**
|
|
|
|
|
* Searches the history for all records with timestamp before
|
|
|
|
|
* <tt>endDate</tt>.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @throws RuntimeException
|
|
|
|
|
* Thrown if an exception occurs during the execution of the
|
|
|
|
|
* query, such as internal IO error.
|
|
|
|
|
@ -36,7 +36,7 @@ public interface HistoryReader {
|
|
|
|
|
/**
|
|
|
|
|
* Searches the history for all records with timestamp between
|
|
|
|
|
* <tt>startDate</tt> and <tt>endDate</tt>.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @throws RuntimeException
|
|
|
|
|
* Thrown if an exception occurs during the execution of the
|
|
|
|
|
* query, such as internal IO error.
|
|
|
|
|
@ -46,7 +46,7 @@ QueryResultSet findByPeriod(Date startDate, Date endDate)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Searches the history for all records containing the <tt>keyword</tt>.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @throws RuntimeException
|
|
|
|
|
* Thrown if an exception occurs during the execution of the
|
|
|
|
|
* query, such as internal IO error.
|
|
|
|
|
@ -55,7 +55,7 @@ QueryResultSet findByPeriod(Date startDate, Date endDate)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Searches the history for all records containing all <tt>keywords</tt>.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @throws RuntimeException
|
|
|
|
|
* Thrown if an exception occurs during the execution of the
|
|
|
|
|
* query, such as internal IO error.
|
|
|
|
|
@ -65,12 +65,12 @@ QueryResultSet findByPeriod(Date startDate, Date endDate)
|
|
|
|
|
/**
|
|
|
|
|
* Searches for all history records containing all <tt>keywords</tt>,
|
|
|
|
|
* with timestamp between <tt>startDate</tt> and <tt>endDate</tt>.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @throws RuntimeException
|
|
|
|
|
* Thrown if an exception occurs during the execution of the
|
|
|
|
|
* query, such as internal IO error.
|
|
|
|
|
*/
|
|
|
|
|
QueryResultSet findByText(Date startDate, Date endDate, String[] keywords)
|
|
|
|
|
QueryResultSet findByPeriod(Date startDate, Date endDate, String[] keywords)
|
|
|
|
|
throws UnsupportedOperationException;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|