-
- Type Parameters:
T- The type of theRecordinstances managed by theLogger.
- All Superinterfaces:
LogDecorator,Logger<T>
- All Known Subinterfaces:
TrimLogger<T>
- All Known Implementing Classes:
CompositeQueryLoggerImpl,CompositeTrimLoggerImpl,PartedQueryLoggerImpl,PartedTrimLoggerImpl
public interface QueryLogger<T> extends Logger<T>
TheQueryLoggerextends theLogger; providing additional functionality for querying once logged dataRecordsby specifying queryCriteriaor other query restrictions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.refcodes.tabular.Records<T>findLogs()Retrieves all availableRecordinstances being logged.org.refcodes.tabular.Records<T>findLogs(int aLimit)Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.org.refcodes.tabular.Records<T>findLogs(org.refcodes.criteria.Criteria aCriteria)Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.org.refcodes.tabular.Records<T>findLogs(org.refcodes.criteria.Criteria aCriteria, int aLimit)Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.org.refcodes.tabular.Records<T>findLogs(org.refcodes.criteria.Criteria aCriteria, org.refcodes.tabular.Header<T> aHeader)Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.org.refcodes.tabular.Records<T>findLogs(org.refcodes.criteria.Criteria aCriteria, org.refcodes.tabular.Header<T> aHeader, int aLimit)Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.org.refcodes.tabular.Records<T>findLogs(org.refcodes.tabular.Header<T> aHeader, int aLimit)Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.-
Methods inherited from interface org.refcodes.logger.LogDecorator
printHead, printSeparator, printTail
-
-
-
-
Method Detail
-
findLogs
org.refcodes.tabular.Records<T> findLogs()
Retrieves all availableRecordinstances being logged.- Returns:
- A
Recordsinstance containing all availableRecordinstances being logged.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(int aLimit)
Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.- Parameters:
aLimit- The maximumRecordinstances contained in the returnedRecordsinstance; there may be moreRecordinstances which are not contained in theRecordsinstance in case theRecordsinstance's size is that of the specified limit.- Returns:
- A
Recordsinstance containing all availableRecordinstances being logged matching the given criteria and restrictions.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(org.refcodes.tabular.Header<T> aHeader, int aLimit)
Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.- Parameters:
aHeader- TheHeaderused to restrict the "columns" (key/value entries) in the retrievedRecordinstances (provided by theRecordsinstance).aLimit- The maximumRecordinstances contained in the returnedRecordsinstance; there may be moreRecordinstances which are not contained in theRecordsinstance in case theRecordsinstance's size is that of the specified limit.- Returns:
- A
Recordsinstance containing all availableRecordinstances being logged matching the given criteria and restrictions.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(org.refcodes.criteria.Criteria aCriteria)
Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.- Parameters:
aCriteria- TheCriteriato be applied to theRecordinstances- Returns:
- A
Recordsinstance containing all availableRecordinstances being logged matching the given criteria and restrictions.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(org.refcodes.criteria.Criteria aCriteria, int aLimit)
Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.- Parameters:
aCriteria- TheCriteriato be applied to theRecordinstancesaLimit- The maximumRecordinstances contained in the returnedRecordsinstance; there may be moreRecordinstances which are not contained in theRecordsinstance in case theRecordsinstance's size is that of the specified limit.- Returns:
- A
Recordsinstance containing all availableRecordinstances being logged matching the given criteria and restrictions.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(org.refcodes.criteria.Criteria aCriteria, org.refcodes.tabular.Header<T> aHeader)
Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.- Parameters:
aCriteria- TheCriteriato be applied to theRecordinstancesaHeader- TheHeaderused to restrict the "columns" (key/value entries) in the retrievedRecordinstances (provided by theRecordsinstance).- Returns:
- A
Recordsinstance containing all availableRecordinstances being logged matching the given criteria and restrictions.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(org.refcodes.criteria.Criteria aCriteria, org.refcodes.tabular.Header<T> aHeader, int aLimit)
Retrieves all availableRecordinstances being logged matching the given criteria and restrictions.- Parameters:
aCriteria- TheCriteriato be applied to theRecordinstancesaHeader- TheHeaderused to restrict the "columns" (key/value entries) in the retrievedRecordinstances (provided by theRecordsinstance).aLimit- The maximumRecordinstances contained in the returnedRecordsinstance; there may be moreRecordinstances which are not contained in theRecordsinstance in case theRecordsinstance's size is that of the specified limit.- Returns:
- A
Recordsinstance containing all availableRecordinstances being logged matching the given criteria and restrictions.
-
-