To support multiple properties on edge, we introduce new type Record and RecordView here. Record is associated with a property array through a pointer. RecordView consists of an offset and a pointer to a Table.
Then we specialized a new csr type MutableCsr<RecordView> as multi-properties edge storage. MutableCsr<RecordView> contains a Table through which we organize multi-properties. When get_data() is called, a RecordView Object will be returned, we can get properties with the RecordView, and when it is necessary to insert edges into the graph, we need to encapsulate the multi-attributes into a Record.
To support multiple properties on edge, we introduce new type
Record
andRecordView
here.Record
is associated with a property array through a pointer.RecordView
consists of an offset and a pointer to aTable
.Then we specialized a new csr type
MutableCsr<RecordView>
as multi-properties edge storage.MutableCsr<RecordView>
contains aTable
through which we organize multi-properties. Whenget_data()
is called, aRecordView
Object will be returned, we can get properties with the RecordView, and when it is necessary to insert edges into the graph, we need to encapsulate the multi-attributes into aRecord
.