com.datastax.bdp.graph.spark.graphframe.classic
add: ~adjacent_vertex_id ~~adjacent_label_id
UDF that extract dst vertex label
UDF that extract label name from the edgeLabelId
get SQL schema for given properties
calculate dst column from ADJACENT_VERTEX_ID column.
calculate dst column from ADJACENT_VERTEX_ID column. It should match focalVertexId format: label:base64(columnIds)
UDF that extract dst vertex label
udf function for non standard id
idf function for standard id
Vertex id has format vertexLabel:base64(idColumns)
in form "label:encode64(data)"
with column mapping
expected output will be: {~label=edge, ~out_vertex={~label=vertex, community_id=1888030080, member_id=0}, ~in_vertex={~label=custom, name=Name, array=1}, ~local_id=2f3671c0-96d0-11e6-9882-f74edf21f349}
String of vertex ID in the form "label:encode64(data)"
Graph schema
External ID object
restore vertex Id from the GraphFrame Vertex id
restore vertex Id from the GraphFrame Vertex id