T
- The type of object being processed.public class GetRecordsFromCollectionResponse<T> extends Object
GPUdb.getRecordsFromCollection(Object, GetRecordsFromCollectionRequest)
.
The Raw version of this method can be used to specify the encoding scheme of the response.Constructor and Description |
---|
GetRecordsFromCollectionResponse()
Constructs a GetRecordsFromCollectionResponse 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.
|
List<T> |
getData()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
List<String> |
getRecordIds()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
String |
getTableName()
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.
|
int |
hashCode()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
GetRecordsFromCollectionResponse<T> |
setData(List<T> data)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
GetRecordsFromCollectionResponse<T> |
setRecordIds(List<String> recordIds)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
GetRecordsFromCollectionResponse<T> |
setTableName(String tableName)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
GetRecordsFromCollectionResponse<T> |
setTypeNames(List<String> typeNames)
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 GetRecordsFromCollectionResponse()
public String getTableName()
tableName
.public GetRecordsFromCollectionResponse<T> setTableName(String tableName)
tableName
- Value of tableName
.this
to mimic the builder pattern.public List<String> getTypeNames()
recordsBinary
or recordsJson
. This is useful when tableName
is a heterogeneous collection (i.e. the child tables are not all of the same type).public GetRecordsFromCollectionResponse<T> setTypeNames(List<String> typeNames)
typeNames
- The type IDs of the corresponding records in recordsBinary
or recordsJson
. This is useful
when tableName
is a heterogeneous collection (i.e. the child tables are not all of the same type).this
to mimic the builder pattern.public List<T> getData()
public GetRecordsFromCollectionResponse<T> setData(List<T> data)
data
- If the encoding parameter of the request was 'binary' then this list contains the binary encoded records
retrieved from the table/collection. Otherwise, empty list.this
to mimic the builder pattern.public List<String> getRecordIds()
public GetRecordsFromCollectionResponse<T> setRecordIds(List<String> recordIds)
recordIds
- If the 'return_record_ids' option of the request was 'true', then this list contains the internal GPUdb id
for each object. Otherwise it will be empty.this
to mimic the builder pattern.public boolean equals(Object obj)
public String toString()
Copyright © 2016. All rights reserved.