Packages

class QueryBuilder[R] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new QueryBuilder(graph: Graph, query: Query, converter: (Json) => R)

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. def all: IO[List[R]]

    Convenience method to get the results from the stream as a List

  5. def as[T](implicit rw: RW[T]): QueryBuilder[T]

    Translates the results to a return type of T

    Translates the results to a return type of T

    T

    return type

    rw

    the RW for conversion

    returns

    QueryBuilder[T]

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. val converter: (Json) => R
  9. def count: IO[Int]

    Streams the result to return a count.

    Streams the result to return a count. A query that generates a count would be more efficient.

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def first: IO[Option[R]]

    The first result from the stream if there are any results.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def iterator: IO[Iterator[R]]
  17. def last: IO[Option[R]]

    The last result from the stream if there are any results.

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. def one: IO[R]

    Retrieves exactly one result from the query.

    Retrieves exactly one result from the query. If there is zero or more than one an exception will be thrown.

    returns

    IO[R]

  22. def process(processor: (DBQueue, R) => IO[DBQueue], batchSize: Int = 1000): IO[ProcessStats]

    Process through the stream with the ability to batch queue db inserts, upserts, and deletes.

    Process through the stream with the ability to batch queue db inserts, upserts, and deletes.

    processor

    the function to handle processing the items in the stream

    batchSize

    the maximum records to hold in memory for a specific collection and operation

    returns

    IO[ProcessStats]

  23. val query: Query
  24. def stream: Stream[IO, R]

    Creates a Stream to get all the results from the query

    Creates a Stream to get all the results from the query

    returns

    fs2.Stream[IO, R]

  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    QueryBuilder → AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped