public class VisualizeImageChartResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.visualizeImageChart(VisualizeImageChartRequest)
.Modifier and Type | Class and Description |
---|---|
static class |
VisualizeImageChartResponse.AxesInfo
Information returned for drawing labels for the axes associated with
non-numeric columns.
|
Constructor and Description |
---|
VisualizeImageChartResponse()
Constructs a VisualizeImageChartResponse 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.
|
Map<String,List<String>> |
getAxesInfo() |
String |
getBgColor() |
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
int |
getHeight() |
ByteBuffer |
getImageData() |
Map<String,String> |
getInfo() |
double |
getMaxX() |
double |
getMaxY() |
double |
getMinX() |
double |
getMinY() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
int |
getWidth() |
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.
|
VisualizeImageChartResponse |
setAxesInfo(Map<String,List<String>> axesInfo) |
VisualizeImageChartResponse |
setBgColor(String bgColor) |
VisualizeImageChartResponse |
setHeight(int height) |
VisualizeImageChartResponse |
setImageData(ByteBuffer imageData) |
VisualizeImageChartResponse |
setInfo(Map<String,String> info) |
VisualizeImageChartResponse |
setMaxX(double maxX) |
VisualizeImageChartResponse |
setMaxY(double maxY) |
VisualizeImageChartResponse |
setMinX(double minX) |
VisualizeImageChartResponse |
setMinY(double minY) |
VisualizeImageChartResponse |
setWidth(int width) |
String |
toString() |
public VisualizeImageChartResponse()
public static org.apache.avro.Schema getClassSchema()
public double getMinX()
minX
or calculated for non-numeric columns when plot_all option is
used.public VisualizeImageChartResponse setMinX(double minX)
minX
- Lower bound for the x column values as provided in minX
or calculated for non-numeric columns when plot_all
option is used.this
to mimic the builder pattern.public double getMaxX()
maxX
or calculated for non-numeric columns when plot_all option is
used.public VisualizeImageChartResponse setMaxX(double maxX)
maxX
- Upper bound for the x column values as provided in maxX
or calculated for non-numeric columns when plot_all
option is used.this
to mimic the builder pattern.public double getMinY()
minY
or calculated for non-numeric columns when plot_all option is
used.public VisualizeImageChartResponse setMinY(double minY)
minY
- Lower bound for the y column values as provided in minY
or calculated for non-numeric columns when plot_all
option is used.this
to mimic the builder pattern.public double getMaxY()
maxY
or calculated for non-numeric columns when plot_all option is
used.public VisualizeImageChartResponse setMaxY(double maxY)
maxY
- Upper bound for the y column values as provided in maxY
or calculated for non-numeric columns when plot_all
option is used.this
to mimic the builder pattern.public int getWidth()
width
.public VisualizeImageChartResponse setWidth(int width)
width
- Width of the image as provided in width
.this
to mimic the builder pattern.public int getHeight()
height
.public VisualizeImageChartResponse setHeight(int height)
height
- Height of the image as provided in height
.this
to mimic the builder pattern.public String getBgColor()
bgColor
.public VisualizeImageChartResponse setBgColor(String bgColor)
bgColor
- Background color of the image as provided in bgColor
.this
to mimic the builder pattern.public ByteBuffer getImageData()
public VisualizeImageChartResponse setImageData(ByteBuffer imageData)
imageData
- The generated image data.this
to mimic the builder pattern.public Map<String,List<String>> getAxesInfo()
SORTED_X_VALUES
: Sorted non-numeric x column value list for
drawing x axis label.
LOCATION_X
: X axis label positions of sorted_x_values in pixel
coordinates.
SORTED_Y_VALUES
: Sorted non-numeric y column value list for
drawing y axis label.
LOCATION_Y
: Y axis label positions of sorted_y_values in pixel
coordinates.
public VisualizeImageChartResponse setAxesInfo(Map<String,List<String>> axesInfo)
axesInfo
- Information returned for drawing labels for the axes
associated with non-numeric columns.
SORTED_X_VALUES
: Sorted non-numeric x column value
list for drawing x axis label.
LOCATION_X
: X axis label positions of sorted_x_values
in pixel coordinates.
SORTED_Y_VALUES
: Sorted non-numeric y column value
list for drawing y axis label.
LOCATION_Y
: Y axis label positions of sorted_y_values
in pixel coordinates.
this
to mimic the builder pattern.public VisualizeImageChartResponse setInfo(Map<String,String> info)
info
- Additional information.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 © 2020. All rights reserved.