Skip to main content

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 by GPUdb.visualizeIsochrone.
  • Constructor Details

    • VisualizeIsochroneResponse

      public VisualizeIsochroneResponse()
      Constructs a VisualizeIsochroneResponse object with default parameters.
  • 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.
    • getWidth

      public int getWidth()
      Width of the image as provided in WIDTH.
      Returns:
      The current value of width.
    • setWidth

      public VisualizeIsochroneResponse setWidth(int width)
      Width of the image as provided in WIDTH.
      Parameters:
      width - The new value for width.
      Returns:
      this to mimic the builder pattern.
    • getHeight

      public int getHeight()
      Height of the image as provided in HEIGHT.
      Returns:
      The current value of height.
    • setHeight

      public VisualizeIsochroneResponse setHeight(int height)
      Height of the image as provided in HEIGHT.
      Parameters:
      height - The new value for height.
      Returns:
      this to mimic the builder pattern.
    • getBgColor

      public long getBgColor()
      Background color of the image as provided in BG_COLOR.
      Returns:
      The current value of bgColor.
    • setBgColor

      public VisualizeIsochroneResponse setBgColor(long bgColor)
      Background color of the image as provided in BG_COLOR.
      Parameters:
      bgColor - The new value for bgColor.
      Returns:
      this to 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 for imageData.
      Returns:
      this to 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 for info.
      Returns:
      this to 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 for solveInfo.
      Returns:
      this to 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 for contourInfo.
      Returns:
      this to 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:
      getSchema in interface org.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:
      get in interface org.apache.avro.generic.IndexedRecord
      Parameters:
      index - the position of the field to get
      Returns:
      value of the field with the given index.
      Throws:
    • 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:
      put in interface org.apache.avro.generic.IndexedRecord
      Parameters:
      index - the position of the field to set
      value - the value to set
      Throws:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object