Class/Object

org.opencypher.spark.api.io

AbstractPropertyGraphDataSource

Related Docs: object AbstractPropertyGraphDataSource | package io

Permalink

abstract class AbstractPropertyGraphDataSource extends CAPSPropertyGraphDataSource

Abstract data source implementation that takes care of caching graph names and schemas.

It automatically creates initializes a ScanGraphs an only requires the implementor to provider simpler methods for reading/writing files and tables.

Linear Supertypes
CAPSPropertyGraphDataSource, PropertyGraphDataSource, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractPropertyGraphDataSource
  2. CAPSPropertyGraphDataSource
  3. PropertyGraphDataSource
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractPropertyGraphDataSource()

    Permalink

Abstract Value Members

  1. implicit abstract val caps: CAPSSession

    Permalink
  2. abstract def deleteGraph(graphName: GraphName): Unit

    Permalink
    Attributes
    protected
  3. abstract def listGraphNames: List[String]

    Permalink
    Attributes
    protected
  4. abstract def readCAPSGraphMetaData(graphName: GraphName): CAPSGraphMetaData

    Permalink
    Attributes
    protected
  5. abstract def readNodeTable(graphName: GraphName, labelCombination: Set[String], sparkSchema: StructType): DataFrame

    Permalink
    Attributes
    protected
  6. abstract def readRelationshipTable(graphName: GraphName, relKey: String, sparkSchema: StructType): DataFrame

    Permalink
    Attributes
    protected
  7. abstract def readSchema(graphName: GraphName): CAPSSchema

    Permalink
    Attributes
    protected
  8. abstract def tableStorageFormat: StorageFormat

    Permalink
  9. abstract def writeCAPSGraphMetaData(graphName: GraphName, capsGraphMetaData: CAPSGraphMetaData): Unit

    Permalink
    Attributes
    protected
  10. abstract def writeNodeTable(graphName: GraphName, labelCombination: Set[String], table: DataFrame): Unit

    Permalink
    Attributes
    protected
  11. abstract def writeRelationshipTable(graphName: GraphName, relKey: String, table: DataFrame): Unit

    Permalink
    Attributes
    protected
  12. abstract def writeSchema(graphName: GraphName, schema: CAPSSchema): Unit

    Permalink
    Attributes
    protected

Concrete 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. def delete(graphName: GraphName): Unit

    Permalink
    Definition Classes
    AbstractPropertyGraphDataSource → PropertyGraphDataSource
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  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
    AbstractPropertyGraphDataSource → PropertyGraphDataSource
  13. var graphNameCache: Set[GraphName]

    Permalink
    Attributes
    protected
  14. def graphNames: Set[GraphName]

    Permalink
    Definition Classes
    AbstractPropertyGraphDataSource → PropertyGraphDataSource
  15. def hasGraph(graphName: GraphName): Boolean

    Permalink
    Definition Classes
    AbstractPropertyGraphDataSource → PropertyGraphDataSource
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def schema(graphName: GraphName): Option[CAPSSchema]

    Permalink
    Definition Classes
    AbstractPropertyGraphDataSource → PropertyGraphDataSource
  22. var schemaCache: Map[GraphName, CAPSSchema]

    Permalink
    Attributes
    protected
  23. def store(graphName: GraphName, graph: PropertyGraph): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def waitForWriteCompletion(writeFutures: Set[Future[Unit]])(implicit ec: ExecutionContext): Unit

    Permalink
    Attributes
    protected

Inherited from PropertyGraphDataSource

Inherited from AnyRef

Inherited from Any

Ungrouped