Package com.gpudb.protocol
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 byGPUdb.getRecordsBySeries.
-
-
Constructor Summary
Constructors Constructor Description GetRecordsBySeriesResponse()Constructs a GetRecordsBySeriesResponse object with default parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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).Map<String,String>getInfo()Additional information.List<String>getTableNames()The table name (one per series/track) of the returned series/tracks.List<String>getTypeNames()The type IDs (one per series/track) of the returned series/tracks.List<String>getTypeSchemas()The type schemas (one per series/track) of the returned series/tracks.inthashCode()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).GetRecordsBySeriesResponse<T>setInfo(Map<String,String> info)Additional information.GetRecordsBySeriesResponse<T>setTableNames(List<String> tableNames)The table name (one per series/track) of the returned series/tracks.GetRecordsBySeriesResponse<T>setTypeNames(List<String> typeNames)The type IDs (one per series/track) of the returned series/tracks.GetRecordsBySeriesResponse<T>setTypeSchemas(List<String> typeSchemas)The type schemas (one per series/track) of the returned series/tracks.StringtoString()
-
-
-
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 fortableNames.- Returns:
thisto 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 fortypeNames.- Returns:
thisto 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 fortypeSchemas.- Returns:
thisto 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 fordata.- Returns:
thisto 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 forinfo.- Returns:
thisto mimic the builder pattern.
-
-