NebulaGraph Java Client  release-3.6
ResultSet Class Reference

Classes

class  Record
 

Public Member Functions

 ResultSet (ExecutionResponse resp, int timezoneOffset)
 
boolean isSucceeded ()
 the execute result is succeeded More...
 
boolean isEmpty ()
 the result data is empty More...
 
int getErrorCode ()
 get errorCode of execute result More...
 
String getSpaceName ()
 get the space name of current session More...
 
String getErrorMessage ()
 get the error message of the execute result More...
 
String getComment ()
 get the comment from the server More...
 
long getLatency ()
 get latency of the query execute time More...
 
PlanDescription getPlanDesc ()
 get the PalnDesc More...
 
List< String > keys ()
 get keys of the dataset More...
 
List< String > getColumnNames ()
 get column names of the dataset More...
 
int rowsSize ()
 get the size of rows More...
 
Record rowValues (int index)
 get row values with the row index More...
 
List< ValueWrappercolValues (String columnName)
 get col values on the column key More...
 
List< Row > getRows ()
 get all rows, the value is the origin value, the string is binary More...
 
String toString ()
 

Detailed Description

Definition at line 19 of file ResultSet.java.

Member Function Documentation

◆ colValues()

List<ValueWrapper> colValues ( String  columnName)

get col values on the column key

Parameters
columnNamethe column name
Returns
the list of ValueWrapper

Definition at line 263 of file ResultSet.java.

◆ getColumnNames()

List<String> getColumnNames ( )

get column names of the dataset

Returns
the

Definition at line 228 of file ResultSet.java.

◆ getComment()

String getComment ( )

get the comment from the server

Returns
String

Definition at line 192 of file ResultSet.java.

◆ getErrorCode()

int getErrorCode ( )

get errorCode of execute result

Returns
int

Definition at line 160 of file ResultSet.java.

+ Here is the caller graph for this function:

◆ getErrorMessage()

String getErrorMessage ( )

get the error message of the execute result

Returns
String

Definition at line 180 of file ResultSet.java.

+ Here is the caller graph for this function:

◆ getLatency()

long getLatency ( )

get latency of the query execute time

Returns
int

Definition at line 204 of file ResultSet.java.

◆ getPlanDesc()

PlanDescription getPlanDesc ( )

get the PalnDesc

Returns
PlanDescription

Definition at line 212 of file ResultSet.java.

◆ getRows()

List<Row> getRows ( )

get all rows, the value is the origin value, the string is binary

Returns
the list of Row

Definition at line 284 of file ResultSet.java.

◆ getSpaceName()

String getSpaceName ( )

get the space name of current session

Returns
String

Definition at line 168 of file ResultSet.java.

◆ isEmpty()

boolean isEmpty ( )

the result data is empty

Returns
boolean

Definition at line 152 of file ResultSet.java.

◆ isSucceeded()

boolean isSucceeded ( )

the execute result is succeeded

Returns
boolean

Definition at line 144 of file ResultSet.java.

+ Here is the caller graph for this function:

◆ keys()

List<String> keys ( )

get keys of the dataset

Returns
the list of String

Definition at line 220 of file ResultSet.java.

◆ rowsSize()

int rowsSize ( )

get the size of rows

Returns
int

Definition at line 236 of file ResultSet.java.

◆ rowValues()

Record rowValues ( int  index)

get row values with the row index

Parameters
indexthe index of the rows
Returns
Record

Definition at line 248 of file ResultSet.java.


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