NebulaGraph Java Client
release-3.8
|
Classes | |
class | Segment |
Public Member Functions | |
Node | getStartNode () |
get the start node from the path More... | |
Node | getEndNode () |
get the end node from the path More... | |
boolean | containNode (Node node) |
determine if path contains the given node More... | |
boolean | containRelationship (Relationship relationship) |
determine if path contains the given relationShip More... | |
List< Node > | getNodes () |
get all nodes from the path More... | |
List< Relationship > | getRelationships () |
get all relationship from the path More... | |
List< Segment > | getSegments () |
get all segments from the path More... | |
int | length () |
get the length of the path More... | |
PathWrapper (Path path) throws InvalidValueException, UnsupportedEncodingException | |
PathWrapper is a wrapper around the Path type returned by nebula-graph. More... | |
String | toString () |
boolean | equals (Object o) |
int | hashCode () |
Public Member Functions inherited from BaseDataObject | |
String | getDecodeType () |
BaseDataObject | setDecodeType (String decodeType) |
int | getTimezoneOffset () |
BaseDataObject | setTimezoneOffset (int timezoneOffset) |
Definition at line 19 of file PathWrapper.java.
PathWrapper | ( | Path | path | ) | throws InvalidValueException, UnsupportedEncodingException |
PathWrapper is a wrapper around the Path type returned by nebula-graph.
path | the Path type returned by nebula-graph |
InvalidValueException | if the path is illegal |
UnsupportedEncodingException | if decode binary failed |
Definition at line 173 of file PathWrapper.java.
boolean containNode | ( | Node | node | ) |
determine if path contains the given node
node | the given node |
Definition at line 122 of file PathWrapper.java.
boolean containRelationship | ( | Relationship | relationship | ) |
determine if path contains the given relationShip
relationship | the given relationship |
Definition at line 131 of file PathWrapper.java.
Node getEndNode | ( | ) |
List<Node> getNodes | ( | ) |
get all nodes from the path
Definition at line 139 of file PathWrapper.java.
List<Relationship> getRelationships | ( | ) |
get all relationship from the path
Definition at line 147 of file PathWrapper.java.
List<Segment> getSegments | ( | ) |
get all segments from the path
Definition at line 155 of file PathWrapper.java.
Node getStartNode | ( | ) |
int length | ( | ) |