public class RawGetRecordsBySeriesResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.getRecordsBySeriesRaw(GetRecordsBySeriesRequest)
.
The Raw version of this method can be used to specify the encoding scheme of the response.Constructor and Description |
---|
RawGetRecordsBySeriesResponse()
Constructs a RawGetRecordsBySeriesResponse object with default parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
Object |
get(int index)
This method supports the Avro framework and is not intended to be called directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called directly by the user.
|
List<List<ByteBuffer>> |
getListRecordsBinary()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
List<List<String>> |
getListRecordsJson()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called directly by the user.
|
List<String> |
getTableNames()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
List<String> |
getTypeNames()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
List<String> |
getTypeSchemas()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
int |
hashCode()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called directly by the user.
|
RawGetRecordsBySeriesResponse |
setListRecordsBinary(List<List<ByteBuffer>> listRecordsBinary)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
RawGetRecordsBySeriesResponse |
setListRecordsJson(List<List<String>> listRecordsJson)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
RawGetRecordsBySeriesResponse |
setTableNames(List<String> tableNames)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
RawGetRecordsBySeriesResponse |
setTypeNames(List<String> typeNames)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
RawGetRecordsBySeriesResponse |
setTypeSchemas(List<String> typeSchemas)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
String |
toString()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
public RawGetRecordsBySeriesResponse()
public static org.apache.avro.Schema getClassSchema()
public List<String> getTableNames()
public RawGetRecordsBySeriesResponse setTableNames(List<String> tableNames)
tableNames
- The table name (one per series/track) of the returned series/tracks.this
to mimic the builder pattern.public List<String> getTypeNames()
tableName
is a
collection and the returned series/tracks belong to tables with different types.public RawGetRecordsBySeriesResponse setTypeNames(List<String> typeNames)
typeNames
- The type IDs (one per series/track) of the returned series/tracks. This is useful when tableName
is
a collection and the returned series/tracks belong to tables with different types.this
to mimic the builder pattern.public List<String> getTypeSchemas()
public RawGetRecordsBySeriesResponse setTypeSchemas(List<String> typeSchemas)
typeSchemas
- The type schemas (one per series/track) of the returned series/tracks.this
to mimic the builder pattern.public List<List<ByteBuffer>> getListRecordsBinary()
public RawGetRecordsBySeriesResponse setListRecordsBinary(List<List<ByteBuffer>> listRecordsBinary)
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.this
to mimic the builder pattern.public List<List<String>> getListRecordsJson()
public RawGetRecordsBySeriesResponse setListRecordsJson(List<List<String>> listRecordsJson)
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.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
public boolean equals(Object obj)
public String toString()
Copyright © 2016. All rights reserved.