Object

com.gu.scanamo

ScanamoAlpakka

Related Doc: package scanamo

Permalink

object ScanamoAlpakka

Provides the same interface as com.gu.scanamo.Scanamo, except that it requires an Alpakka client and an implicit scala.concurrent.ExecutionContext and returns a scala.concurrent.Future

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScanamoAlpakka
  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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def exec[A](client: DynamoClient)(op: ScanamoOps[A])(implicit ec: ExecutionContext): Future[A]

    Permalink
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

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

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

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

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

Deprecated Value Members

  1. def delete[T](client: DynamoClient)(tableName: String)(key: UniqueKey[_])(implicit ec: ExecutionContext): Future[DeleteItemResult]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.delete

  2. def deleteAll(client: DynamoClient)(tableName: String)(items: UniqueKeys[_])(implicit ec: ExecutionContext): Future[List[BatchWriteItemResult]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.deleteAll

  3. def get[T](client: DynamoClient)(tableName: String)(key: UniqueKey[_])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[Option[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.get

  4. def getAll[T](client: DynamoClient)(tableName: String)(keys: UniqueKeys[_])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[Set[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.getAll

  5. def getAllWithConsistency[T](client: DynamoClient)(tableName: String)(keys: UniqueKeys[_])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[Set[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.getAll and com.gu.scanamo.Table.consistently

  6. def getWithConsistency[T](client: DynamoClient)(tableName: String)(key: UniqueKey[_])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[Option[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.consistently

  7. def put[T](client: DynamoClient)(tableName: String)(item: T)(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[Option[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.put

  8. def putAll[T](client: DynamoClient)(tableName: String)(items: Set[T])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[List[BatchWriteItemResult]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.putAll

  9. def query[T](client: DynamoClient)(tableName: String)(query: Query[_])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[List[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.query

  10. def queryFrom[T](client: DynamoClient)(tableName: String)(query: Query[_], limit: Int, startKey: Option[EvaluationKey])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[(List[Either[DynamoReadError, T]], Option[EvaluationKey])]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.queryFrom

  11. def queryIndex[T](client: DynamoClient)(tableName: String, indexName: String)(query: Query[_])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[List[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.index

  12. def queryIndexFrom[T](client: DynamoClient)(tableName: String, indexName: String)(query: Query[_], limit: Int, startKey: Option[EvaluationKey])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[(List[Either[DynamoReadError, T]], Option[EvaluationKey])]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.queryFrom and com.gu.scanamo.Table.index

  13. def queryIndexWithLimit[T](client: DynamoClient)(tableName: String, indexName: String)(query: Query[_], limit: Int)(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[List[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.index and com.gu.scanamo.SecondaryIndex.limit

  14. def queryWithLimit[T](client: DynamoClient)(tableName: String)(query: Query[_], limit: Int)(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[List[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.limit

  15. def scan[T](client: DynamoClient)(tableName: String)(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[List[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.scan

  16. def scanFrom[T](client: DynamoClient)(tableName: String, limit: Int, startKey: Option[EvaluationKey])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[(List[Either[DynamoReadError, T]], Option[EvaluationKey])]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.scanFrom

  17. def scanIndex[T](client: DynamoClient)(tableName: String, indexName: String)(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[List[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.index

  18. def scanIndexFrom[T](client: DynamoClient)(tableName: String, indexName: String, limit: Int, startKey: Option[EvaluationKey])(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[(List[Either[DynamoReadError, T]], Option[EvaluationKey])]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.scanFrom and com.gu.scanamo.Table.index

  19. def scanIndexWithLimit[T](client: DynamoClient)(tableName: String, indexName: String, limit: Int)(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[List[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.index and com.gu.scanamo.SecondaryIndex.limit

  20. def scanWithLimit[T](client: DynamoClient)(tableName: String, limit: Int)(implicit arg0: DynamoFormat[T], ec: ExecutionContext): Future[List[Either[DynamoReadError, T]]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.limit

  21. def update[V](client: DynamoClient)(tableName: String)(key: UniqueKey[_], expression: UpdateExpression)(implicit arg0: DynamoFormat[V], ec: ExecutionContext): Future[Either[DynamoReadError, V]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) Use exec with com.gu.scanamo.Table.update

Inherited from AnyRef

Inherited from Any

Ungrouped