NebulaGraph Java Client 5.0.0
Loading...
Searching...
No Matches
ResultSet Class Reference

Classes

class  Record
 

Public Member Functions

 ResultSet (ExecuteResponse resp)
 
boolean isSucceeded ()
 the execute result is succeeded
 
boolean isEmpty ()
 the result data is empty
 
ErrorCode getErrorCode ()
 get error code of execute result TODO return ErrorCode
 
String getErrorMessage ()
 get error message of execute result
 
long getLatency ()
 get latency of the query execute time
 
PlanInfoNode getPlanDesc ()
 get the PlanDesc
 
List< String > getColumnNames ()
 get column names of the dataset
 
long rowSize ()
 get the size of rows
 
boolean hasNext ()
 if the ResultSet has row Record
 
Record next ()
 get the next row Record
 
ExtraInfo getExtraInfo ()
 get extra info for result
 
String toString ()
 

Detailed Description

Definition at line 18 of file ResultSet.java.

Constructor & Destructor Documentation

◆ ResultSet()

ResultSet ( ExecuteResponse  resp)

Definition at line 136 of file ResultSet.java.

Member Function Documentation

◆ getColumnNames()

List< String > getColumnNames ( )

get column names of the dataset

Returns
the list of result columns

Definition at line 214 of file ResultSet.java.

◆ getErrorCode()

ErrorCode getErrorCode ( )

get error code of execute result TODO return ErrorCode

Returns
String

Definition at line 176 of file ResultSet.java.

◆ getErrorMessage()

String getErrorMessage ( )

get error message of execute result

Returns
String

Definition at line 186 of file ResultSet.java.

◆ getExtraInfo()

ExtraInfo getExtraInfo ( )

get extra info for result

Returns
map for extra info

Definition at line 258 of file ResultSet.java.

◆ getLatency()

long getLatency ( )

get latency of the query execute time

Returns
int

Definition at line 196 of file ResultSet.java.

◆ getPlanDesc()

PlanInfoNode getPlanDesc ( )

get the PlanDesc

Returns
string

Definition at line 205 of file ResultSet.java.

◆ hasNext()

boolean hasNext ( )

if the ResultSet has row Record

Definition at line 233 of file ResultSet.java.

+ Here is the caller graph for this function:

◆ isEmpty()

boolean isEmpty ( )

the result data is empty

Returns
boolean

Definition at line 166 of file ResultSet.java.

◆ isSucceeded()

boolean isSucceeded ( )

the execute result is succeeded

Returns
boolean

Definition at line 156 of file ResultSet.java.

◆ next()

Record next ( )

get the next row Record

Definition at line 243 of file ResultSet.java.

+ Here is the call graph for this function:

◆ rowSize()

long rowSize ( )

get the size of rows

Returns
int

Definition at line 223 of file ResultSet.java.

◆ toString()

String toString ( )

Definition at line 278 of file ResultSet.java.


The documentation for this class was generated from the following file: