Definition at line 102 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 105 of file BaseResult.py.
◆ as_relationship()
def as_relationship |
( |
|
self | ) |
|
convert the edge data to structure Relationship
:return: Relationship
Definition at line 176 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 163 of file BaseResult.py.
◆ get_edge_name()
def get_edge_name |
( |
|
self | ) |
|
◆ get_prop_values()
def get_prop_values |
( |
|
self | ) |
|
get all prop values from the edge data
:return: list<ValueWrapper>
Definition at line 200 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 130 of file BaseResult.py.
The documentation for this class was generated from the following file: