Class/Object

org.opencypher.spark.api.io.util

CachedDataSource

Related Docs: object CachedDataSource | package util

Permalink

case class CachedDataSource(dataSource: PropertyGraphDataSource, storageLevel: StorageLevel) extends PropertyGraphDataSource with Product with Serializable

Wraps a PropertyGraphDataSource and introduces a caching mechanism. First time a graph is read, it is cached in Spark according to the given StorageLevel and put in the datasource internal cache. When a graph is removed from the data source, it is uncached in Spark and removed from the datasource internal cache.

dataSource

property graph data source

storageLevel

storage level for caching the graph

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

Instance Constructors

  1. new CachedDataSource(dataSource: PropertyGraphDataSource, storageLevel: StorageLevel)

    Permalink

    dataSource

    property graph data source

    storageLevel

    storage level for caching the graph

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. val dataSource: PropertyGraphDataSource

    Permalink

    property graph data source

  7. def delete(name: GraphName): Unit

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

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

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

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

    Permalink
    Definition Classes
    CachedDataSource → PropertyGraphDataSource
  12. def graphNames: Set[GraphName]

    Permalink
    Definition Classes
    CachedDataSource → PropertyGraphDataSource
  13. def hasGraph(name: GraphName): Boolean

    Permalink
    Definition Classes
    CachedDataSource → PropertyGraphDataSource
  14. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def schema(name: GraphName): Option[Schema]

    Permalink
    Definition Classes
    CachedDataSource → PropertyGraphDataSource
  19. val storageLevel: StorageLevel

    Permalink

    storage level for caching the graph

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. 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