Package hydra.ext.cypher.features
Class AggregateFunctionFeatures
- java.lang.Object
-
- hydra.ext.cypher.features.AggregateFunctionFeatures
-
- All Implemented Interfaces:
java.io.Serializable
public class AggregateFunctionFeatures extends java.lang.Object implements java.io.Serializable
Aggregate functions- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Boolean
avg
The avg() function / AVG.java.lang.Boolean
collect
The collect() function / COLLECT.java.lang.Boolean
count
The count() function / COUNT.static Name
FIELD_NAME_AVG
static Name
FIELD_NAME_COLLECT
static Name
FIELD_NAME_COUNT
static Name
FIELD_NAME_MAX
static Name
FIELD_NAME_MIN
static Name
FIELD_NAME_PERCENTILE_CONT
static Name
FIELD_NAME_PERCENTILE_DISC
static Name
FIELD_NAME_STDEV
static Name
FIELD_NAME_STDEVP
static Name
FIELD_NAME_SUM
java.lang.Boolean
max
The max() function / MAX.java.lang.Boolean
min
The min() function / MIN.java.lang.Boolean
percentileCont
The percentileCont() function.java.lang.Boolean
percentileDisc
The percentileDisc() function.java.lang.Boolean
stdev
The stdev() function.java.lang.Boolean
stdevp
The stdevp() function.java.lang.Boolean
sum
The sum() function / SUM.static Name
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description AggregateFunctionFeatures(java.lang.Boolean avg, java.lang.Boolean collect, java.lang.Boolean count, java.lang.Boolean max, java.lang.Boolean min, java.lang.Boolean percentileCont, java.lang.Boolean percentileDisc, java.lang.Boolean stdev, java.lang.Boolean stdevp, java.lang.Boolean sum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
AggregateFunctionFeatures
withAvg(java.lang.Boolean avg)
AggregateFunctionFeatures
withCollect(java.lang.Boolean collect)
AggregateFunctionFeatures
withCount(java.lang.Boolean count)
AggregateFunctionFeatures
withMax(java.lang.Boolean max)
AggregateFunctionFeatures
withMin(java.lang.Boolean min)
AggregateFunctionFeatures
withPercentileCont(java.lang.Boolean percentileCont)
AggregateFunctionFeatures
withPercentileDisc(java.lang.Boolean percentileDisc)
AggregateFunctionFeatures
withStdev(java.lang.Boolean stdev)
AggregateFunctionFeatures
withStdevp(java.lang.Boolean stdevp)
AggregateFunctionFeatures
withSum(java.lang.Boolean sum)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_AVG
public static final Name FIELD_NAME_AVG
-
FIELD_NAME_COLLECT
public static final Name FIELD_NAME_COLLECT
-
FIELD_NAME_COUNT
public static final Name FIELD_NAME_COUNT
-
FIELD_NAME_MAX
public static final Name FIELD_NAME_MAX
-
FIELD_NAME_MIN
public static final Name FIELD_NAME_MIN
-
FIELD_NAME_PERCENTILE_CONT
public static final Name FIELD_NAME_PERCENTILE_CONT
-
FIELD_NAME_PERCENTILE_DISC
public static final Name FIELD_NAME_PERCENTILE_DISC
-
FIELD_NAME_STDEV
public static final Name FIELD_NAME_STDEV
-
FIELD_NAME_STDEVP
public static final Name FIELD_NAME_STDEVP
-
FIELD_NAME_SUM
public static final Name FIELD_NAME_SUM
-
avg
public final java.lang.Boolean avg
The avg() function / AVG. Returns the average of a set of DURATION values.; Returns the average of a set of FLOAT values.; Returns the average of a set of INTEGER values.
-
collect
public final java.lang.Boolean collect
The collect() function / COLLECT. Returns a list containing the values returned by an expression.
-
count
public final java.lang.Boolean count
The count() function / COUNT. Returns the number of values or rows.
-
max
public final java.lang.Boolean max
The max() function / MAX. Returns the maximum value in a set of values.
-
min
public final java.lang.Boolean min
The min() function / MIN. Returns the minimum value in a set of values.
-
percentileCont
public final java.lang.Boolean percentileCont
The percentileCont() function. Returns the percentile of a value over a group using linear interpolation.
-
percentileDisc
public final java.lang.Boolean percentileDisc
The percentileDisc() function. Returns the nearest FLOAT value to the given percentile over a group using a rounding method.; Returns the nearest INTEGER value to the given percentile over a group using a rounding method.
-
stdev
public final java.lang.Boolean stdev
The stdev() function. Returns the standard deviation for the given value over a group for a sample of a population.
-
stdevp
public final java.lang.Boolean stdevp
The stdevp() function. Returns the standard deviation for the given value over a group for an entire population.
-
sum
public final java.lang.Boolean sum
The sum() function / SUM. Returns the sum of a set of DURATION values.; Returns the sum of a set of FLOAT values.; Returns the sum of a set of INTEGER values.
-
-
Constructor Detail
-
AggregateFunctionFeatures
public AggregateFunctionFeatures(java.lang.Boolean avg, java.lang.Boolean collect, java.lang.Boolean count, java.lang.Boolean max, java.lang.Boolean min, java.lang.Boolean percentileCont, java.lang.Boolean percentileDisc, java.lang.Boolean stdev, java.lang.Boolean stdevp, java.lang.Boolean sum)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withAvg
public AggregateFunctionFeatures withAvg(java.lang.Boolean avg)
-
withCollect
public AggregateFunctionFeatures withCollect(java.lang.Boolean collect)
-
withCount
public AggregateFunctionFeatures withCount(java.lang.Boolean count)
-
withMax
public AggregateFunctionFeatures withMax(java.lang.Boolean max)
-
withMin
public AggregateFunctionFeatures withMin(java.lang.Boolean min)
-
withPercentileCont
public AggregateFunctionFeatures withPercentileCont(java.lang.Boolean percentileCont)
-
withPercentileDisc
public AggregateFunctionFeatures withPercentileDisc(java.lang.Boolean percentileDisc)
-
withStdev
public AggregateFunctionFeatures withStdev(java.lang.Boolean stdev)
-
withStdevp
public AggregateFunctionFeatures withStdevp(java.lang.Boolean stdevp)
-
withSum
public AggregateFunctionFeatures withSum(java.lang.Boolean sum)
-
-