Class 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 Detail

      • GetRecordsBySeriesResponse

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

      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object