Packages

c

meteor.api.hi

SecondaryCompositeIndex

case class SecondaryCompositeIndex[F[_], P, S](tableName: String, indexName: String, partitionKeyDef: KeyDef[P], sortKeyDef: KeyDef[S], jClient: DynamoDbAsyncClient)(implicit evidence$9: Async[F], evidence$10: Encoder[P], evidence$11: Encoder[S]) extends CompositeIndex[F, P, S] with Product with Serializable

Represent a secondary index (local and global) where the index has composite keys (partition key and sort key).

F

effect type

P

partition key type

S

sort key type

tableName

table's name

indexName

index's name

partitionKeyDef

partition key definition

sortKeyDef

sort key definition

jClient

DynamoDB java async client

Linear Supertypes
Serializable, Product, Equals, CompositeIndex[F, P, S], CompositeKeysGetOps, SharedGetOps, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SecondaryCompositeIndex
  2. Serializable
  3. Product
  4. Equals
  5. CompositeIndex
  6. CompositeKeysGetOps
  7. SharedGetOps
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SecondaryCompositeIndex(tableName: String, indexName: String, partitionKeyDef: KeyDef[P], sortKeyDef: KeyDef[S], jClient: DynamoDbAsyncClient)(implicit arg0: Async[F], arg1: Encoder[P], arg2: Encoder[S])

    tableName

    table's name

    indexName

    index's name

    partitionKeyDef

    partition key definition

    sortKeyDef

    sort key definition

    jClient

    DynamoDB java async client

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  8. val index: CompositeKeysIndex[P, S]
    Definition Classes
    SecondaryCompositeIndex → CompositeIndex
  9. val indexName: String
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. val jClient: DynamoDbAsyncClient
    Definition Classes
    SecondaryCompositeIndex → CompositeIndex
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. val partitionKeyDef: KeyDef[P]
    Definition Classes
    SecondaryCompositeIndex → CompositeIndex
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. def retrieve[T](partitionKey: P, limit: Int)(implicit arg0: Decoder[T], RT: RaiseThrowable[F]): Stream[F, T]

    Retrieve all items with the same partition key as a fs2 Stream.

    Retrieve all items with the same partition key as a fs2 Stream. The number of returned items can be limited. A Stream is returned instead of a list because the number of returned items can be very large. This always performs eventually consistent reads as strong consistent is not supported for secondary index.

    T

    returned item's type

    partitionKey

    partition key

    limit

    number of items to be returned

    RT

    implicit evidence for RaiseThrowable

    returns

    a fs2 Stream of items

  18. def retrieve[T](query: Query[P, S], consistentRead: Boolean, limit: Int)(implicit arg0: Decoder[T], RT: RaiseThrowable[F]): Stream[F, T]

    Retrieve items from a composite index, can be a secondary index or a table which has composite keys (partition key and sort key).

    Retrieve items from a composite index, can be a secondary index or a table which has composite keys (partition key and sort key).

    T

    return item's type

    query

    a query to filter items by key condition

    consistentRead

    toggle to perform consistent read

    limit

    limit the number of items to be returned

    RT

    implicit evidence for RaiseThrowable

    returns

    a fs2 Stream of items

    Definition Classes
    CompositeIndex
  19. val sortKeyDef: KeyDef[S]
    Definition Classes
    SecondaryCompositeIndex → CompositeIndex
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. val tableName: String
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CompositeIndex[F, P, S]

Inherited from CompositeKeysGetOps

Inherited from SharedGetOps

Inherited from AnyRef

Inherited from Any

Ungrouped