Package com.gpudb.protocol
Class GetRecordsResponse<T>
java.lang.Object
com.gpudb.protocol.GetRecordsResponse<T>
Type Parameters:
T - The type of object being processed.A set of results returned by
GPUdb.getRecords.Method Summary
Modifier and TypeMethodDescriptionbooleangetData()If theencodingwas ‘binary’, then this list contains the binary encoded records retrieved from the table, otherwise not populated.booleanToo many records.getInfo()Additional information.Value oftableName.longTotal/Filtered number of records.The name of the type of the returned records.Avro schema ofdataorrecordsJson.inthashCode()If theencodingwas ‘binary’, then this list contains the binary encoded records retrieved from the table, otherwise not populated.setHasMoreRecords(boolean hasMoreRecords) Too many records.Additional information.setTableName(String tableName) Value oftableName.setTotalNumberOfRecords(long totalNumberOfRecords) Total/Filtered number of records.setTypeName(String typeName) The name of the type of the returned records.setTypeSchema(String typeSchema) Avro schema ofdataorrecordsJson.toString()
Method Details
setTableName
Value oftableName.Parameters:tableName- The new value fortableName.Returns:thisto mimic the builder pattern.setTypeSchema
Avro schema ofdataorrecordsJson.Parameters:typeSchema- The new value fortypeSchema.Returns:thisto mimic the builder pattern.setData
If theencodingwas ‘binary’, then this list contains the binary encoded records retrieved from the table, otherwise not populated.Parameters:data- The new value fordata.Returns:thisto mimic the builder pattern.