|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Query
Represents a query stored on the UCMDB server.
If the query was created usingTopologyQueryFactory.createNamedQuery(String)
, the first call to
either getDefinition, queryType, queryVersion, or queryReferenceDefinition will result in a server call to fetch
the query information.
Method Summary | |
---|---|
QueryDefinition |
getDefinition()
Returns a client-side representation of the definition of the query on the server. |
java.lang.String |
getName()
The name of the query. |
QueryReferenceDefinition |
queryReferenceDefinition()
Returns the reference definition of this query, if any exists, or null if the query is "regular" (definition based). |
QueryType |
queryType()
The query type. |
QueryVersion |
queryVersion()
Returns the version of this query as it was saved on the server. |
ExecutableQuery |
toExecutable()
Transforms this object into a query that can be run with TopologyQueryService.executeQuery(ExecutableQuery) |
Method Detail |
---|
java.lang.String getName()
QueryDefinition getDefinition()
TopologyQueryService.executeQuery(QueryDefinition)
. The methods of theExecutableQuery
interface are sufficient for most such modifications.
TopologyQueryService.executeQuery(QueryDefinition)
in order for the modifications to take effect.
ExecutableQuery toExecutable()
TopologyQueryService.executeQuery(ExecutableQuery)
@NotFinalAPI QueryType queryType()
@NotFinalAPI QueryReferenceDefinition queryReferenceDefinition()
queryType()
,
QueryType
@NotFinalAPI QueryVersion queryVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |