Creates a relationship table from the given DataFrame.
Creates a relationship table from the given DataFrame. By convention, there needs to be one column storing relationship identifiers and named after GraphEntity.sourceIdKey, one column storing source node identifiers and named after Relationship.sourceStartNodeKey and one column storing target node identifiers and named after Relationship.sourceEndNodeKey. All remaining columns are interpreted as relationship property columns, the column name is used as property key.
Column names prefixed with property#
are decoded by org.opencypher.spark.api.io.util.StringEncodingUtilities to
recover the original property name.
relationship type
relationship data
a relationship table with inferred relationship mapping
Creates a relationship table from the given RelationshipMapping and DataFrame.
Creates a relationship table from the given RelationshipMapping and DataFrame.
relationship mapping
node data
a relationship table