T
- The type of object being processed.public class GetRecordsResponse<T> extends Object
GPUdb.getRecords(Object, GetRecordsRequest)
.
The Raw version of this method can be used to specify the encoding scheme of the response.Constructor and Description |
---|
GetRecordsResponse()
Constructs a GetRecordsResponse 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.
|
boolean |
getHasMoreRecords()
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.
|
long |
getTotalNumberOfRecords()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
String |
getTypeName()
The Raw version of this method can be used to specify the encoding scheme of the response.
|
String |
getTypeSchema()
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.
|
GetRecordsResponse<T> |
setData(List<T> data)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
GetRecordsResponse<T> |
setHasMoreRecords(boolean hasMoreRecords)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
GetRecordsResponse<T> |
setTableName(String tableName)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
GetRecordsResponse<T> |
setTotalNumberOfRecords(long totalNumberOfRecords)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
GetRecordsResponse<T> |
setTypeName(String typeName)
The Raw version of this method can be used to specify the encoding scheme of the response.
|
GetRecordsResponse<T> |
setTypeSchema(String typeSchema)
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 GetRecordsResponse()
public String getTableName()
tableName
.public GetRecordsResponse<T> setTableName(String tableName)
tableName
- Value of tableName
.this
to mimic the builder pattern.public String getTypeName()
public GetRecordsResponse<T> setTypeName(String typeName)
typeName
- this
to mimic the builder pattern.public String getTypeSchema()
recordsBinary
or recordsJson
public GetRecordsResponse<T> setTypeSchema(String typeSchema)
typeSchema
- Avro schema of recordsBinary
or recordsJson
this
to mimic the builder pattern.public List<T> getData()
encoding
was 'binary', then this list contains the JSON encoded records retrieved from the set,
otherwise not populated.public GetRecordsResponse<T> setData(List<T> data)
data
- If the encoding
was 'binary', then this list contains the JSON encoded records retrieved from the set,
otherwise not populated.this
to mimic the builder pattern.public long getTotalNumberOfRecords()
public GetRecordsResponse<T> setTotalNumberOfRecords(long totalNumberOfRecords)
totalNumberOfRecords
- Total/Filtered number of records.this
to mimic the builder pattern.public boolean getHasMoreRecords()
public GetRecordsResponse<T> setHasMoreRecords(boolean hasMoreRecords)
hasMoreRecords
- Too many records. Returned a partial set.this
to mimic the builder pattern.public boolean equals(Object obj)
public String toString()
Copyright © 2016. All rights reserved.