Package com.gpudb.protocol
Class VisualizeIsochroneResponse
- java.lang.Object
-
- com.gpudb.protocol.VisualizeIsochroneResponse
-
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer,org.apache.avro.generic.IndexedRecord
public class VisualizeIsochroneResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned byGPUdb.visualizeIsochrone.
-
-
Constructor Summary
Constructors Constructor Description VisualizeIsochroneResponse()Constructs a VisualizeIsochroneResponse object with default parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Objectget(int index)This method supports the Avro framework and is not intended to be called directly by the user.longgetBgColor()Background color of the image as provided inBG_COLOR.static org.apache.avro.SchemagetClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.Map<String,String>getContourInfo()Additional information.intgetHeight()Height of the image as provided inHEIGHT.ByteBuffergetImageData()Generated contour image data.Map<String,String>getInfo()Additional information.org.apache.avro.SchemagetSchema()This method supports the Avro framework and is not intended to be called directly by the user.Map<String,String>getSolveInfo()Additional information.intgetWidth()Width of the image as provided inWIDTH.inthashCode()voidput(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.VisualizeIsochroneResponsesetBgColor(long bgColor)Background color of the image as provided inBG_COLOR.VisualizeIsochroneResponsesetContourInfo(Map<String,String> contourInfo)Additional information.VisualizeIsochroneResponsesetHeight(int height)Height of the image as provided inHEIGHT.VisualizeIsochroneResponsesetImageData(ByteBuffer imageData)Generated contour image data.VisualizeIsochroneResponsesetInfo(Map<String,String> info)Additional information.VisualizeIsochroneResponsesetSolveInfo(Map<String,String> solveInfo)Additional information.VisualizeIsochroneResponsesetWidth(int width)Width of the image as provided inWIDTH.StringtoString()
-
-
-
Method Detail
-
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.
-
getWidth
public int getWidth()
Width of the image as provided inWIDTH.- Returns:
- The current value of
width.
-
setWidth
public VisualizeIsochroneResponse setWidth(int width)
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 of
height.
-
setHeight
public VisualizeIsochroneResponse setHeight(int height)
Height of the image as provided inHEIGHT.- Parameters:
height- The new value forheight.- Returns:
thisto mimic the builder pattern.
-
getBgColor
public long getBgColor()
Background color of the image as provided inBG_COLOR.- Returns:
- The current value of
bgColor.
-
setBgColor
public VisualizeIsochroneResponse setBgColor(long bgColor)
Background color of the image as provided inBG_COLOR.- Parameters:
bgColor- The new value forbgColor.- Returns:
thisto mimic the builder pattern.
-
getImageData
public ByteBuffer getImageData()
Generated contour image data.- Returns:
- The current value of
imageData.
-
setImageData
public VisualizeIsochroneResponse setImageData(ByteBuffer imageData)
Generated contour image data.- Parameters:
imageData- The new value forimageData.- Returns:
thisto mimic the builder pattern.
-
getInfo
public Map<String,String> getInfo()
Additional information.- Returns:
- The current value of
info.
-
setInfo
public VisualizeIsochroneResponse setInfo(Map<String,String> info)
Additional information.- Parameters:
info- The new value forinfo.- Returns:
thisto mimic the builder pattern.
-
getSolveInfo
public Map<String,String> getSolveInfo()
Additional information.- Returns:
- The current value of
solveInfo.
-
setSolveInfo
public VisualizeIsochroneResponse setSolveInfo(Map<String,String> solveInfo)
Additional information.- Parameters:
solveInfo- The new value forsolveInfo.- Returns:
thisto mimic the builder pattern.
-
getContourInfo
public Map<String,String> getContourInfo()
Additional information.- Returns:
- The current value of
contourInfo.
-
setContourInfo
public VisualizeIsochroneResponse setContourInfo(Map<String,String> contourInfo)
Additional information.- Parameters:
contourInfo- The new value forcontourInfo.- 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.GenericContainer- Returns:
- The schema object describing this class.
-
get
public Object get(int index)
This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
getin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to get- Returns:
- value of the field with the given index.
- Throws:
IndexOutOfBoundsException
-
put
public void put(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
putin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to setvalue- the value to set- Throws:
IndexOutOfBoundsException
-
-