Package

org.opencypher.okapi.api.io

conversion

Permalink

package conversion

Visibility
  1. Public
  2. All

Type Members

  1. trait EntityMapping extends AnyRef

    Permalink

    Represents a map from node property keys to keys in the source data.

  2. final case class NodeMapping extends EntityMapping with Product with Serializable

    Permalink

    Represents a mapping from a source with key-based access to node components (e.g.

    Represents a mapping from a source with key-based access to node components (e.g. a table definition) to a Cypher node. The purpose of this class is to define a mapping from an external data source to a property graph.

    Construct a NodeMapping starting with NodeMapping#on.

    The sourceIdKey represents a key to the node identifier within the source data. The retrieved value from the source data is expected to be a scala.Long value that is unique among nodes.

    The impliedLabels represent a set of node labels.

    The optionalLabelMapping represent a map from node labels to keys in the source data. The retrieved value from the source data is expected to be a scala.Boolean value indicating if the label is present on that node.

    The propertyMapping represents a map from node property keys to keys in the source data. The retrieved value from the source is expected to be convertible to a valid org.opencypher.okapi.api.value.CypherValue.

  3. final case class RelationshipMapping extends EntityMapping with Product with Serializable

    Permalink

    Represents a mapping from a source with key-based access to relationship components (e.g.

    Represents a mapping from a source with key-based access to relationship components (e.g. a table definition) to a Cypher relationship. The purpose of this class is to define a mapping from an external data source to a property graph.

    Construct a RelationshipMapping starting with RelationshipMapping#on.

Value Members

  1. object NodeMapping extends Serializable

    Permalink
  2. object RelationshipMapping extends Serializable

    Permalink

Ungrouped