public interface QueryInspector extends OsidQueryInspector
The query inspectors provide a means of accessing the match terms of a
query. These interfaces are used to examine the actual query terms used in
a search or that may be used to create a smart catalog. Query inspectors
may be converted to OsidQuery
interfaces for reuse or
modification in the search sessions.
Modifier and Type | Method and Description |
---|---|
QueryInspectorRecord |
getQueryInspectorRecord(Type queryRecordType)
Gets the query inspector record corresponding to the given
Query record Type. |
getAnyTerms, getKeywordTerms
QueryInspectorRecord getQueryInspectorRecord(Type queryRecordType) throws OperationFailedException, PermissionDeniedException
Query
record Type.
Multiple record retrievals
produce a nested boolean OR
term.queryRecordType
- a query record typeNullArgumentException
- queryRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(queryRecordType)
is false
mandatory
- This method must be implemented.