toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-core
/
me.ahoo.wow.eventsourcing.snapshot
/
Snapshot
Snapshot
interface
Snapshot
<
S
:
Any
>
:
ReadOnlyStateAggregate
<
S
>
Inheritors
SimpleSnapshot
Members
Members & Extensions
Properties
aggregate
Id
Link copied to clipboard
abstract
override
val
aggregateId
:
AggregateId
aggregate
Type
Link copied to clipboard
abstract
override
val
aggregateType
:
Class
<
S
>
State Aggregation Type
deleted
Link copied to clipboard
abstract
val
deleted
:
Boolean
状态聚合是否已删除
event
Id
Link copied to clipboard
abstract
val
eventId
:
String
event
Time
Link copied to clipboard
abstract
val
eventTime
:
Long
expected
Next
Version
Link copied to clipboard
open
val
expectedNextVersion
:
Int
first
Event
Time
Link copied to clipboard
abstract
val
firstEventTime
:
Long
first
Operator
Link copied to clipboard
abstract
val
firstOperator
:
String
initialized
Link copied to clipboard
open
val
initialized
:
Boolean
is
Initial
Version
Link copied to clipboard
open
val
isInitialVersion
:
Boolean
operator
Link copied to clipboard
abstract
val
operator
:
String
snapshot
Time
Link copied to clipboard
abstract
val
snapshotTime
:
Long
state
Link copied to clipboard
abstract
val
state
:
S
version
Link copied to clipboard
abstract
override
val
version
:
Int
用于生成领域事件版本号.
Functions
materialize
Link copied to clipboard
fun
<
S
:
Any
>
Snapshot
<
S
>
.
materialize
(
)
:
MaterializedSnapshot
<
S
>
to
Group
Key
Link copied to clipboard
fun
AggregateIdCapable
.
toGroupKey
(
parallelism
:
Int
=
DEFAULT_PARALLELISM
)
:
Int
to
State
Aggregate
Link copied to clipboard
@
JvmStatic
fun
<
S
:
Any
>
ReadOnlyStateAggregate
<
S
>
.
toStateAggregate
(
)
:
StateAggregate
<
S
>