@FunctionalInterface public interface CreateTokenAtStatementBuilder
JdbcEventStorageEngine.createTokenAt(Instant)
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
build(Connection connection,
EventSchema schema,
Instant dateTime)
Creates a statement to be used at
JdbcEventStorageEngine.createTokenAt(Instant) . |
PreparedStatement build(Connection connection, EventSchema schema, Instant dateTime) throws SQLException
JdbcEventStorageEngine.createTokenAt(Instant)
.connection
- The connection to the database.schema
- The EventSchema to be useddateTime
- The dateTime where the token will be created.PreparedStatement
.SQLException
- when an exception occurs while creating the prepared statement.Copyright © 2010–2020. All rights reserved.