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.Constructor Summary
ConstructorsConstructorDescriptionConstructs a VisualizeImageChartResponse object with default parameters.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
getClassSchema
public static org.apache.avro.Schema getClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.Returns:The schema for the class.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.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.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.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.setWidth
Width of the image as provided inwidth.Parameters:width- The new value forwidth.Returns:thisto mimic the builder pattern.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.getImageData
The generated image data.Returns:The current value ofimageData.setImageData
The generated image data.Parameters:imageData- The new value forimageData.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.setInfo
Additional information.Parameters:info- The new value forinfo.Returns:thisto mimic the builder pattern.getSchema
public org.apache.avro.Schema getSchema()This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getSchemain interfaceorg.apache.avro.generic.GenericContainerReturns:The schema object describing this class.get
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to getReturns:value of the field with the given index.Throws:put
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:putin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to setvalue- the value to setThrows: