Package com.gpudb.protocol
Class GetRecordsByColumnResponse
java.lang.Object
com.gpudb.protocol.GetRecordsByColumnResponse
A set of results returned by
GPUdb.getRecordsByColumn.Constructor Summary
ConstructorsConstructorDescriptionConstructs a GetRecordsByColumnResponse object with default parameters.Method Summary
Modifier and TypeMethodDescriptionbooleangetData()Avro binary encoded response.TheTypeobject containing the type of the dynamically generated data.booleanToo many records.getInfo()Additional information.The same table name as was passed in the parameter list.longTotal/Filtered number of records.inthashCode()Avro binary encoded response.setDataType(Type dataType) TheTypeobject containing the type of the dynamically generated data.setHasMoreRecords(boolean hasMoreRecords) Too many records.Additional information.setTableName(String tableName) The same table name as was passed in the parameter list.setTotalNumberOfRecords(long totalNumberOfRecords) Total/Filtered number of records.toString()
Method Details
setTableName
The same table name as was passed in the parameter list.Parameters:tableName- The new value fortableName.Returns:thisto mimic the builder pattern.setData
Avro binary encoded response.Parameters:data- The new value fordata.Returns:thisto mimic the builder pattern.getTotalNumberOfRecords
public long getTotalNumberOfRecords()Total/Filtered number of records.Returns:The current value oftotalNumberOfRecords.setTotalNumberOfRecords
Total/Filtered number of records.Parameters:totalNumberOfRecords- The new value fortotalNumberOfRecords.Returns:thisto mimic the builder pattern.getHasMoreRecords
public boolean getHasMoreRecords()Too many records. Returned a partial set.Returns:The current value ofhasMoreRecords.setHasMoreRecords
Too many records. Returned a partial set.Parameters:hasMoreRecords- The new value forhasMoreRecords.Returns:thisto mimic the builder pattern.setInfo
Additional information.Parameters:info- The new value forinfo.Returns:thisto mimic the builder pattern.setDataType
TheTypeobject containing the type of the dynamically generated data.Parameters:dataType- The new value fordataType.Returns:thisto mimic the builder pattern.