Class/Object

akka.persistence.cassandra

EventsByTagMigration

Related Docs: object EventsByTagMigration | package cassandra

Permalink

class EventsByTagMigration extends CassandraStatements with TaggedPreparedStatements with CassandraTagRecovery

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventsByTagMigration
  2. CassandraTagRecovery
  3. TaggedPreparedStatements
  4. CassandraStatements
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EventsByTagMigration(system: ActorSystem)

    Permalink

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. def addTagsColumn(): Future[Done]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def config: CassandraJournalConfig

    Permalink
  8. def createTables(): Future[Done]

    Permalink
  9. def createTagsProgressTable: String

    Permalink
    Definition Classes
    CassandraStatements
  10. implicit val ec: ExecutionContextExecutor

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  17. val log: LoggingAdapter

    Permalink
    Attributes
    protected
    Definition Classes
    EventsByTagMigrationCassandraTagRecovery
  18. def migratePidsToTagViews(pids: Seq[PersistenceId], periodicFlush: Int = 1000): Future[Done]

    Permalink

    Migrates the given persistenceIds from the messages table to the new tags_view table.

    Migrates the given persistenceIds from the messages table to the new tags_view table. tag_view table must exist before calling this and can be created manually or via [createTagsTable]

    This is useful if there there is a more efficient way of getting all the persistenceIds than [CassandraReadJournal.currentPersistenceIds] which does a distinct query on the messages table.

    This can also be used to do partial migrations e.g. test a persistenceId in production before migrating everything.

    It is recommended you use this if the messages table is large.

    pids

    PersistenceIds to migrate

    returns

    A Future that completes when the migration is complete

  19. def migrateToTagViews(periodicFlush: Int = 1000): Future[Done]

    Permalink

    Migrates the entire messages table to the the new tag_views table.

    Migrates the entire messages table to the the new tag_views table.

    Uses [CassandraReadJournal.currentPersistenceIds] to find all persistenceIds. Note that this is a very inefficient cassandra query so might timeout. If so the version of this method can be used where the persistenceIds are provided.

    returns

    A Future that completes when the migration is complete.

  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def preparedSelectTagProgress: Future[PreparedStatement]

    Permalink
    Definition Classes
    TaggedPreparedStatements
  24. def preparedSelectTagProgressForPersistenceId: Future[PreparedStatement]

    Permalink
    Definition Classes
    TaggedPreparedStatements
  25. def preparedWriteToTagProgress: Future[PreparedStatement]

    Permalink
    Definition Classes
    TaggedPreparedStatements
  26. def preparedWriteToTagViewWithMeta: Future[PreparedStatement]

    Permalink
    Definition Classes
    TaggedPreparedStatements
  27. def preparedWriteToTagViewWithoutMeta: Future[PreparedStatement]

    Permalink
    Definition Classes
    TaggedPreparedStatements
  28. val session: CassandraSession

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

    Permalink
    Definition Classes
    AnyRef
  30. def tableName: String

    Permalink
    Attributes
    protected
    Definition Classes
    CassandraStatements
  31. def toString(): String

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

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

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

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

Inherited from CassandraTagRecovery

Inherited from TaggedPreparedStatements

Inherited from CassandraStatements

Inherited from AnyRef

Inherited from Any

Ungrouped