|
int | PROP_START_INDEX_with_vid = 2 |
|
int | PROP_START_INDEX = 1 |
|
Definition at line 14 of file BaseResult.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
row, |
|
|
|
col_names, |
|
|
|
decode_type = 'utf-8' |
|
) |
| |
the format is
'''
|tag_name._vid|tag_name.prop1|tag_name.prop2|
'''
Definition at line 19 of file BaseResult.py.
◆ as_node()
convert the vertex data to structure Node
:return: Node
Definition at line 59 of file BaseResult.py.
◆ get_id()
get vertex id, if the space vid_type is int, you can use get_id().as_int(),
if the space vid_type is fixed_string, you can use get_id().as_string()
:return: ValueWrapper
Definition at line 46 of file BaseResult.py.
◆ get_prop_names()
def get_prop_names |
( |
|
self | ) |
|
get all prop names from the vertex data
:return: list<string>
Definition at line 84 of file BaseResult.py.
◆ get_prop_values()
def get_prop_values |
( |
|
self | ) |
|
get all prop values from the vertex data
:return: list<ValueWrapper>
Definition at line 91 of file BaseResult.py.
The documentation for this class was generated from the following file: