Class

com.websudos.phantom.finagle

ExecutableQueryTwitterFuturesAugmenter

Related Doc: package finagle

Permalink

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

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

Instance Constructors

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

    Permalink

Value Members

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

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

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

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

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

    Permalink

    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.websudos.phantom.connectors.Connector.

    keySpace

    The implicit keySpace definition provided by a com.websudos.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

  6. def collect(modifyStatement: Modifier)(implicit session: Session, keySpace: KeySpace, executor: Executor): Future[List[R]]

    Permalink

    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.websudos.phantom.connectors.Connector.

    keySpace

    The implicit keySpace definition provided by a com.websudos.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

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

    Permalink

    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.websudos.phantom.connectors.Connector.

    keySpace

    The implicit keySpace definition provided by a com.websudos.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, keySpace: KeySpace, executor: Executor): Future[ListResult[R]]

    Permalink

    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.websudos.phantom.connectors.Connector.

    keySpace

    The implicit keySpace definition provided by a com.websudos.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, keySpace: KeySpace, executor: Executor): Future[ListResult[R]]

    Permalink

    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.websudos.phantom.connectors.Connector.

    keySpace

    The implicit keySpace definition provided by a com.websudos.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

  10. def collectRecord(modifyStatement: Modifier)(implicit session: Session, keySpace: KeySpace, executor: Executor): Future[ListResult[R]]

    Permalink

    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.websudos.phantom.connectors.Connector.

    keySpace

    The implicit keySpace definition provided by a com.websudos.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Twitter future wrapping a list of mapped results.

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

    Permalink

    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.websudos.phantom.connectors.Connector.

    keySpace

    The implicit keySpace definition provided by a com.websudos.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]

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

    Permalink

    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.websudos.phantom.connectors.Connector.

    keySpace

    The implicit keySpace definition provided by a com.websudos.phantom.connectors.Connector.

    executor

    The implicit Java executor.

    returns

    A Spool of R.

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

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

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

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

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

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped