Interface Query
- All Known Implementing Classes:
AbstractQuery
,LdapQuery
,SqlQuery
public interface Query
<p>Data interrogation query class.</p>
<p>Defines an interrogation query (SQL select, LDAP search, ...) on a specified
data source, with optional parameters, which returns either a single result
(i.e. name of a person in a LDAP directory), or a list of multiple structured
results (i.e. list of products from a SQL database).
</p>
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additional query configuration information.Get the id of datasource on which depends this query.Get the query description.Get the id of source factorygetId()
Get the query ID.getName()
Get the query name.Get the query parameter names.Get the query result type.getType()
Get the query type.
-
Field Details
-
PARAMETER_PATTERN
Parameter pattern.- See Also:
-
PARAMETER_MATCHER
Parameter matcher.
-
-
Method Details
-
getId
Get the query ID.- Returns:
- the query ID.
-
getName
Get the query name.- Returns:
- the query name.
-
getDescription
Get the query description.- Returns:
- the query description.
-
getType
Get the query type.- Returns:
- the query type.
-
getFactory
Get the id of source factory- Returns:
- the id of source factory
-
getParameters
Get the query parameter names.- Returns:
- the query parameter names as a Collection.
-
getResultType
Get the query result type.- Returns:
- the query result type.
-
getAdditionalConfiguration
Get the additional query configuration information.- Returns:
- the additional query configuration information as a Map of String -> String.
-
getDataSourceId
Get the id of datasource on which depends this query.- Returns:
- the datasource on which depends this query.
-