public class ExecuteSqlResponse extends Object
GPUdb.executeSql
.Modifier and Type | Class and Description |
---|---|
static class |
ExecuteSqlResponse.HasMoreRecords
A set of string constants for the
ExecuteSqlResponse parameter
hasMoreRecords . |
static class |
ExecuteSqlResponse.Info
A set of string constants for the
ExecuteSqlResponse parameter
info . |
Constructor and Description |
---|
ExecuteSqlResponse()
Constructs an ExecuteSqlResponse object with default parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getCountAffected()
The number of objects/records affected.
|
List<Record> |
getData()
Avro binary encoded response.
|
Type |
getDataType()
The
Type object containing the type of the dynamically generated
data. |
boolean |
getHasMoreRecords()
Too many records.
|
Map<String,String> |
getInfo()
Additional information.
|
String |
getPagingTable()
Name of the table that has the result records of the query.
|
long |
getTotalNumberOfRecords()
Total/Filtered number of records.
|
int |
hashCode() |
ExecuteSqlResponse |
setCountAffected(long countAffected)
The number of objects/records affected.
|
ExecuteSqlResponse |
setData(List<Record> data)
Avro binary encoded response.
|
ExecuteSqlResponse |
setDataType(Type dataType)
The
Type object containing the type of the dynamically generated
data. |
ExecuteSqlResponse |
setHasMoreRecords(boolean hasMoreRecords)
Too many records.
|
ExecuteSqlResponse |
setInfo(Map<String,String> info)
Additional information.
|
ExecuteSqlResponse |
setPagingTable(String pagingTable)
Name of the table that has the result records of the query.
|
ExecuteSqlResponse |
setTotalNumberOfRecords(long totalNumberOfRecords)
Total/Filtered number of records.
|
String |
toString() |
public ExecuteSqlResponse()
public long getCountAffected()
countAffected
.public ExecuteSqlResponse setCountAffected(long countAffected)
countAffected
- The new value for countAffected
.this
to mimic the builder pattern.public List<Record> getData()
data
.public ExecuteSqlResponse setData(List<Record> data)
data
- The new value for data
.this
to mimic the builder pattern.public long getTotalNumberOfRecords()
totalNumberOfRecords
.public ExecuteSqlResponse setTotalNumberOfRecords(long totalNumberOfRecords)
totalNumberOfRecords
- The new value for totalNumberOfRecords
.this
to mimic the builder pattern.public boolean getHasMoreRecords()
true
false
hasMoreRecords
.public ExecuteSqlResponse setHasMoreRecords(boolean hasMoreRecords)
true
false
hasMoreRecords
- The new value for hasMoreRecords
.this
to mimic the builder pattern.public String getPagingTable()
hasMoreRecords
is TRUE
pagingTable
.public ExecuteSqlResponse setPagingTable(String pagingTable)
hasMoreRecords
is TRUE
pagingTable
- The new value for pagingTable
.this
to mimic the builder pattern.public Map<String,String> getInfo()
COUNT
: Number of records in the final table
Map
.info
.public ExecuteSqlResponse setInfo(Map<String,String> info)
COUNT
: Number of records in the final table
Map
.info
- The new value for info
.this
to mimic the builder pattern.public Type getDataType()
Type
object containing the type of the dynamically generated
data.dataType
.public ExecuteSqlResponse setDataType(Type dataType)
Type
object containing the type of the dynamically generated
data.dataType
- The new value for dataType
.this
to mimic the builder pattern.Copyright © 2025. All rights reserved.