blob: b80436b4428a57d593e453d796410deb1bfd91a1 [file]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2008, 2010 SAP AG.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
SAP AG - initial API and implementation
-->
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd" >
<reference id="ref_oqlsyntax" xml:lang="en-us">
<title>OQL Syntax</title>
<shortdesc />
<prolog>
<copyright>
<copyryear year=""></copyryear>
<copyrholder>
Copyright (c) 2008, 2010 SAP AG and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
</copyrholder>
</copyright>
</prolog>
<refbody>
<section>
<p>
Memory Analyzer has a built-in object query language
(OQL) that allows to query the heap dump with custom
SQL-like queries. Just think of classes as tables,
objects as rows, and fields as columns. The basic syntax
is this:</p>
<codeblock>SELECT * FROM [ INSTANCEOF ] &lt;class_name&gt; [ WHERE &lt;filter-expression&gt;]
</codeblock>
</section>
</refbody>
</reference>