Class SnapshotQuery

java.lang.Object
org.eclipse.mat.snapshot.query.SnapshotQuery

public class SnapshotQuery extends Object
This class provides possibility to lookup, inspect, parameterize and execute queries on a given heap dump.

NOTE: The queries delivered with Memory Analyzer and their expected parameters are not part of the API. Both names/identifiers and parameters may change.

Usage example:
 IResult result = SnapshotQuery.lookup("top_consumers_html", snapshot) //
                 .setArgument("objects", retained) //
                 .execute(listener);