com.outworkers.phantom.streams.iteratee

Iteratee

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def chunks[R]()(implicit ec: ExecutionContext): Iteratee[R, List[R]]

  8. def clone(): AnyRef

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

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

    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.

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

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

    A drop method called directly on the iteratee, will asynchronously process 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.

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

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

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

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

    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.

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

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

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

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

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

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

    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.

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

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

  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped