Class/Object

org.opencypher.spark.api.io.neo4j

CommunityNeo4jGraphDataSource

Related Docs: object CommunityNeo4jGraphDataSource | package neo4j

Permalink

case class CommunityNeo4jGraphDataSource(config: Neo4jConfig, queries: Map[GraphName, (String, String)] = ..., schemata: Map[GraphName, Schema] = Map.empty)(implicit session: CAPSSession) extends CAPSPropertyGraphDataSource with Product with Serializable

A data source implementation that enables loading property graphs from a Neo4j database. A graph is identified by a GraphName and parameterized by a node and a relationship query which are used to load the graph from Neo4j.

If the Schema of a Neo4j graph is known upfront, it can be provided to the data source. Otherwise, the schema will be computed during graph loading.

config

Neo4j connection configuration

queries

node and relationship queries for a specific graph

schemata

an optional schema of the loaded graph

session

CAPS session

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

Instance Constructors

  1. new CommunityNeo4jGraphDataSource(config: Neo4jConfig, queries: Map[GraphName, (String, String)] = ..., schemata: Map[GraphName, Schema] = Map.empty)(implicit session: CAPSSession)

    Permalink

    config

    Neo4j connection configuration

    queries

    node and relationship queries for a specific graph

    schemata

    an optional schema of the loaded graph

    session

    CAPS session

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 checkStorable(name: GraphName): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    CAPSPropertyGraphDataSource
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val config: Neo4jConfig

    Permalink

    Neo4j connection configuration

  8. def delete(name: GraphName): Unit

    Permalink
    Definition Classes
    CommunityNeo4jGraphDataSource → PropertyGraphDataSource
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def graph(name: GraphName): PropertyGraph

    Permalink
    Definition Classes
    CommunityNeo4jGraphDataSource → PropertyGraphDataSource
  13. def graphNames: Set[GraphName]

    Permalink
    Definition Classes
    CommunityNeo4jGraphDataSource → PropertyGraphDataSource
  14. def hasGraph(name: GraphName): Boolean

    Permalink
    Definition Classes
    CommunityNeo4jGraphDataSource → PropertyGraphDataSource
  15. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. val queries: Map[GraphName, (String, String)]

    Permalink

    node and relationship queries for a specific graph

  20. def schema(name: GraphName): Option[Schema]

    Permalink
    Definition Classes
    CommunityNeo4jGraphDataSource → PropertyGraphDataSource
  21. val schemata: Map[GraphName, Schema]

    Permalink

    an optional schema of the loaded graph

  22. implicit val session: CAPSSession

    Permalink

    CAPS session

  23. def store(name: GraphName, graph: PropertyGraph): Unit

    Permalink
    Definition Classes
    CommunityNeo4jGraphDataSource → PropertyGraphDataSource
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PropertyGraphDataSource

Inherited from AnyRef

Inherited from Any

Ungrouped