final class Driver[F[_]] extends AnyRef

A neotypes driver for accessing the neo4j graph database A driver wrapped in the resource type can be created using the neotypes GraphDatabase

val driver = GraphDatabase[F]("bolt://localhost:7687").driver
F

effect type for driver

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Driver
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def close(implicit F: Async[F]): F[Unit]

    Close the resources assigned to the neo4j driver

    Close the resources assigned to the neo4j driver

    F

    the effect type

    returns

    an effect F of Unit

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def readSession[T](sessionWork: (Session[F]) => F[T])(implicit F: Async[F]): F[T]

    Apply a unit of work to a read session

    Apply a unit of work to a read session

    T

    the type of the value that will be returned when the query is executed.

    sessionWork

    function that takes a Session[F] and returns an F[T]

    F

    the effect type

    returns

    an effect F of type T

  17. def session[R[_]](config: SessionConfig)(implicit F: Aux[F, R]): R[Session[F]]

    Acquire a session to the database.

    Acquire a session to the database.

    R

    resource type dependant on effect type F.

    F

    asynchronous effect type with resource type defined.

    returns

    Session[F] in effect type R.

    Note

    When your effect type is scala.Future there is no concept of Resource. For more information see alternative effects

  18. def session[R[_]](implicit F: Aux[F, R]): R[Session[F]]

    Acquire a session to the database with the default config.

    Acquire a session to the database with the default config.

    R

    resource type dependant on effect type F.

    F

    asynchronous effect type with resource type defined.

    returns

    Session[F] in effect type R.

    Note

    When your effect type is scala.Future there is no concept of Resource. For more information see alternative effects

  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. def writeSession[T](sessionWork: (Session[F]) => F[T])(implicit F: Async[F]): F[T]

    Apply a unit to a write session

    Apply a unit to a write session

    T

    the type of the value that will be returned when the query is executed.

    sessionWork

    function that takes a Session[F] and returns an F[T]

    F

    the effect type

    returns

    an effect F of type T

Inherited from AnyRef

Inherited from Any

Ungrouped