NebulaGraph Java Client
release-3.8
|
Public Member Functions | |
Relationship (Edge edge) | |
Relationship is a wrapper around the Edge type returned by nebula-graph. More... | |
ValueWrapper | srcId () |
get the src id from the relationship More... | |
ValueWrapper | dstId () |
get the dst id from the relationship More... | |
String | edgeName () |
get edge name from the relationship More... | |
long | ranking () |
get ranking from the relationship More... | |
List< String > | keys () throws UnsupportedEncodingException |
get all property name from the relationship More... | |
List< ValueWrapper > | values () |
get property values from the relationship More... | |
HashMap< String, ValueWrapper > | properties () throws UnsupportedEncodingException |
get property names and values from the relationship More... | |
boolean | equals (Object o) |
int | hashCode () |
String | toString () |
Public Member Functions inherited from BaseDataObject | |
String | getDecodeType () |
BaseDataObject | setDecodeType (String decodeType) |
int | getTimezoneOffset () |
BaseDataObject | setTimezoneOffset (int timezoneOffset) |
Definition at line 17 of file Relationship.java.
Relationship | ( | Edge | edge | ) |
Relationship is a wrapper around the Edge type returned by nebula-graph.
edge | the Edge type returned by nebula-graph |
Definition at line 24 of file Relationship.java.
ValueWrapper dstId | ( | ) |
get the dst id from the relationship
Definition at line 46 of file Relationship.java.
String edgeName | ( | ) |
List<String> keys | ( | ) | throws UnsupportedEncodingException |
get all property name from the relationship
UnsupportedEncodingException | if decode binary failed |
Definition at line 72 of file Relationship.java.
HashMap<String, ValueWrapper> properties | ( | ) | throws UnsupportedEncodingException |
get property names and values from the relationship
Definition at line 96 of file Relationship.java.
long ranking | ( | ) |
ValueWrapper srcId | ( | ) |
get the src id from the relationship
Definition at line 36 of file Relationship.java.
List<ValueWrapper> values | ( | ) |
get property values from the relationship
Definition at line 84 of file Relationship.java.