Codota Logo
EventSchema.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.axonframework.eventsourcing.eventstore.jdbc.EventSchema
constructor

Best Java code snippets using org.axonframework.eventsourcing.eventstore.jdbc.EventSchema.<init> (Showing top 7 results out of 315)

  • Common ways to obtain EventSchema
private void myMethod () {
EventSchema e =
  • Codota Iconnew EventSchema()
  • Smart code suggestions by Codota
}
origin: AxonFramework/AxonFramework

  /**
   * Builds a new {@link EventSchema} from builder values.
   *
   * @return new EventSchema
   */
  public EventSchema build() {
    return new EventSchema(this);
  }
}
origin: AxonFramework/AxonFramework

@Before
public void setUp() {
  testSubject = new Oracle11EventTableFactory();
  eventSchema = new EventSchema();
  try {
    connection = DriverManager.getConnection("jdbc:oracle:thin:@//localhost:1521/xe", "system", "oracle");
  } catch (SQLException e) {
    assumeNoException("Ignoring test. Machine does not have a local Oracle 11 instance running", e);
  }
}
origin: org.axonframework/axon-core

  /**
   * Builds a new {@link EventSchema} from builder values.
   *
   * @return new EventSchema
   */
  public EventSchema build() {
    return new EventSchema(this);
  }
}
origin: org.axonframework/axon-eventsourcing

  /**
   * Builds a new {@link EventSchema} from builder values.
   *
   * @return new EventSchema
   */
  public EventSchema build() {
    return new EventSchema(this);
  }
}
origin: org.axonframework/axon-core

/**
 * Initializes an EventStorageEngine that uses JDBC to store and load events using the default {@link EventSchema}.
 * The payload and metadata of events is stored as a serialized blob of bytes using a new {@link XStreamSerializer}.
 * <p>
 * Events are read in batches of 100. No upcasting is performed after the events have been fetched.
 *
 * @param connectionProvider The provider of connections to the underlying database.
 * @param transactionManager The instance managing transactions around fetching event data. Required by certain
 *                           databases for reading blob data.
 */
public JdbcEventStorageEngine(ConnectionProvider connectionProvider, TransactionManager transactionManager) {
  this(null, null, null, null, null, connectionProvider, transactionManager, byte[].class, new EventSchema(),
     null, null);
}
origin: AxonFramework/Axon-trader

@Bean
public EventSchema eventSchema() {
  return new EventSchema();
}
origin: org.axonframework/axon-core

/**
 * Initializes an EventStorageEngine that uses JDBC to store and load events using the default {@link EventSchema}.
 * The payload and metadata of events is stored as a serialized blob of bytes using the given {@code serializer}.
 * <p>
 * Events are read in batches of 100. The given {@code upcasterChain} is used to upcast events before
 * deserialization.
 *
 * @param snapshotSerializer           Used to serialize and deserialize snapshots.
 * @param upcasterChain                Allows older revisions of serialized objects to be deserialized.
 * @param persistenceExceptionResolver Detects concurrency exceptions from the backing database. If {@code null}
 *                                     persistence exceptions are not explicitly resolved.
 * @param eventSerializer              Used to serialize and deserialize event payload and metadata.
 * @param connectionProvider           The provider of connections to the underlying database.
 * @param transactionManager           The instance managing transactions around fetching event data. Required by
 *                                     certain databases for reading blob data.
 */
public JdbcEventStorageEngine(Serializer snapshotSerializer, EventUpcaster upcasterChain,
               PersistenceExceptionResolver persistenceExceptionResolver, Serializer eventSerializer,
               ConnectionProvider connectionProvider, TransactionManager transactionManager) {
  this(snapshotSerializer, upcasterChain, persistenceExceptionResolver, eventSerializer, null, connectionProvider,
     transactionManager, byte[].class, new EventSchema(), null, null);
}
org.axonframework.eventsourcing.eventstore.jdbcEventSchema<init>

Javadoc

Initializes the default Event Schema

Popular methods of EventSchema

  • domainEventTable
    Returns the name of the domain event table.
  • snapshotTable
    Returns the name of the snapshot event table.
  • aggregateIdentifierColumn
    Get the name of the column containing the aggregate identifier of the event.
  • builder
    Returns a new Builder initialized with default settings.
  • eventIdentifierColumn
    Get the name of the column containing the identifier of the event.
  • globalIndexColumn
    Get the name of the column containing the global index of the event.
  • metaDataColumn
    Get the name of the column containing the serialized metadata of the event.
  • payloadColumn
    Get the name of the column containing the serialized payload of the event.
  • payloadRevisionColumn
    Get the name of the column containing the revision number of the serialized payload.
  • payloadTypeColumn
    Get the name of the column containing the event payload type.
  • sequenceNumberColumn
    Get the name of the column containing the aggregate sequence number of the event.
  • timestampColumn
    Get the name of the column containing the timestamp of the event.
  • sequenceNumberColumn,
  • timestampColumn,
  • typeColumn

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • orElseThrow (Optional)
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now