toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-mongo
/
me.ahoo.wow.mongo
/
AggregateSchemaInitializer
Aggregate
Schema
Initializer
object
AggregateSchemaInitializer
Members
Properties
AGGREGATE_ID_AND_VERSION_UNIQUE_INDEX_NAME
Link copied to clipboard
const
val
AGGREGATE_ID_AND_VERSION_UNIQUE_INDEX_NAME
:
String
REQUEST_ID_UNIQUE_INDEX_NAME
Link copied to clipboard
const
val
REQUEST_ID_UNIQUE_INDEX_NAME
:
String
Functions
create
Aggregate
Id
And
Request
Id
Unique
Index
Link copied to clipboard
fun
MongoCollection
<
Document
>
.
createAggregateIdAndRequestIdUniqueIndex
(
)
create
Aggregate
Id
And
Version
Unique
Index
Link copied to clipboard
fun
MongoCollection
<
Document
>
.
createAggregateIdAndVersionUniqueIndex
(
)
create
Aggregate
Id
Index
Link copied to clipboard
fun
MongoCollection
<
Document
>
.
createAggregateIdIndex
(
)
create
Request
Id
Unique
Index
Link copied to clipboard
fun
MongoCollection
<
Document
>
.
createRequestIdUniqueIndex
(
)
create
Tenant
Id
Index
Link copied to clipboard
fun
MongoCollection
<
Document
>
.
createTenantIdIndex
(
)
ensure
Collection
Link copied to clipboard
fun
MongoDatabase
.
ensureCollection
(
collectionName
:
String
)
:
Boolean
to
Aggregate
Id
Collection
Name
Link copied to clipboard
fun
NamedAggregate
.
toAggregateIdCollectionName
(
)
:
String
to
Event
Stream
Collection
Name
Link copied to clipboard
fun
NamedAggregate
.
toEventStreamCollectionName
(
)
:
String
to
Snapshot
Collection
Name
Link copied to clipboard
fun
NamedAggregate
.
toSnapshotCollectionName
(
)
:
String