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.IndexedRecordpublic class RawGetRecordsBySeriesResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.getRecordsBySeriesRaw.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.getInfo()Additional information.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).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.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.The table name (one per series/track) of the returned series/tracks.The type IDs (one per series/track) of the returned series/tracks.The type schemas (one per series/track) of the returned series/tracks.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.Additional information.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).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).setTableNames(List<String> tableNames) The table name (one per series/track) of the returned series/tracks.setTypeNames(List<String> typeNames) The type IDs (one per series/track) of the returned series/tracks.setTypeSchemas(List<String> typeSchemas) The type schemas (one per series/track) of the returned series/tracks.toString()
Method Details
setListRecordsBinary
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.setListRecordsJson
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.