Package com.gpudb.protocol
Class GetRecordsByColumnResponse
- java.lang.Object
-
- com.gpudb.protocol.GetRecordsByColumnResponse
-
public class GetRecordsByColumnResponse extends Object
A set of results returned byGPUdb.getRecordsByColumn.
-
-
Constructor Summary
Constructors Constructor Description GetRecordsByColumnResponse()Constructs a GetRecordsByColumnResponse object with default parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<Record>getData()Avro binary encoded response.TypegetDataType()TheTypeobject containing the type of the dynamically generated data.booleangetHasMoreRecords()Too many records.Map<String,String>getInfo()Additional information.StringgetTableName()The same table name as was passed in the parameter list.longgetTotalNumberOfRecords()Total/Filtered number of records.inthashCode()GetRecordsByColumnResponsesetData(List<Record> data)Avro binary encoded response.GetRecordsByColumnResponsesetDataType(Type dataType)TheTypeobject containing the type of the dynamically generated data.GetRecordsByColumnResponsesetHasMoreRecords(boolean hasMoreRecords)Too many records.GetRecordsByColumnResponsesetInfo(Map<String,String> info)Additional information.GetRecordsByColumnResponsesetTableName(String tableName)The same table name as was passed in the parameter list.GetRecordsByColumnResponsesetTotalNumberOfRecords(long totalNumberOfRecords)Total/Filtered number of records.StringtoString()
-
-
-
Method Detail
-
getTableName
public String getTableName()
The same table name as was passed in the parameter list.- Returns:
- The current value of
tableName.
-
setTableName
public GetRecordsByColumnResponse setTableName(String tableName)
The same table name as was passed in the parameter list.- Parameters:
tableName- The new value fortableName.- Returns:
thisto mimic the builder pattern.
-
getData
public List<Record> getData()
Avro binary encoded response.- Returns:
- The current value of
data.
-
setData
public GetRecordsByColumnResponse setData(List<Record> data)
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 of
totalNumberOfRecords.
-
setTotalNumberOfRecords
public GetRecordsByColumnResponse setTotalNumberOfRecords(long totalNumberOfRecords)
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 of
hasMoreRecords.
-
setHasMoreRecords
public GetRecordsByColumnResponse setHasMoreRecords(boolean hasMoreRecords)
Too many records. Returned a partial set.- Parameters:
hasMoreRecords- The new value forhasMoreRecords.- Returns:
thisto mimic the builder pattern.
-
getInfo
public Map<String,String> getInfo()
Additional information.- Returns:
- The current value of
info.
-
setInfo
public GetRecordsByColumnResponse setInfo(Map<String,String> info)
Additional information.- Parameters:
info- The new value forinfo.- Returns:
thisto mimic the builder pattern.
-
getDataType
public Type getDataType()
TheTypeobject containing the type of the dynamically generated data.- Returns:
- The current value of
dataType.
-
setDataType
public GetRecordsByColumnResponse setDataType(Type dataType)
TheTypeobject containing the type of the dynamically generated data.- Parameters:
dataType- The new value fordataType.- Returns:
thisto mimic the builder pattern.
-
-