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