Skip to main content

Class GetRecordsBySeriesResponse<T>

java.lang.Object
com.gpudb.protocol.GetRecordsBySeriesResponse<T>
Type Parameters:
T - The type of object being processed.

public class GetRecordsBySeriesResponse<T> extends Object
A set of results returned by GPUdb.getRecordsBySeries.
  • Constructor Details

    • GetRecordsBySeriesResponse

      public GetRecordsBySeriesResponse()
      Constructs a GetRecordsBySeriesResponse object with default parameters.
  • Method Details

    • getTableNames

      public List<String> getTableNames()
      The table name (one per series/track) of the returned series/tracks.
      Returns:
      The current value of tableNames.
    • setTableNames

      public GetRecordsBySeriesResponse<T> setTableNames(List<String> tableNames)
      The table name (one per series/track) of the returned series/tracks.
      Parameters:
      tableNames - The new value for tableNames.
      Returns:
      this to mimic the builder pattern.
    • getTypeNames

      public List<String> getTypeNames()
      The type IDs (one per series/track) of the returned series/tracks.
      Returns:
      The current value of typeNames.
    • setTypeNames

      public GetRecordsBySeriesResponse<T> setTypeNames(List<String> typeNames)
      The type IDs (one per series/track) of the returned series/tracks.
      Parameters:
      typeNames - The new value for typeNames.
      Returns:
      this to mimic the builder pattern.
    • getTypeSchemas

      public List<String> getTypeSchemas()
      The type schemas (one per series/track) of the returned series/tracks.
      Returns:
      The current value of typeSchemas.
    • setTypeSchemas

      public GetRecordsBySeriesResponse<T> setTypeSchemas(List<String> typeSchemas)
      The type schemas (one per series/track) of the returned series/tracks.
      Parameters:
      typeSchemas - The new value for typeSchemas.
      Returns:
      this to mimic the builder pattern.
    • getData

      public List<List<T>> getData()
      If the encoding parameter of the request was ‘binary’ then this list-of-lists contains the binary encoded records for each object (inner list) in each series/track (outer list). Otherwise, empty list-of-lists.
      Returns:
      The current value of data.
    • setData

      public GetRecordsBySeriesResponse<T> setData(List<List<T>> data)
      If the encoding parameter of the request was ‘binary’ then this list-of-lists contains the binary encoded records for each object (inner list) in each series/track (outer list). Otherwise, empty list-of-lists.
      Parameters:
      data - The new value for data.
      Returns:
      this to mimic the builder pattern.
    • getInfo

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

      public GetRecordsBySeriesResponse<T> setInfo(Map<String,String> info)
      Additional information.
      Parameters:
      info - The new value for info.
      Returns:
      this to mimic the builder pattern.
    • 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