public static class EventSchema.Builder extends Object
EventSchema that gets initialized with default values.| Constructor and Description | 
|---|
Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
EventSchema | 
build()
Builds a new  
EventSchema from builder values. | 
EventSchema.Builder | 
withAggregateIdentifierColumn(String aggregateIdentifierColumn)
Sets the name of the event identifier column. 
 | 
EventSchema.Builder | 
withEventIdentifierColumn(String eventIdentifierColumn)
Sets the name of the event identifier column. 
 | 
EventSchema.Builder | 
withEventTable(String eventTable)
Sets the name of the domain events table. 
 | 
EventSchema.Builder | 
withGlobalIndexColumn(String globalIndexColumn)
Sets the name of the global index column. 
 | 
EventSchema.Builder | 
withMetaDataColumn(String metaDataColumn)
Sets the name of the event metadata column. 
 | 
EventSchema.Builder | 
withPayloadColumn(String payloadColumn)
Sets the name of the event payload column. 
 | 
EventSchema.Builder | 
withPayloadRevisionColumn(String payloadRevisionColumn)
Sets the name of the event payload revision column. 
 | 
EventSchema.Builder | 
withPayloadTypeColumn(String payloadTypeColumn)
Sets the name of the event payload type column. 
 | 
EventSchema.Builder | 
withSequenceNumberColumn(String sequenceNumberColumn)
Sets the name of the event identifier column. 
 | 
EventSchema.Builder | 
withSnapshotTable(String snapshotTable)
Sets the name of the snapshot events table. 
 | 
EventSchema.Builder | 
withTimestampColumn(String timestampColumn)
Sets the name of the timestamp column. 
 | 
EventSchema.Builder | 
withTypeColumn(String typeColumn)
Sets the name of the aggregate type column. 
 | 
public EventSchema.Builder withEventTable(String eventTable)
eventTable - the event table namepublic EventSchema.Builder withSnapshotTable(String snapshotTable)
snapshotTable - the snapshot table namepublic EventSchema.Builder withGlobalIndexColumn(String globalIndexColumn)
globalIndexColumn - the name of the global index column.public EventSchema.Builder withTimestampColumn(String timestampColumn)
timestampColumn - the name of the timestamp column.public EventSchema.Builder withEventIdentifierColumn(String eventIdentifierColumn)
eventIdentifierColumn - the name of the event identifier column.public EventSchema.Builder withAggregateIdentifierColumn(String aggregateIdentifierColumn)
aggregateIdentifierColumn - the name of the aggregate identifier column.public EventSchema.Builder withSequenceNumberColumn(String sequenceNumberColumn)
sequenceNumberColumn - the name of the sequence number column.public EventSchema.Builder withTypeColumn(String typeColumn)
typeColumn - the name of the aggregate type column.public EventSchema.Builder withPayloadTypeColumn(String payloadTypeColumn)
payloadTypeColumn - the name of the payload type column.public EventSchema.Builder withPayloadRevisionColumn(String payloadRevisionColumn)
payloadRevisionColumn - the name of the payload revision column.public EventSchema.Builder withPayloadColumn(String payloadColumn)
payloadColumn - the name of the payload column.public EventSchema.Builder withMetaDataColumn(String metaDataColumn)
metaDataColumn - the name of the metadata column.public EventSchema build()
EventSchema from builder values.Copyright © 2010–2018. All rights reserved.