|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.metadata.persistence.MetadataQuery
public class MetadataQuery
A query to be performed against a MetadataStore
.
Constructor Summary | |
---|---|
MetadataQuery(QName[] queryTypeNames,
QName[] returnTypeNames,
Filter filter,
SortProperty[] sortCriteria,
int startPosition,
int maxRecords)
Creates a new MetadataQuery instance. |
Method Summary | |
---|---|
Filter |
getFilter()
Returns the constraints to be applied on the queried records. |
int |
getMaxRecords()
Returns the maximum number of records to include in the result. |
QName[] |
getQueryTypeNames()
Returns the queried record types. |
QName[] |
getReturnTypeNames()
Returns the record types that should be returned. |
SortProperty[] |
getSorting()
Returns the constraints to be applied on the queried records. |
int |
getStartPosition()
Returns the number of the first hit to be included in the result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetadataQuery(QName[] queryTypeNames, QName[] returnTypeNames, Filter filter, SortProperty[] sortCriteria, int startPosition, int maxRecords)
MetadataQuery
instance.
queryTypeNames
- names of record types on which the query will be performed, can be null
(depending on the
metadata profile)returnTypeNames
- names of record types to be returned, can be null
(depending on the metadata profile)filter
- constraint on the queried records, can be null
sortCriteria
- sort criteria, can be null
startPosition
- number of the first hit to be included in the result, starting at onemaxRecords
- maximum number of hits to include in the results or -1 (unrestricted)Method Detail |
---|
public QName[] getQueryTypeNames()
Depending on the concrete metadata profile, multiple type names are allowed and may define aliases (e.g eBRIM).
null
public QName[] getReturnTypeNames()
This only makes sense for metadata profiles that support join queries on multiple record types.
null
public Filter getFilter()
null
(no constraints)public SortProperty[] getSorting()
null
(no constraints)public int getStartPosition()
public int getMaxRecords()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |