-
- Type Parameters:
T
- The type of theRecord
instances 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>
TheQueryLogger
extends theLogger
; providing additional functionality for querying once logged dataRecords
by specifying queryCriteria
or other query restrictions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.refcodes.tabular.Records<T>
findLogs()
Retrieves all availableRecord
instances being logged.org.refcodes.tabular.Records<T>
findLogs(int aLimit)
Retrieves all availableRecord
instances being logged matching the given criteria and restrictions.org.refcodes.tabular.Records<T>
findLogs(org.refcodes.criteria.Criteria aCriteria)
Retrieves all availableRecord
instances being logged matching the given criteria and restrictions.org.refcodes.tabular.Records<T>
findLogs(org.refcodes.criteria.Criteria aCriteria, int aLimit)
Retrieves all availableRecord
instances 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 availableRecord
instances 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 availableRecord
instances being logged matching the given criteria and restrictions.org.refcodes.tabular.Records<T>
findLogs(org.refcodes.tabular.Header<T> aHeader, int aLimit)
Retrieves all availableRecord
instances 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 availableRecord
instances being logged.- Returns:
- A
Records
instance containing all availableRecord
instances being logged.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(int aLimit)
Retrieves all availableRecord
instances being logged matching the given criteria and restrictions.- Parameters:
aLimit
- The maximumRecord
instances contained in the returnedRecords
instance; there may be moreRecord
instances which are not contained in theRecords
instance in case theRecords
instance's size is that of the specified limit.- Returns:
- A
Records
instance containing all availableRecord
instances 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 availableRecord
instances being logged matching the given criteria and restrictions.- Parameters:
aHeader
- TheHeader
used to restrict the "columns" (key/value entries) in the retrievedRecord
instances (provided by theRecords
instance).aLimit
- The maximumRecord
instances contained in the returnedRecords
instance; there may be moreRecord
instances which are not contained in theRecords
instance in case theRecords
instance's size is that of the specified limit.- Returns:
- A
Records
instance containing all availableRecord
instances being logged matching the given criteria and restrictions.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(org.refcodes.criteria.Criteria aCriteria) throws org.refcodes.criteria.CriteriaException.BadCriteriaException
Retrieves all availableRecord
instances being logged matching the given criteria and restrictions.- Parameters:
aCriteria
- TheCriteria
to be applied to theRecord
instances- Returns:
- A
Records
instance containing all availableRecord
instances being logged matching the given criteria and restrictions. - Throws:
org.refcodes.criteria.CriteriaException.BadCriteriaException
- thrown in case of problems related to someCriteria
.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(org.refcodes.criteria.Criteria aCriteria, int aLimit) throws org.refcodes.criteria.CriteriaException.BadCriteriaException
Retrieves all availableRecord
instances being logged matching the given criteria and restrictions.- Parameters:
aCriteria
- TheCriteria
to be applied to theRecord
instancesaLimit
- The maximumRecord
instances contained in the returnedRecords
instance; there may be moreRecord
instances which are not contained in theRecords
instance in case theRecords
instance's size is that of the specified limit.- Returns:
- A
Records
instance containing all availableRecord
instances being logged matching the given criteria and restrictions. - Throws:
org.refcodes.criteria.CriteriaException.BadCriteriaException
- thrown in case of problems related to someCriteria
.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(org.refcodes.criteria.Criteria aCriteria, org.refcodes.tabular.Header<T> aHeader) throws org.refcodes.criteria.CriteriaException.BadCriteriaException
Retrieves all availableRecord
instances being logged matching the given criteria and restrictions.- Parameters:
aCriteria
- TheCriteria
to be applied to theRecord
instancesaHeader
- TheHeader
used to restrict the "columns" (key/value entries) in the retrievedRecord
instances (provided by theRecords
instance).- Returns:
- A
Records
instance containing all availableRecord
instances being logged matching the given criteria and restrictions. - Throws:
org.refcodes.criteria.CriteriaException.BadCriteriaException
- thrown in case of problems related to someCriteria
.
-
findLogs
org.refcodes.tabular.Records<T> findLogs(org.refcodes.criteria.Criteria aCriteria, org.refcodes.tabular.Header<T> aHeader, int aLimit) throws org.refcodes.criteria.CriteriaException.BadCriteriaException
Retrieves all availableRecord
instances being logged matching the given criteria and restrictions.- Parameters:
aCriteria
- TheCriteria
to be applied to theRecord
instancesaHeader
- TheHeader
used to restrict the "columns" (key/value entries) in the retrievedRecord
instances (provided by theRecords
instance).aLimit
- The maximumRecord
instances contained in the returnedRecords
instance; there may be moreRecord
instances which are not contained in theRecords
instance in case theRecords
instance's size is that of the specified limit.- Returns:
- A
Records
instance containing all availableRecord
instances being logged matching the given criteria and restrictions. - Throws:
org.refcodes.criteria.CriteriaException.BadCriteriaException
- thrown in case of problems related to someCriteria
.
-
-