Package com.gpudb.protocol
Class ExecuteSqlResponse
java.lang.Object
com.gpudb.protocol.ExecuteSqlResponse
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theExecuteSqlResponseparameterhasMoreRecords.static final classA set of string constants for theExecuteSqlResponseparameterinfo.Method Summary
Modifier and TypeMethodDescriptionbooleanlongThe number of objects/records affected.getData()Avro binary encoded response.TheTypeobject containing the type of the dynamically generated data.booleanToo many records.getInfo()Additional information.Name of the table that has the result records of the query.longTotal/Filtered number of records.inthashCode()setCountAffected(long countAffected) The number of objects/records affected.Avro binary encoded response.setDataType(Type dataType) TheTypeobject containing the type of the dynamically generated data.setHasMoreRecords(boolean hasMoreRecords) Too many records.Additional information.setPagingTable(String pagingTable) Name of the table that has the result records of the query.setTotalNumberOfRecords(long totalNumberOfRecords) Total/Filtered number of records.toString()
Method Details
getPagingTable
Name of the table that has the result records of the query. Valid, whenhasMoreRecordsisTRUE. The caller should clear this and all tables inRESULT_TABLE_LISTwhen they are done querying.Returns:The current value ofpagingTable.setPagingTable
Name of the table that has the result records of the query. Valid, whenhasMoreRecordsisTRUE. The caller should clear this and all tables inRESULT_TABLE_LISTwhen they are done querying.Parameters:pagingTable- The new value forpagingTable.Returns:thisto mimic the builder pattern.getInfo
Additional information.COUNT: Number of records without final limits applied.RESULT_TABLE_LIST: List of tables, comma-separated, in addition to thepagingTable, created as result of the query. These should be cleared by the caller when they are done querying.
Map.Returns:The current value ofinfo.setInfo
Additional information.COUNT: Number of records without final limits applied.RESULT_TABLE_LIST: List of tables, comma-separated, in addition to thepagingTable, created as result of the query. These should be cleared by the caller when they are done querying.
Map.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.