public class AggregateHistogramResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.aggregateHistogram(AggregateHistogramRequest).| Constructor and Description |
|---|
AggregateHistogramResponse()
Constructs an AggregateHistogramResponse object with default parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<Double> |
getCounts() |
double |
getEnd() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
double |
getStart() |
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
AggregateHistogramResponse |
setCounts(List<Double> counts) |
AggregateHistogramResponse |
setEnd(double end) |
AggregateHistogramResponse |
setStart(double start) |
String |
toString() |
public AggregateHistogramResponse()
public static org.apache.avro.Schema getClassSchema()
public List<Double> getCounts()
public AggregateHistogramResponse setCounts(List<Double> counts)
counts - The array of calculated values that represents the
histogram data points.this to mimic the builder pattern.public double getStart()
start.public AggregateHistogramResponse setStart(double start)
start - Value of start.this to mimic the builder pattern.public double getEnd()
end.public AggregateHistogramResponse setEnd(double end)
end - Value of end.this to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2017. All rights reserved.