Class/Object

org.opencypher.okapi.api.io.conversion

NodeMapping

Related Docs: object NodeMapping | package conversion

Permalink

final case class NodeMapping extends EntityMapping with Product with Serializable

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.

Linear Supertypes
Serializable, Serializable, Product, Equals, EntityMapping, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NodeMapping
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. EntityMapping
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def cypherType: CTNode

    Permalink
    Definition Classes
    NodeMappingEntityMapping
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. val impliedLabels: Set[String]

    Permalink

    set of node labels

  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. val optionalLabelMapping: Map[String, String]

    Permalink

    mapping from label to source key

  16. def preventOverwritingProperty(propertyKey: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EntityMapping
  17. val propertyMapping: Map[String, String]

    Permalink

    mapping from property key to source property key

    mapping from property key to source property key

    Definition Classes
    NodeMappingEntityMapping
  18. val sourceIdKey: String

    Permalink

    key to access the node identifier in the source data

    key to access the node identifier in the source data

    Definition Classes
    NodeMappingEntityMapping
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def withImpliedLabel(label: String): NodeMapping

    Permalink
  24. def withImpliedLabels(labels: String*): NodeMapping

    Permalink
  25. def withOptionalLabel(tuple: (String, String)): NodeMapping

    Permalink
  26. def withOptionalLabel(label: String, sourceLabelKey: String): NodeMapping

    Permalink
  27. def withOptionalLabel(label: String): NodeMapping

    Permalink
  28. def withOptionalLabels(labels: String*): NodeMapping

    Permalink
  29. def withPropertyKey(propertyKey: String, sourcePropertyKey: String): NodeMapping

    Permalink
  30. def withPropertyKey(property: String): NodeMapping

    Permalink
  31. def withPropertyKey(tuple: (String, String)): NodeMapping

    Permalink
  32. def withPropertyKeys(properties: String*): NodeMapping

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from EntityMapping

Inherited from AnyRef

Inherited from Any

Ungrouped