Class OQLQueryImpl
- java.lang.Object
-
- org.eclipse.mat.parser.internal.oql.OQLQueryImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.mat.snapshot.IOQLQuery
IOQLQuery.Result
-
-
Constructor Summary
Constructors Constructor Description OQLQueryImpl(String queryString)OQLQueryImpl(EvaluationContext parent, Query query)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(ISnapshot snapshot, IProgressListener monitor)Execute the OQL query.static StringOQLforSubject(String select, Object subject, String alias)static StringOQLLiteral(Object subject)StringtoString()
-
-
-
Constructor Detail
-
OQLQueryImpl
public OQLQueryImpl(EvaluationContext parent, Query query)
-
OQLQueryImpl
public OQLQueryImpl(String queryString) throws OQLParseException
- Throws:
OQLParseException
-
-
Method Detail
-
execute
public Object execute(ISnapshot snapshot, IProgressListener monitor) throws SnapshotException
Description copied from interface:IOQLQueryExecute the OQL query. Returns a result object, either a primitive integer array containing object ids or IResultTable.- Specified by:
executein interfaceIOQLQuery- Throws:
SnapshotException
-
-