Package org.eclipse.mat.query
Interface IStructuredResult
- All Superinterfaces:
IResult
- All Known Subinterfaces:
IResultTable
,IResultTree
- All Known Implementing Classes:
BigDropsQuery
,BundleRegistryQuery.BundleTreeResult
,BundleRegistryQuery.ExtensionTreeResult
,BundleRegistryQuery.ServicesTreeResult
,ClassReferrersQuery.InboundClasses
,ClassReferrersQuery.OutboundClasses
,CompareTablesQuery.ComparisonResultTable
,CompareTablesQuery.ComparisonResultTree
,CompareTablesQuery.TableComparisonResult
,DominatorQuery.Tree
,DuplicatedClassesQuery
,FindLeaksQuery.SuspectsResultTable
,FindLeaksQuery2.SuspectsResultTable
,HashEntriesQuery.Result
,Histogram
,Histogram.ClassLoaderTree
,Histogram.PackageTree
,Histogram.SuperclassTree
,ImmediateDominatorsQuery.ResultImpl
,ListResult
,MultiplePath2GCRootsQuery.Tree
,ObjectListResult.Inbound
,ObjectListResult.Outbound
,Path2GCRootsQuery.Tree
,PropertyResult
,RefinedStructuredResult
,RefinedTable
,RefinedTree
,UnreachableObjectsHistogram
Interface for structured results (i.e. tree and tables).
Custom queries are expected to implement IResultTable
or
IResultTree
.
-
Method Summary
Modifier and TypeMethodDescriptionColumn[]
The columns of the tree or table.getColumnValue
(Object row, int columnIndex) Returns the (unformatted) value of a table/tree cell.getContext
(Object row) The default context of the row which is used to display information in the object inspector.Methods inherited from interface org.eclipse.mat.query.IResult
getResultMetaData
-
Method Details
-
getColumns
Column[] getColumns()The columns of the tree or table.- Returns:
- an array of all the columns
-
getColumnValue
Returns the (unformatted) value of a table/tree cell.- Parameters:
row
- The row object as returned by theIResultTable.getRow(int)
orIResultTree.getElements()
orIResultTree.getChildren(Object)
methodscolumnIndex
- The index of the column.- Returns:
- the cell value
-
getContext
The default context of the row which is used to display information in the object inspector. Unless no context provider is given via theResultMetaData
, it is also used for the context menu on a row.- Parameters:
row
- The row object as returned by theIResultTable.getRow(int)
orIResultTree.getElements()
orIResultTree.getChildren(Object)
methods.- Returns:
- a context object holding details about that row
-