Package com.gpudb.protocol
Class RawGetRecordsBySeriesResponse
- java.lang.Object
-
- com.gpudb.protocol.RawGetRecordsBySeriesResponse
-
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer,org.apache.avro.generic.IndexedRecord
public class RawGetRecordsBySeriesResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned byGPUdb.getRecordsBySeriesRaw.
-
-
Constructor Summary
Constructors Constructor Description RawGetRecordsBySeriesResponse()Constructs a RawGetRecordsBySeriesResponse object with default parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Objectget(int index)This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemagetClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.Map<String,String>getInfo()Additional information.List<List<ByteBuffer>>getListRecordsBinary()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).List<List<String>>getListRecordsJson()If the encoding parameter of the request was 'json' then this list-of-lists contains the json encoded records for each object (inner list) in each series/track (outer list).org.apache.avro.SchemagetSchema()This method supports the Avro framework and is not intended to be called directly by the user.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()voidput(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.RawGetRecordsBySeriesResponsesetInfo(Map<String,String> info)Additional information.RawGetRecordsBySeriesResponsesetListRecordsBinary(List<List<ByteBuffer>> listRecordsBinary)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).RawGetRecordsBySeriesResponsesetListRecordsJson(List<List<String>> listRecordsJson)If the encoding parameter of the request was 'json' then this list-of-lists contains the json encoded records for each object (inner list) in each series/track (outer list).RawGetRecordsBySeriesResponsesetTableNames(List<String> tableNames)The table name (one per series/track) of the returned series/tracks.RawGetRecordsBySeriesResponsesetTypeNames(List<String> typeNames)The type IDs (one per series/track) of the returned series/tracks.RawGetRecordsBySeriesResponsesetTypeSchemas(List<String> typeSchemas)The type schemas (one per series/track) of the returned series/tracks.StringtoString()
-
-
-
Method Detail
-
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.
-
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 RawGetRecordsBySeriesResponse 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 RawGetRecordsBySeriesResponse 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 RawGetRecordsBySeriesResponse 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.
-
getListRecordsBinary
public List<List<ByteBuffer>> getListRecordsBinary()
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
listRecordsBinary.
-
setListRecordsBinary
public RawGetRecordsBySeriesResponse setListRecordsBinary(List<List<ByteBuffer>> listRecordsBinary)
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:
listRecordsBinary- The new value forlistRecordsBinary.- Returns:
thisto mimic the builder pattern.
-
getListRecordsJson
public List<List<String>> getListRecordsJson()
If the encoding parameter of the request was 'json' then this list-of-lists contains the json encoded records for each object (inner list) in each series/track (outer list). Otherwise, empty list-of-lists.- Returns:
- The current value of
listRecordsJson.
-
setListRecordsJson
public RawGetRecordsBySeriesResponse setListRecordsJson(List<List<String>> listRecordsJson)
If the encoding parameter of the request was 'json' then this list-of-lists contains the json encoded records for each object (inner list) in each series/track (outer list). Otherwise, empty list-of-lists.- Parameters:
listRecordsJson- The new value forlistRecordsJson.- Returns:
thisto mimic the builder pattern.
-
getInfo
public Map<String,String> getInfo()
Additional information.- Returns:
- The current value of
info.
-
setInfo
public RawGetRecordsBySeriesResponse setInfo(Map<String,String> info)
Additional information.- Parameters:
info- The new value forinfo.- Returns:
thisto 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:
getSchemain interfaceorg.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:
getin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to get- Returns:
- value of the field with the given index.
- Throws:
IndexOutOfBoundsException
-
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:
putin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to setvalue- the value to set- Throws:
IndexOutOfBoundsException
-
-