T - The type of object being processed.public class GetRecordsResponse<T> extends Object
GPUdb.getRecords.| Constructor and Description |
|---|
GetRecordsResponse()
Constructs a GetRecordsResponse object with default parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<T> |
getData()
If the
encoding was 'binary', then this list contains the binary encoded
records retrieved from the table, otherwise not populated. |
boolean |
getHasMoreRecords()
Too many records.
|
Map<String,String> |
getInfo()
Additional information.
|
String |
getTableName()
Value of
tableName. |
long |
getTotalNumberOfRecords()
Total/Filtered number of records.
|
String |
getTypeName() |
String |
getTypeSchema()
Avro schema of
data or recordsJson |
int |
hashCode() |
GetRecordsResponse<T> |
setData(List<T> data)
If the
encoding was 'binary', then this list contains the binary encoded
records retrieved from the table, otherwise not populated. |
GetRecordsResponse<T> |
setHasMoreRecords(boolean hasMoreRecords)
Too many records.
|
GetRecordsResponse<T> |
setInfo(Map<String,String> info)
Additional information.
|
GetRecordsResponse<T> |
setTableName(String tableName)
Value of
tableName. |
GetRecordsResponse<T> |
setTotalNumberOfRecords(long totalNumberOfRecords)
Total/Filtered number of records.
|
GetRecordsResponse<T> |
setTypeName(String typeName) |
GetRecordsResponse<T> |
setTypeSchema(String typeSchema)
Avro schema of
data or recordsJson |
String |
toString() |
public GetRecordsResponse()
public String getTableName()
tableName.tableName.public GetRecordsResponse<T> setTableName(String tableName)
tableName.tableName - The new value for tableName.this to mimic the builder pattern.public String getTypeName()
typeName.public GetRecordsResponse<T> setTypeName(String typeName)
typeName - The new value for typeName.this to mimic the builder pattern.public String getTypeSchema()
data or recordsJsontypeSchema.public GetRecordsResponse<T> setTypeSchema(String typeSchema)
data or recordsJsontypeSchema - The new value for typeSchema.this to mimic the builder pattern.public List<T> getData()
encoding was 'binary', then this list contains the binary encoded
records retrieved from the table, otherwise not populated.data.public GetRecordsResponse<T> setData(List<T> data)
encoding was 'binary', then this list contains the binary encoded
records retrieved from the table, otherwise not populated.data - The new value for data.this to mimic the builder pattern.public long getTotalNumberOfRecords()
totalNumberOfRecords.public GetRecordsResponse<T> setTotalNumberOfRecords(long totalNumberOfRecords)
totalNumberOfRecords - The new value for totalNumberOfRecords.this to mimic the builder pattern.public boolean getHasMoreRecords()
hasMoreRecords.public GetRecordsResponse<T> setHasMoreRecords(boolean hasMoreRecords)
hasMoreRecords - The new value for hasMoreRecords.this to mimic the builder pattern.public Map<String,String> getInfo()
info.public GetRecordsResponse<T> setInfo(Map<String,String> info)
info - The new value for info.this to mimic the builder pattern.Copyright © 2025. All rights reserved.