public class VisorQueryResult extends VisorDataTransferObject
V1, V2, V3, V4| Constructor and Description |
|---|
VisorQueryResult()
Default constructor.
|
VisorQueryResult(UUID resNodeId,
String qryId,
List<VisorQueryField> cols,
List<Object[]> rows,
boolean hasMore,
long duration) |
| Modifier and Type | Method and Description |
|---|---|
Collection<VisorQueryField> |
getColumns() |
long |
getDuration() |
String |
getQueryId() |
UUID |
getResponseNodeId() |
List<Object[]> |
getRows() |
boolean |
isHasMore() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorQueryResult()
public VisorQueryResult(UUID resNodeId, String qryId, List<VisorQueryField> cols, List<Object[]> rows, boolean hasMore, long duration)
resNodeId - Node where query executed.qryId - Query ID for future extraction in nextPage() access.cols - Columns descriptors.rows - Rows fetched from query.hasMore - Whether query has more rows to fetch.duration - Query duration.public UUID getResponseNodeId()
public String getQueryId()
public Collection<VisorQueryField> getColumns()
public boolean isHasMore()
public long getDuration()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021