Package | Description |
---|---|
org.openjdk.jmc.common.item |
This package contains the
IItem data model. |
org.openjdk.jmc.common.unit |
This package contains the data model for quantities and units.
|
Modifier and Type | Class and Description |
---|---|
class |
Attribute<T> |
Modifier and Type | Method and Description |
---|---|
static <T> IAttribute<T> |
Attribute.attr(String identifier,
String name,
ContentType<T> contentType)
Obtain an attribute.
|
static <T> IAttribute<T> |
Attribute.attr(String identifier,
String name,
String description,
ContentType<T> contentType)
Obtain an attribute.
|
static <T> IAttribute<T> |
Attribute.canonicalize(Attribute<T> key)
Set
key as the canonical (and only allowed) attribute for its equivalence class. |
IAttribute<?> |
IItemQuery.getGroupBy() |
Modifier and Type | Method and Description |
---|---|
List<IAttribute<?>> |
IType.getAttributes()
Deprecated.
|
Collection<IAttribute<?>> |
IItemQuery.getAttributes() |
Modifier and Type | Method and Description |
---|---|
static <T> IMemberAccessor<T,IItem> |
ItemToolkit.accessor(IAttribute<T> a)
Deprecated.
This method returns a member accessor that is not thread safe. Instead of
creating an accessor that could be used for multiple item types, items should be
iterated by type, preferably using an
IAggregator which enables parallel
processing. |
static IAggregator<Boolean,?> |
Aggregators.and(String typeId,
IAttribute<Boolean> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(String typeId,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(String name,
String description,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.avg(String name,
String description,
String typeId,
IAttribute<IQuantity> attribute) |
static <T> IAggregator<Set<T>,?> |
Aggregators.distinct(IAttribute<T> attribute) |
static IAggregator<String,?> |
Aggregators.distinctAsString(IAttribute<String> attribute,
String delimiter) |
static IAggregator<String,?> |
Aggregators.distinctAsString(IAttribute<String> attribute,
String delimiter,
String name,
String description) |
static IAggregator<String,?> |
Aggregators.distinctAsString(String typeId,
IAttribute<String> attribute) |
static <T> T |
ItemToolkit.getFirstFound(IItemCollection items,
IAttribute<T> attribute)
Returns the value of the event first encountered with the attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.getQuantityAggregator(String name,
IAttribute<IQuantity> attribute) |
ItemQueryBuilder |
ItemQueryBuilder.groupBy(IAttribute<?> attribute) |
static <V extends Comparable<V>> |
Aggregators.itemWithMax(IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.itemWithMin(IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.max(IAttribute<V> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.max(String typeId,
IAttribute<IQuantity> attribute) |
static <V extends Comparable<V>> |
Aggregators.max(String name,
String description,
IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.max(String name,
String description,
String typeId,
IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.min(IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.min(String typeId,
IAttribute<V> attribute) |
static <V extends Comparable<V>> |
Aggregators.min(String name,
String description,
String typeId,
IAttribute<V> attribute) |
static IAggregator<Boolean,?> |
Aggregators.or(String typeId,
IAttribute<Boolean> attribute) |
ItemQueryBuilder |
ItemQueryBuilder.select(IAttribute<?>... attributes) |
ItemQueryBuilder |
ItemQueryBuilder.select(IAttribute<?> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.stddev(IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.stddev(String name,
String description,
IAttribute<IQuantity> attribute)
Calculates the sample standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.stddevp(IAttribute<IQuantity> attribute)
Calculates the population standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.stddevp(String name,
String description,
IAttribute<IQuantity> attribute)
Calculates the population standard deviation for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.sum(IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(String typeId,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(String name,
String description,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.sum(String name,
String description,
String typeId,
IAttribute<IQuantity> attribute) |
static IAggregator<IQuantity,?> |
Aggregators.variance(IAttribute<IQuantity> attribute)
Calculates the sample variance for a linear quantity attribute.
|
static IAggregator<IQuantity,?> |
Aggregators.variancep(IAttribute<IQuantity> attribute)
Calculates the population variance for a linear quantity attribute.
|
Constructor and Description |
---|
AdvancedMaxAggregator(String name,
String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
AdvancedMaxAggregator(String name,
String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
AdvancedMinAggregator(String name,
String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
AdvancedMinAggregator(String name,
String description,
IAttribute<V> attribute,
IAttribute<T> comparator) |
Modifier and Type | Field and Description |
---|---|
static IAttribute<Number> |
UnitLookup.NUMERICAL_ATTRIBUTE |
static IAttribute<IUnit> |
UnitLookup.UNIT_ATTRIBUTE |
Modifier and Type | Method and Description |
---|---|
List<IAttribute<?>> |
StructContentType.getAttributes() |
List<IAttribute<?>> |
KindOfQuantity.getAttributes() |
List<IAttribute<?>> |
ContentType.getAttributes() |
Modifier and Type | Method and Description |
---|---|
<M> void |
StructContentType.addExtraAttribute(int atIndex,
IAttribute<M> attribute)
Deprecated.
|
Copyright © 2019. All rights reserved.