public class AggSampleDistinct extends AggregatorBase
Constructor and Description |
---|
AggSampleDistinct(Expr expr) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
copy(Expr expr) |
Accumulator |
createAccumulator()
Create an accumulator for this aggregator
|
boolean |
equals(Object other) |
Expr |
getExpr()
Get the expression - may be null (e.g COUNT(*)) ;
|
Node |
getValueEmpty()
Value if there are no elements in any group : return null for no result
|
int |
hashCode() |
String |
toPrefixString() |
String |
toString() |
copyTransform, getValue, key
public AggSampleDistinct(Expr expr)
public Aggregator copy(Expr expr)
public String toString()
toString
in class AggregatorBase
public String toPrefixString()
toPrefixString
in interface Aggregator
toPrefixString
in class AggregatorBase
public Accumulator createAccumulator()
Aggregator
createAccumulator
in interface Aggregator
createAccumulator
in class AggregatorBase
public Expr getExpr()
Aggregator
public int hashCode()
hashCode
in interface Aggregator
hashCode
in class AggregatorBase
public boolean equals(Object other)
equals
in interface Aggregator
equals
in class AggregatorBase
public Node getValueEmpty()
Aggregator
getValueEmpty
in interface Aggregator
getValueEmpty
in class AggregatorBase
Licenced under the Apache License, Version 2.0