Wow
Toggle table of contents
5.1.5
jvm
Platform filter
jvm
Switch theme
Search in API
Wow
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