Package com.gpudb.protocol
Class VisualizeImageChartResponse
java.lang.Object
com.gpudb.protocol.VisualizeImageChartResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class VisualizeImageChartResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.visualizeImageChart.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theVisualizeImageChartResponseparameteraxesInfo.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.Information returned for drawing labels for the axes associated with non-numeric columns.Background color of the image as provided inbgColor.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.intHeight of the image as provided inheight.The generated image data.getInfo()Additional information.doublegetMaxX()Upper bound for the x column values as provided inmaxXor calculated for non-numeric columns when plot_all option is used.doublegetMaxY()Upper bound for the y column values as provided inmaxYor calculated for non-numeric columns when plot_all option is used.doublegetMinX()Lower bound for the x column values as provided inminXor calculated for non-numeric columns when plot_all option is used.doublegetMinY()Lower bound for the y column values as provided inminYor calculated for non-numeric columns when plot_all option is used.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.intgetWidth()Width of the image as provided inwidth.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setAxesInfo(Map<String, List<String>> axesInfo) Information returned for drawing labels for the axes associated with non-numeric columns.setBgColor(String bgColor) Background color of the image as provided inbgColor.setHeight(int height) Height of the image as provided inheight.setImageData(ByteBuffer imageData) The generated image data.Additional information.setMaxX(double maxX) Upper bound for the x column values as provided inmaxXor calculated for non-numeric columns when plot_all option is used.setMaxY(double maxY) Upper bound for the y column values as provided inmaxYor calculated for non-numeric columns when plot_all option is used.setMinX(double minX) Lower bound for the x column values as provided inminXor calculated for non-numeric columns when plot_all option is used.setMinY(double minY) Lower bound for the y column values as provided inminYor calculated for non-numeric columns when plot_all option is used.setWidth(int width) Width of the image as provided inwidth.toString()
Method Details
getMinX
public double getMinX()Lower bound for the x column values as provided inminXor calculated for non-numeric columns when plot_all option is used.Returns:The current value ofminX.setMinX
Lower bound for the x column values as provided inminXor calculated for non-numeric columns when plot_all option is used.Parameters:minX- The new value forminX.Returns:thisto mimic the builder pattern.getMaxX
public double getMaxX()Upper bound for the x column values as provided inmaxXor calculated for non-numeric columns when plot_all option is used.Returns:The current value ofmaxX.setMaxX
Upper bound for the x column values as provided inmaxXor calculated for non-numeric columns when plot_all option is used.Parameters:maxX- The new value formaxX.Returns:thisto mimic the builder pattern.getMinY
public double getMinY()Lower bound for the y column values as provided inminYor calculated for non-numeric columns when plot_all option is used.Returns:The current value ofminY.setMinY
Lower bound for the y column values as provided inminYor calculated for non-numeric columns when plot_all option is used.Parameters:minY- The new value forminY.Returns:thisto mimic the builder pattern.getMaxY
public double getMaxY()Upper bound for the y column values as provided inmaxYor calculated for non-numeric columns when plot_all option is used.Returns:The current value ofmaxY.setMaxY
Upper bound for the y column values as provided inmaxYor calculated for non-numeric columns when plot_all option is used.Parameters:maxY- The new value formaxY.Returns:thisto mimic the builder pattern.getWidth
public int getWidth()Width of the image as provided inwidth.Returns:The current value ofwidth.setWidth
Width of the image as provided inwidth.Parameters:width- The new value forwidth.Returns:thisto mimic the builder pattern.getHeight
public int getHeight()Height of the image as provided inheight.Returns:The current value ofheight.setHeight
Height of the image as provided inheight.Parameters:height- The new value forheight.Returns:thisto mimic the builder pattern.setBgColor
Background color of the image as provided inbgColor.Parameters:bgColor- The new value forbgColor.Returns:thisto mimic the builder pattern.getAxesInfo
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.
Returns:The current value ofaxesInfo.setAxesInfo
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.
Parameters:axesInfo- The new value foraxesInfo.Returns:thisto mimic the builder pattern.