Class OQLQueryImpl
java.lang.Object
org.eclipse.mat.parser.internal.oql.OQLQueryImpl
- All Implemented Interfaces:
IOQLQuery
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.mat.snapshot.IOQLQuery
IOQLQuery.Result
-
Constructor Summary
ConstructorDescriptionOQLQueryImpl
(String queryString) OQLQueryImpl
(EvaluationContext parent, Query query) -
Method Summary
Modifier and TypeMethodDescriptionexecute
(ISnapshot snapshot, IProgressListener monitor) Execute the OQL query.static String
OQLforSubject
(String select, Object subject, String alias) static String
OQLLiteral
(Object subject) toString()
-
Constructor Details
-
OQLQueryImpl
-
OQLQueryImpl
- Throws:
OQLParseException
-
-
Method Details
-
OQLLiteral
-
OQLforSubject
-
execute
Description copied from interface:IOQLQuery
Execute the OQL query. Returns a result object, either a primitive integer array containing object ids or IResultTable.- Specified by:
execute
in interfaceIOQLQuery
- Throws:
SnapshotException
-
toString
-