NebulaGraph Java Client  release-3.6
ScanVertexResult Class Reference
+ Inheritance diagram for ScanVertexResult:
+ Collaboration diagram for ScanVertexResult:

Public Member Functions

 ScanVertexResult (List< DataSet > dataSets, ScanStatus status)
 
List< VertexTableRowgetVertexTableRows ()
 get vertex table rows More...
 
List< String > getPropNames ()
 get the result's property names More...
 
VertexRow getVertex (ValueWrapper vid)
 get vertex row with id More...
 
List< VertexRowgetVertices ()
 get all vertex row More...
 
Map< ValueWrapper, VertexRowgetVidVertices ()
 get the map of vid and vertex row More...
 
boolean isAllSuccess ()
 get the result status More...
 
boolean isEmpty ()
 whether result data is empty More...
 

Detailed Description

Definition at line 22 of file ScanVertexResult.java.

Member Function Documentation

◆ getPropNames()

List<String> getPropNames ( )

get the result's property names

Returns
list of property name

Definition at line 75 of file ScanVertexResult.java.

◆ getVertex()

VertexRow getVertex ( ValueWrapper  vid)

get vertex row with id

Parameters
vidValueWrapper, int type or string type vid
Returns
VertexRow

Definition at line 88 of file ScanVertexResult.java.

◆ getVertexTableRows()

List<VertexTableRow> getVertexTableRows ( )

get vertex table rows

Returns
list of VertexTableRow

Definition at line 63 of file ScanVertexResult.java.

◆ getVertices()

List<VertexRow> getVertices ( )

get all vertex row

Returns
list of VertexRow

Definition at line 103 of file ScanVertexResult.java.

◆ getVidVertices()

Map<ValueWrapper, VertexRow> getVidVertices ( )

get the map of vid and vertex row

Returns
map of vid wrapperValueWrapper and VertexRow

Definition at line 116 of file ScanVertexResult.java.

◆ isAllSuccess()

boolean isAllSuccess ( )

get the result status

Returns
true if all parts scan succeed

Definition at line 129 of file ScanVertexResult.java.

◆ isEmpty()

boolean isEmpty ( )

whether result data is empty

Returns
true if result data is empty

Definition at line 138 of file ScanVertexResult.java.


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