public class TopTransform extends AmountTransform
Represents the Top* transformation items.
| Modifier and Type | Method and Description |
|---|---|
static TopTransform |
count(int amount,
DataValue value)
Creates a "topcount" transformation item.
|
static TopTransform |
percent(double amount,
DataValue value)
Creates a "toppercent" transformation item.
|
static TopTransform |
sum(double amount,
DataValue value)
Creates a "topsum" transformation item.
|
getAmount, getName, getValuechain, getItems, setItemsadd, add, add, add, add, add, add, all, any, asType, average, ceiling, concat, concat, contains, contains, countDistinct, date, day, divide, divide, divide, divide, divide, divide, divide, endsWith, endsWith, equal, equal, equal, equal, equal, equal, equal, equal, equal, floor, fractionalSeconds, geoDistance, geoIntersectse, geoLength, getDataType, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, has, hour, indexOf, indexOf, isNull, isType, length, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, maximum, minimum, minute, modulo, modulo, modulo, modulo, modulo, modulo, modulo, month, multiply, multiply, multiply, multiply, multiply, multiply, multiply, negate, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notNull, round, second, startsWith, startsWith, substring, substring, substring, substring, subtract, subtract, subtract, subtract, subtract, subtract, subtract, sum, time, toLower, toString, totalOffsetMinutes, toUpper, trim, unwrap, wrap, yearcloneMutable, equals, getTypeCode, hashCodepublic static TopTransform count(int amount, DataValue value)
Creates a "topcount" transformation item.
amount - The amount to be applied.value - The value by which the transformation will compare the instances in the entity set.public static TopTransform percent(double amount, DataValue value)
Creates a "toppercent" transformation item.
amount - The amount to be applied.value - The value by which the transformation will compare the instances in the entity set.public static TopTransform sum(double amount, DataValue value)
Creates a "topsum" transformation item.
amount - The amount to be applied.value - The value by which the transformation will compare the instances in the entity set.