sec.api

package sec.api

Members list

Packages

package sec.api.mapping

Type members

Classlikes

sealed trait AllMessage

AllMessage represents different kind of messages that you get when reading from the global stream.

AllMessage represents different kind of messages that you get when reading from the global stream.

There are two variants:

Attributes

Companion
object
Source
streams.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AllMessage

Attributes

Companion
trait
Source
streams.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
AllMessage.type
final case class Checkpoint(logPosition: Exact)

Checkpoint result used with server-side filtering in EventStoreDB. Contains the LogPosition.Exact when the checkpoint was made.

Checkpoint result used with server-side filtering in EventStoreDB. Contains the LogPosition.Exact when the checkpoint was made.

Attributes

Companion
object
Source
streams.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Checkpoint

Attributes

Companion
class
Source
streams.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Checkpoint.type
final case class ClusterInfo(members: Set[MemberInfo])

Used for information about the nodes in an EventStoreDB cluster.

Used for information about the nodes in an EventStoreDB cluster.

Attributes

Companion
object
Source
gossip.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ClusterInfo

Attributes

Companion
class
Source
gossip.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class DeleteResult(logPosition: Exact)

The LogPosition.Exact of the delete in the transaction log.

The LogPosition.Exact of the delete in the transaction log.

Attributes

Source
streams.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait Direction

Direction used when reading from a stream with variants:

Direction used when reading from a stream with variants:

Attributes

Companion
object
Source
direction.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Backwards.type
object Forwards.type
object Direction

Attributes

Companion
trait
Source
direction.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Direction.type
final case class Endpoint(address: String, port: Int)

Endpoint can be an IP Socket Address consisting of an IP address and port number. It can also be a hostname and a port number, in which case an attempt will be made to resolve the hostname.

Endpoint can be an IP Socket Address consisting of an IP address and port number. It can also be a hostname and a port number, in which case an attempt will be made to resolve the hostname.

Attributes

Companion
object
Source
endpoint.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Endpoint

Attributes

Companion
class
Source
endpoint.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Endpoint.type
final case class EventFilter(kind: Kind, option: Either[NonEmptyList[PrefixFilter], RegexFilter])

Used for server-side event stream filtering. There are two kinds of filters:

Used for server-side event stream filtering. There are two kinds of filters:

In combination with EventFilter.Kind you can choose between two types of filter expressions:

  • EventFilter.PrefixFilter when you wish to filter for prefixes. An example of this is PrefixFilter("user_stream") for streams starting with the string value "user_stream" like "user_stream-a" and "user_stream-b".

  • EventFilter.RegexFilter when you wish to filter with a regular expression. An example of this is RegexFilter("^[^$].*") when you for do not wish to retrieve events starting with $.

Attributes

Companion
object
Source
filter.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object EventFilter

Attributes

Companion
class
Source
filter.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class MemberInfo(instanceId: UUID, timestamp: ZonedDateTime, state: VNodeState, isAlive: Boolean, httpEndpoint: Endpoint)

Attributes

Companion
object
Source
gossip.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object MemberInfo

Attributes

Companion
class
Source
gossip.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
MemberInfo.type
sealed trait NodePreference

Used in conjunction with cluster connections where you provide a preference about what state a node should be in.

Used in conjunction with cluster connections where you provide a preference about what state a node should be in.

There are three variants:

Attributes

Companion
object
Source
preference.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Follower.type
object Leader.type
object ReadOnlyReplica.type

Attributes

Companion
trait
Source
preference.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait StreamMessage

StreamMessage represents different kind of messages that you get when reading from a stream.

StreamMessage represents different kind of messages that you get when reading from a stream.

There are four variants:

Attributes

Companion
object
Source
streams.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object StreamMessage

Attributes

Companion
trait
Source
streams.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed abstract case class SubscriptionFilterOptions(filter: EventFilter, maxSearchWindow: Option[Int], checkpointIntervalMultiplier: Int)

Attributes

Companion
object
Source
filter.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
filter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class TombstoneResult(logPosition: Exact)

The LogPosition.Exact of the tombstone in the transaction log.

The LogPosition.Exact of the tombstone in the transaction log.

Attributes

Source
streams.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed abstract case class UserCredentials(username: String, password: String)

Credentials used for EventStoreDB connections.

Credentials used for EventStoreDB connections.

Attributes

Companion
object
Source
callcontext.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
callcontext.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait VNodeState

Attributes

Companion
object
Source
gossip.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object CatchingUp.type
object Clone.type
object DiscoverLeader.type
object Follower.type
object Initializing.type
object Leader.type
object Manager.type
object PreLeader.type
object PreReadOnlyReplica.type
object PreReplica.type
object ReadOnlyLeaderless.type
object ReadOnlyReplica.type
object ResigningLeader.type
object Shutdown.type
object ShuttingDown.type
object Unknown.type
Show all
object VNodeState

Attributes

Companion
trait
Source
gossip.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
VNodeState.type
final case class WriteResult(streamPosition: Exact, logPosition: Exact)

The current last StreamPosition.Exact of the stream appended to and its corresponding LogPosition.Exact in the transaction log.

The current last StreamPosition.Exact of the stream appended to and its corresponding LogPosition.Exact in the transaction log.

Attributes

Source
streams.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object exceptions

Attributes

Source
exceptions.scala
Supertypes
class Object
trait Matchable
class Any
Self type
exceptions.type