Definition at line 109 of file BaseResult.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
row, |
|
|
|
col_names, |
|
|
|
decode_type = 'utf-8' |
|
) |
| |
the format is
'''
|edge_name._src|edge_name._type|edge_name._rank|edge_name._dst|edge_name.prop1|edge_name.prop2|
'''
Definition at line 112 of file BaseResult.py.
◆ as_relationship()
def as_relationship |
( |
|
self | ) |
|
convert the edge data to structure Relationship
:return: Relationship
Definition at line 183 of file BaseResult.py.
◆ get_dst_id()
get dst id, if the space vid_type is int, you can use get_dst_id().as_int(),
if the space vid_type is fixed_string, you can use get_dst_id().as_string()
:return: ValueWrapper
Definition at line 170 of file BaseResult.py.
◆ get_edge_name()
def get_edge_name |
( |
|
self | ) |
|
◆ get_prop_names()
def get_prop_names |
( |
|
self | ) |
|
get all prop names from the edge data
:return: list<string>
Definition at line 207 of file BaseResult.py.
◆ get_prop_values()
def get_prop_values |
( |
|
self | ) |
|
get all prop values from the edge data
:return: list<ValueWrapper>
Definition at line 214 of file BaseResult.py.
◆ get_ranking()
◆ get_src_id()
get src id, if the space vid_type is int, you can use get_src_id().as_int(),
if the space vid_type is fixed_string, you can use get_src_id().as_string()
:return: ValueWrapper
Definition at line 137 of file BaseResult.py.
The documentation for this class was generated from the following file: