|
| Node (Vertex vertex) throws UnsupportedEncodingException |
| Node is a wrapper around the Vertex type returned by nebula-graph. More...
|
|
ValueWrapper | getId () |
| get vid from the node More...
|
|
List< String > | tagNames () |
| get all tag name from the node More...
|
|
List< String > | labels () |
| Used to be compatible with older versions of interfaces. More...
|
|
boolean | hasTagName (String tagName) |
| determine if node contains the given tag More...
|
|
boolean | hasLabel (String tagName) |
| Used to be compatible with older versions of interfaces. More...
|
|
List< ValueWrapper > | values (String tagName) |
| get property values from the node More...
|
|
List< String > | keys (String tagName) throws UnsupportedEncodingException |
| get property names from the node More...
|
|
HashMap< String, ValueWrapper > | properties (String tagName) throws UnsupportedEncodingException |
| get property names and values from the node More...
|
|
boolean | equals (Object o) |
|
int | hashCode () |
|
String | toString () |
|
String | getDecodeType () |
|
BaseDataObject | setDecodeType (String decodeType) |
|
int | getTimezoneOffset () |
|
BaseDataObject | setTimezoneOffset (int timezoneOffset) |
|
Definition at line 18 of file Node.java.
◆ Node()
Node |
( |
Vertex |
vertex | ) |
throws UnsupportedEncodingException |
Node is a wrapper around the Vertex type returned by nebula-graph.
- Parameters
-
vertex | the vertex returned by nebula-graph |
- Exceptions
-
UnsupportedEncodingException | if decoded binary failed |
Definition at line 29 of file Node.java.
◆ getId()
◆ hasLabel()
boolean hasLabel |
( |
String |
tagName | ) |
|
Used to be compatible with older versions of interfaces.
- Returns
- tboolean
Definition at line 78 of file Node.java.
◆ hasTagName()
boolean hasTagName |
( |
String |
tagName | ) |
|
determine if node contains the given tag
- Parameters
-
- Returns
- boolean
Definition at line 70 of file Node.java.
◆ keys()
List<String> keys |
( |
String |
tagName | ) |
throws UnsupportedEncodingException |
get property names from the node
- Parameters
-
tagName | the given tag name |
- Returns
- the list of property names
- Exceptions
-
UnsupportedEncodingException | decode error exception |
Definition at line 105 of file Node.java.
◆ labels()
Used to be compatible with older versions of interfaces.
- Returns
- the list of tag name
Definition at line 61 of file Node.java.
◆ properties()
HashMap<String, ValueWrapper> properties |
( |
String |
tagName | ) |
throws UnsupportedEncodingException |
get property names and values from the node
- Parameters
-
tagName | the given tag name |
- Returns
- the HashMap, key is property name, value is ValueWrapper
- Exceptions
-
UnsupportedEncodingException | decode error exception |
Definition at line 124 of file Node.java.
◆ tagNames()
List<String> tagNames |
( |
| ) |
|
get all tag name from the node
- Returns
- the list of tag name
Definition at line 53 of file Node.java.
◆ values()
get property values from the node
- Parameters
-
- Returns
- the list of ValueWrapper
Definition at line 87 of file Node.java.
The documentation for this class was generated from the following file:
- client/src/main/java/com/vesoft/nebula/client/graph/data/Node.java