public class AggregateHistogramResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.aggregateHistogram
.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()
The array of calculated values that represents the histogram data
points.
|
double |
getEnd()
Value of
end . |
Map<String,String> |
getInfo()
Additional information.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
double |
getStart()
Value of
start . |
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)
The array of calculated values that represents the histogram data
points.
|
AggregateHistogramResponse |
setEnd(double end)
Value of
end . |
AggregateHistogramResponse |
setInfo(Map<String,String> info)
Additional information.
|
AggregateHistogramResponse |
setStart(double start)
Value of
start . |
String |
toString() |
public AggregateHistogramResponse()
public static org.apache.avro.Schema getClassSchema()
public List<Double> getCounts()
counts
.public AggregateHistogramResponse setCounts(List<Double> counts)
counts
- The new value for counts
.this
to mimic the builder pattern.public double getStart()
start
.start
.public AggregateHistogramResponse setStart(double start)
start
.start
- The new value for start
.this
to mimic the builder pattern.public double getEnd()
end
.end
.public AggregateHistogramResponse setEnd(double end)
end
.end
- The new value for end
.this
to mimic the builder pattern.public Map<String,String> getInfo()
info
.public AggregateHistogramResponse setInfo(Map<String,String> info)
info
- The new value for info
.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2025. All rights reserved.