Skip to main content

Class ShowProcResponse

java.lang.Object
com.gpudb.protocol.ShowProcResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord

public class ShowProcResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by GPUdb.showProc.
  • Constructor Details

    • ShowProcResponse

      public ShowProcResponse()
      Constructs a ShowProcResponse 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.
    • getProcNames

      public List<String> getProcNames()
      The proc names.
      Returns:
      The current value of procNames.
    • setProcNames

      public ShowProcResponse setProcNames(List<String> procNames)
      The proc names.
      Parameters:
      procNames - The new value for procNames.
      Returns:
      this to mimic the builder pattern.
    • getExecutionModes

      public List<String> getExecutionModes()
      The execution modes of the procs named in procNames. Supported values:
      Returns:
      The current value of executionModes.
    • setExecutionModes

      public ShowProcResponse setExecutionModes(List<String> executionModes)
      The execution modes of the procs named in procNames. Supported values:
      Parameters:
      executionModes - The new value for executionModes.
      Returns:
      this to mimic the builder pattern.
    • getFiles

      public List<Map<String,ByteBuffer>> getFiles()
      Maps of the files that make up the procs named in procNames.
      Returns:
      The current value of files.
    • setFiles

      public ShowProcResponse setFiles(List<Map<String,ByteBuffer>> files)
      Maps of the files that make up the procs named in procNames.
      Parameters:
      files - The new value for files.
      Returns:
      this to mimic the builder pattern.
    • getCommands

      public List<String> getCommands()
      The commands (excluding arguments) that will be invoked when the procs named in procNames are executed.
      Returns:
      The current value of commands.
    • setCommands

      public ShowProcResponse setCommands(List<String> commands)
      The commands (excluding arguments) that will be invoked when the procs named in procNames are executed.
      Parameters:
      commands - The new value for commands.
      Returns:
      this to mimic the builder pattern.
    • getArgs

      public List<List<String>> getArgs()
      Arrays of command-line arguments that will be passed to the procs named in procNames when executed.
      Returns:
      The current value of args.
    • setArgs

      public ShowProcResponse setArgs(List<List<String>> args)
      Arrays of command-line arguments that will be passed to the procs named in procNames when executed.
      Parameters:
      args - The new value for args.
      Returns:
      this to mimic the builder pattern.
    • getOptions

      public List<Map<String,String>> getOptions()
      The optional parameters for the procs named in procNames.
      Returns:
      The current value of options.
    • setOptions

      public ShowProcResponse setOptions(List<Map<String,String>> options)
      The optional parameters for the procs named in procNames.
      Parameters:
      options - The new value for options.
      Returns:
      this to mimic the builder pattern.
    • getInfo

      public Map<String,String> getInfo()
      Additional information.
      Returns:
      The current value of info.
    • setInfo

      public ShowProcResponse setInfo(Map<String,String> info)
      Additional information.
      Parameters:
      info - The new value for info.
      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