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.Constructor Summary
ConstructorsConstructorDescriptionConstructs a RawGetRecordsBySeriesResponse object with default parameters.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
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.setTableNames
The table name (one per series/track) of the returned series/tracks.Parameters:tableNames- The new value fortableNames.Returns:thisto mimic the builder pattern.setTypeNames
The type IDs (one per series/track) of the returned series/tracks.Parameters:typeNames- The new value fortypeNames.Returns:thisto mimic the builder pattern.setTypeSchemas
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
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 oflistRecordsBinary.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.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 oflistRecordsJson.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.setInfo
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.GenericContainerReturns:The schema object describing this class.get
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to getReturns:value of the field with the given index.Throws:put
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:putin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to setvalue- the value to setThrows: