public interface ILcdCSWQueryHandler
filter constraint
.
The handler also needs to take into account the output format, content and sorting of the resulting metadata records.
See ALcdCSWFilterQueryHandler
for an abstract implementation restricted to OGC filter.
Modifier and Type | Method and Description |
---|---|
Object |
executeQuery(TLcdCSWQuery aQuery,
long aMaxRecords,
long aStartPosition,
TLcdCSWRecordType aOutputFormat,
ILcdRequest aRequest)
Executes the given query and returns its result.
|
boolean |
validateQuery(TLcdCSWQuery aQuery,
ILcdRequest aRequest)
Returns true if the given query is a valid query, meaning that is is syntactically correct and uses the right
property and type names.
|
boolean validateQuery(TLcdCSWQuery aQuery, ILcdRequest aRequest) throws TLcdCSWServiceException
aQuery
- the query to validateaRequest
- the request triggering the queryTLcdCSWServiceException
- can be thrown to provide more meaningful error messagesObject executeQuery(TLcdCSWQuery aQuery, long aMaxRecords, long aStartPosition, TLcdCSWRecordType aOutputFormat, ILcdRequest aRequest) throws TLcdCSWServiceException
aQuery
- A query to executeaMaxRecords
- the maximum number of records to returnaStartPosition
- The start position to return queries foraOutputFormat
- the output format for the recordaRequest
- the request triggering the queryTLcdCSWSearchResults
with Dublin Core or ISO metadata, or an
atom feed
TLcdCSWServiceException
- if the query could not be executed