Package org.eclipse.mat.snapshot.query
Class TQuantize
java.lang.Object
org.eclipse.mat.snapshot.query.TQuantize
Create a value or frequency distribution out of
IResultTable.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTQuantizefactorystatic enumWell-known default aggregations. -
Method Summary
Modifier and TypeMethodDescriptionstatic TQuantizedefaultValueDistribution(ISnapshot snapshot, IResultTable base, TQuantize.Target target) A convenience methods to aggregate a table by one of the well-known targets and create the sum for all other columns.process(IProgressListener listener) Create distribution based on the given table.static TQuantize.BuildervalueDistribution(ISnapshot snapshot, IResultTable base, int... columns) Creates aTQuantizeobject which aggregates the table by the value of the columns.static TQuantize.BuildervalueDistribution(ISnapshot snapshot, IResultTable base, TQuantize.Target target) Creates aTQuantizeobject which aggregates the table by one of the well-known targets, e.g.
-
Method Details
-
valueDistribution
public static TQuantize.Builder valueDistribution(ISnapshot snapshot, IResultTable base, int... columns) throws SnapshotException Creates aTQuantizeobject which aggregates the table by the value of the columns.- Throws:
SnapshotException
-
valueDistribution
public static TQuantize.Builder valueDistribution(ISnapshot snapshot, IResultTable base, TQuantize.Target target) throws SnapshotException Creates aTQuantizeobject which aggregates the table by one of the well-known targets, e.g. by class loader or package.- Throws:
SnapshotException
-
defaultValueDistribution
public static TQuantize defaultValueDistribution(ISnapshot snapshot, IResultTable base, TQuantize.Target target) throws SnapshotException A convenience methods to aggregate a table by one of the well-known targets and create the sum for all other columns.- Throws:
SnapshotException
-
process
Create distribution based on the given table.- Parameters:
listener- progress listener- Throws:
SnapshotException
-