com.outworkers.phantom.finagle

ExecutableQueryTwitterFuturesAugmenter

implicit final class ExecutableQueryTwitterFuturesAugmenter[T <: CassandraTable[T, _], R, Limit <: LimitBound] extends AnyVal

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExecutableQueryTwitterFuturesAugmenter
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExecutableQueryTwitterFuturesAugmenter(query: ExecutableQuery[T, R, Limit])

Value Members

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

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

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

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

    Definition Classes
    Any
  5. def collect(pagingState: PagingState)(implicit session: Session, executor: ExecutionContextExecutor): Future[List[R]]

    Returns a parsed sequence of [R]ows together with a result set.

    Returns a parsed sequence of [R]ows together with a result set. This is not suitable for big results set

    session

    The implicit session provided by a com.outworkers.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

  6. def collect(modifyStatement: (Statement) ⇒ Statement)(implicit session: Session, executor: ExecutionContextExecutor): Future[List[R]]

    Returns a parsed sequence of rows after the generated statement is modified by the modifier function.

    Returns a parsed sequence of rows after the generated statement is modified by the modifier function. This is not suitable for big results set

    session

    The implicit session provided by a com.outworkers.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

  7. def collect()(implicit session: Session, executor: ExecutionContextExecutor): Future[List[R]]

    Returns a parsed sequence of [R]ows This is not suitable for big results set

    Returns a parsed sequence of [R]ows This is not suitable for big results set

    session

    The implicit session provided by a com.outworkers.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

  8. def collectRecord(state: Option[PagingState])(implicit session: Session, executor: ExecutionContextExecutor): Future[ListResult[R]]

    Returns a parsed sequence of [R]ows together with a result set.

    Returns a parsed sequence of [R]ows together with a result set. A convenience method that exists solely to allow passing in an optional paging state. This is not suitable for big results set

    state

    An optional paging state that will be added only if the state is defined.

    session

    The implicit session provided by a com.outworkers.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

  9. def collectRecord(pagingState: PagingState)(implicit session: Session, executor: ExecutionContextExecutor): Future[ListResult[R]]

    Returns a parsed sequence of [R]ows together with a result set.

    Returns a parsed sequence of [R]ows together with a result set. This is not suitable for big results set

    session

    The implicit session provided by a com.outworkers.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

  10. def collectRecord(modifyStatement: (Statement) ⇒ Statement)(implicit session: Session, executor: ExecutionContextExecutor): Future[ListResult[R]]

    Returns a parsed sequence of [R]ows together with a result set.

    Returns a parsed sequence of [R]ows together with a result set. This is not suitable for big results set

    session

    The implicit session provided by a com.outworkers.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

  11. def collectRecord()(implicit session: Session, executor: ExecutionContextExecutor): Future[ListResult[R]]

    Returns a parsed sequence of [R]ows together with a result set.

    Returns a parsed sequence of [R]ows together with a result set. This is not suitable for big results set

    session

    The implicit session provided by a com.outworkers.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

  12. def directMapper(results: List[Row]): List[R]

    Attributes
    protected[this]
  13. def fetchSpool()(implicit session: Session, executor: ExecutionContextExecutor): Future[Spool[R]]

    Produces a com.twitter.concurrent.Spool of [R]ows A spool is both lazily constructed and consumed, suitable for large collections when using twitter futures.

    Produces a com.twitter.concurrent.Spool of [R]ows A spool is both lazily constructed and consumed, suitable for large collections when using twitter futures.

    session

    The implicit session provided by a com.outworkers.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Spool of R.

  14. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val query: ExecutableQuery[T, R, Limit]

  17. def singleResult(row: Row): Option[R]

    Attributes
    protected[this]
  18. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped