eventstore.pipeline

StringByteStringAdapter

class StringByteStringAdapter extends PipelineStage[PipelineContext, String, akka.util.ByteString, String, akka.util.ByteString]

Simple convenience pipeline stage for turning Strings into ByteStrings and vice versa.

Linear Supertypes
PipelineStage[PipelineContext, String, akka.util.ByteString, String, akka.util.ByteString], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StringByteStringAdapter
  2. PipelineStage
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringByteStringAdapter(charset: String = "utf-8")

    charset

    The character set to be used for encoding and decoding the raw byte representation of the strings.

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. def >>[CmdBelowBelow, EvtBelowBelow, BelowContext <: PipelineContext](right: PipelineStage[_ >: BelowContext, akka.util.ByteString, CmdBelowBelow, akka.util.ByteString, EvtBelowBelow]): PipelineStage[BelowContext, String, CmdBelowBelow, String, EvtBelowBelow]

    Scala API: attach the two given stages such that the command output of the first is fed into the command input of the second, and the event output of the second is fed into the event input of the first.

    Scala API: attach the two given stages such that the command output of the first is fed into the command input of the second, and the event output of the second is fed into the event input of the first. In other words: sequence the stages such that the left one is on top of the right one.

    right

    the right or lower pipeline stage

    returns

    a pipeline stage representing the sequence of the two stages

    Definition Classes
    PipelineStage
  5. def apply(ctx: PipelineContext): PipePair[String, akka.util.ByteString, String, akka.util.ByteString] { ... /* 2 definitions in type refinement */ }

    Implement this method to generate this stage’s pair of command and event functions.

    Implement this method to generate this stage’s pair of command and event functions.

    INTERNAL API: do not use this method to instantiate a pipeline!

    Definition Classes
    StringByteStringAdapterPipelineStage
    See also

    AbstractSymmetricPipePair

    AbstractPipePair

    PipelineFactory

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def |[RightContext <: PipelineContext](right: PipelineStage[_ >: RightContext, String, akka.util.ByteString, String, akka.util.ByteString]): PipelineStage[RightContext, String, akka.util.ByteString, String, akka.util.ByteString]

    Scala API: combine the two stages such that the command pipeline of the left stage is used and the event pipeline of the right, discarding the other two sub-pipelines.

    Scala API: combine the two stages such that the command pipeline of the left stage is used and the event pipeline of the right, discarding the other two sub-pipelines.

    right

    the event pipeline

    returns

    a pipeline stage using the left command pipeline and the right event pipeline

    Definition Classes
    PipelineStage

Inherited from PipelineStage[PipelineContext, String, akka.util.ByteString, String, akka.util.ByteString]

Inherited from AnyRef

Inherited from Any

Ungrouped