public class RawGetRecordsBySeriesResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.getRecordsBySeriesRaw(GetRecordsBySeriesRequest).| Constructor and Description |
|---|
RawGetRecordsBySeriesResponse()
Constructs a RawGetRecordsBySeriesResponse object with default
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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() |
List<List<String>> |
getListRecordsJson() |
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() |
List<String> |
getTypeNames() |
List<String> |
getTypeSchemas() |
int |
hashCode() |
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) |
RawGetRecordsBySeriesResponse |
setListRecordsJson(List<List<String>> listRecordsJson) |
RawGetRecordsBySeriesResponse |
setTableNames(List<String> tableNames) |
RawGetRecordsBySeriesResponse |
setTypeNames(List<String> typeNames) |
RawGetRecordsBySeriesResponse |
setTypeSchemas(List<String> typeSchemas) |
String |
toString() |
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.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2017. All rights reserved.