Object

com.websudos.phantom.reactivestreams.iteratee

Iteratee

Related Doc: package iteratee

Permalink

object Iteratee

Helper object to some common use cases for iterators. This is a wrapper around play Iteratee class.

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

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 chunks[R]()(implicit ec: ExecutionContext): Iteratee[R, List[R]]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def collect[R]()(implicit ec: ExecutionContext): Iteratee[R, List[R]]

    Permalink
  8. def count[E](f: (E) ⇒ Long)(implicit ec: ExecutionContext): Iteratee[E, Long]

    Permalink

    Counts the number of elements inside the iteratee using a fold traversal.

    Counts the number of elements inside the iteratee using a fold traversal.

    E

    The type of the Record, dictated by the Cassandra table.

    f

    The function to use for counting the records, takes a record as input.

    ec

    The execution context in which to execute the operation.

    returns

    A new iteratee, where the result of the operation is a long with the count.

  9. def drop[R](num: Int)(implicit ex: ExecutionContext): Iteratee[R, Iterator[R]]

    Permalink

    A drop method called directly on the iteratee, will asynchronously processs the drop using the Play Iteratee API.

    A drop method called directly on the iteratee, will asynchronously processs the drop using the Play Iteratee API.

    R

    The type of the Record being selected from the Cassandra table.

    num

    The number of records to drop from the "left hand side" of the iteratee.

    ex

    The execution context in which to execute the operation.

    returns

    A new iteratee, where the first num records have been dropped.

  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def forEach[E](f: (E) ⇒ Unit)(implicit ec: ExecutionContext): Iteratee[E, Unit]

    Permalink

    Executes a function for every single element in the iteratee.

    Executes a function for every single element in the iteratee.

    E

    The type of the underlying record, dictated by the Cassandra table.

    f

    The function to execute.

    ec

    The execution context to execute the operation in.

    returns

    A new iteratee, with the result type Unit.

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def slice[R](start: Int, limit: Int)(implicit ex: ExecutionContext): Iteratee[R, Iterator[R]]

    Permalink

    Slices the iteratee from a given index to as many elements as the limit, effectively returns all elements from (start) to (start + limit).

    Slices the iteratee from a given index to as many elements as the limit, effectively returns all elements from (start) to (start + limit).

    R

    The type of the result to return in the iterator, usually the record type of a table.

    start

    The index at which to start.

    limit

    The number of elements to include in the slice.

    ex

    The execution context in which to perform the computation.

    returns

    A Play iteratee that can be consumed.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def take[R](limit: Int)(implicit ex: ExecutionContext): Iteratee[R, Iterator[R]]

    Permalink
  23. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped