Index
All Classes and Interfaces|All Packages
A
- assertJooqException(VertxTestContext, AsyncResult<X>, SQLStateClass) - Method in interface io.github.zero88.jooqx.SQLTestHelper
-
Assert async result is completed with error then compare exception
- assertJooqException(VertxTestContext, AsyncResult<X>, SQLStateClass, String) - Method in interface io.github.zero88.jooqx.SQLTestHelper
-
Assert async result is completed with error then compare exception
- assertJooqException(VertxTestContext, AsyncResult<X>, SQLStateClass, String, Class<? extends Throwable>) - Method in interface io.github.zero88.jooqx.SQLTestHelper
-
Assert async result is completed with error then compare exception
- assertJooqException(SQLStateClass, boolean, Throwable) - Method in interface io.github.zero88.jooqx.SQLTestHelper
-
Internal compare.
- assertPostgresVersion(Record) - Static method in class io.github.zero88.jooqx.spi.pg.PgSQLJooqxTest
- assertResultSize(VertxTestContext, AsyncResult<List<R>>, int) - Method in interface io.github.zero88.jooqx.SQLTestHelper
-
Assert async result is completed successful then compare result size
- assertSuccess(VertxTestContext, AsyncResult<T>) - Method in interface io.github.zero88.jooqx.SQLTestHelper
-
Assert async result is completed successful
C
- clientProvider() - Method in interface io.github.zero88.jooqx.SQLTest.JooqxTest
- clientProvider() - Method in interface io.github.zero88.jooqx.SQLTest.LegacySQLTest
- closeDataSource(HikariDataSource) - Method in interface io.github.zero88.jooqx.JooqSQL
-
Close Hikari datasource
- connOpt - Variable in class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
- createConnOptions(DB, JsonObject) - Method in interface io.github.zero88.jooqx.DBContainerProvider
- createDataSource(SQLConnectionOption) - Method in interface io.github.zero88.jooqx.JooqSQL
-
Create Hikari data source
- createTableThenAssert(VertxTestContext, SQLExecutor, Table) - Method in interface io.github.zero88.jooqx.DDLTest
D
- db - Variable in class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
- DBContainerProvider<DB extends org.testcontainers.containers.JdbcDatabaseContainer<?>> - Interface in io.github.zero88.jooqx
-
Provides database in Docker container
- dbProvider() - Method in interface io.github.zero88.jooqx.HasDBProvider
- dbProvider() - Method in interface io.github.zero88.jooqx.spi.mysql.MySQLDBProvider
- dbProvider() - Method in interface io.github.zero88.jooqx.spi.pg.PgSQLDBProvider
- dbProvider() - Method in class io.github.zero88.jooqx.JooqxTestDefinition.JooqxDBMemoryTest
- DDLTest - Interface in io.github.zero88.jooqx
- defaultPort() - Method in interface io.github.zero88.jooqx.DBContainerProvider
-
For example:
3306
forMySQL
,5432
forPostgreSQL
- defaultPort() - Method in interface io.github.zero88.jooqx.spi.mysql.MySQLDBProvider
- defaultPort() - Method in interface io.github.zero88.jooqx.spi.pg.PgSQLDBProvider
- dsl() - Method in interface io.github.zero88.jooqx.JooqSQL
E
- extractParam(Parameter<?>, Param<?>) - Static method in interface io.github.zero88.jooqx.JooqSQL
F
- fromJson(Iterable<Map.Entry<String, Object>>, SQLConnectionOption) - Static method in class io.github.zero88.jooqx.SQLConnectionOptionConverter
G
- getCurrentDBVersion(String) - Static method in interface io.github.zero88.jooqx.SQLTestHelper
-
Get current database version by system property "
dbVersion
" - getDatabase() - Method in class io.github.zero88.jooqx.SQLConnectionOption
- getDatabase() - Method in class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
- getDatabase() - Method in class io.github.zero88.jooqx.JooqxTestDefinition.JooqxDBMemoryTest
- getDriverClassName() - Method in class io.github.zero88.jooqx.SQLConnectionOption
- getHost() - Method in class io.github.zero88.jooqx.SQLConnectionOption
- getJdbcUrl() - Method in class io.github.zero88.jooqx.SQLConnectionOption
- getPassword() - Method in class io.github.zero88.jooqx.SQLConnectionOption
- getPort() - Method in class io.github.zero88.jooqx.SQLConnectionOption
- getUser() - Method in class io.github.zero88.jooqx.SQLConnectionOption
H
- HasDBProvider<DB,
DBP extends io.github.zero88.jooqx.provider.DBProvider<DB>> - Interface in io.github.zero88.jooqx
I
- init() - Method in interface io.github.zero88.jooqx.spi.mysql.MySQLDBProvider
- init() - Method in interface io.github.zero88.jooqx.spi.pg.PgSQLDBProvider
- init(Connection) - Static method in class io.github.zero88.jooqx.spi.mysql.MySQLInitializer
- initConnOptions() - Method in class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
-
Init SQL connection options
- initDBContainer(String) - Method in interface io.github.zero88.jooqx.DBContainerProvider
-
Init Database container
- initDBContainer(String) - Method in interface io.github.zero88.jooqx.spi.mysql.MySQLDBProvider
- initDBContainer(String) - Method in interface io.github.zero88.jooqx.spi.pg.PgSQLDBProvider
- initPoolOptions() - Method in class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
-
Init SQL pool options
- io.github.zero88.jooqx - package io.github.zero88.jooqx
- io.github.zero88.jooqx.spi.mysql - package io.github.zero88.jooqx.spi.mysql
- io.github.zero88.jooqx.spi.pg - package io.github.zero88.jooqx.spi.pg
J
- JooqSQL<S extends org.jooq.Schema> - Interface in io.github.zero88.jooqx
-
SQL test helper for initializing the test database schema via
HikariCP
and plainjOOQ
- jooqx - Variable in class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
- JooqxDBContainerTest() - Constructor for class io.github.zero88.jooqx.JooqxTestDefinition.JooqxDBContainerTest
- JooqxDBMemoryTest() - Constructor for class io.github.zero88.jooqx.JooqxTestDefinition.JooqxDBMemoryTest
- jooqxProvider() - Method in interface io.github.zero88.jooqx.SQLTest.JooqxTest
- jooqxProvider() - Method in interface io.github.zero88.jooqx.SQLTest.LegacySQLTest
- JooqxTestDefinition - Interface in io.github.zero88.jooqx
- JooqxTestDefinition.JooqxDBContainerTest<S extends io.vertx.sqlclient.SqlClient,
K extends org.testcontainers.containers.JdbcDatabaseContainer<?>> - Class in io.github.zero88.jooqx - JooqxTestDefinition.JooqxDBMemoryTest<S extends io.vertx.sqlclient.SqlClient> - Class in io.github.zero88.jooqx
L
- LegacyDBContainerTest() - Constructor for class io.github.zero88.jooqx.LegacyTestDefinition.LegacyDBContainerTest
- LegacyDBMemoryTest() - Constructor for class io.github.zero88.jooqx.LegacyTestDefinition.LegacyDBMemoryTest
- LegacyTestDefinition - Interface in io.github.zero88.jooqx
- LegacyTestDefinition.LegacyDBContainerTest<K extends org.testcontainers.containers.JdbcDatabaseContainer<?>,
P extends io.vertx.ext.jdbc.spi.DataSourceProvider> - Class in io.github.zero88.jooqx - LegacyTestDefinition.LegacyDBMemoryTest<P extends io.vertx.ext.jdbc.spi.DataSourceProvider> - Class in io.github.zero88.jooqx
M
- MySQLDBProvider - Interface in io.github.zero88.jooqx.spi.mysql
- MySQLInitializer - Class in io.github.zero88.jooqx.spi.mysql
- MySQLInitializer() - Constructor for class io.github.zero88.jooqx.spi.mysql.MySQLInitializer
- MySQLJooqxTest<S extends io.vertx.sqlclient.SqlClient> - Class in io.github.zero88.jooqx.spi.mysql
- MySQLJooqxTest() - Constructor for class io.github.zero88.jooqx.spi.mysql.MySQLJooqxTest
P
- PgSQLDBProvider - Interface in io.github.zero88.jooqx.spi.pg
- PgSQLJooqxTest<S extends io.vertx.sqlclient.SqlClient> - Class in io.github.zero88.jooqx.spi.pg
- PgSQLJooqxTest() - Constructor for class io.github.zero88.jooqx.spi.pg.PgSQLJooqxTest
- PgSQLLegacyTest - Class in io.github.zero88.jooqx.spi.pg
- PgSQLLegacyTest() - Constructor for class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
- prepareDatabase(VertxTestContext, DSLContext, String...) - Method in interface io.github.zero88.jooqx.JooqSQL
-
Prepare database when tear-up test case
- prepareDatabase(VertxTestContext, JooqSQL<?>, SQLConnectionOption, String...) - Method in interface io.github.zero88.jooqx.SQLTestHelper
-
Prepare database schema and test data by plain JDBC connection.
- printJooqRoutine(DSLContext, Routine<?>) - Static method in interface io.github.zero88.jooqx.JooqSQL
- printJooqRoutineResult(Routine<?>) - Static method in interface io.github.zero88.jooqx.JooqSQL
R
- runScript(Reader) - Method in class io.github.zero88.jooqx.ScriptRunner
- runScript(Connection, String...) - Static method in class io.github.zero88.jooqx.spi.mysql.MySQLInitializer
S
- schema() - Method in interface io.github.zero88.jooqx.JooqSQL
-
Get test database schema
- ScriptRunner - Class in io.github.zero88.jooqx
-
This is an internal testing utility.
You are welcome to use this class for your own purposes,
but if there is some feature/enhancement you need for your own usage,
please make and modify your own copy instead of sending us an enhancement request. - ScriptRunner(Connection) - Constructor for class io.github.zero88.jooqx.ScriptRunner
- setAutoCommit(boolean) - Method in class io.github.zero88.jooqx.ScriptRunner
- setDatabase(String) - Method in class io.github.zero88.jooqx.SQLConnectionOption
- setDelimiter(String) - Method in class io.github.zero88.jooqx.ScriptRunner
- setDriverClassName(String) - Method in class io.github.zero88.jooqx.SQLConnectionOption
- setErrorLogWriter(PrintWriter) - Method in class io.github.zero88.jooqx.ScriptRunner
- setEscapeProcessing(boolean) - Method in class io.github.zero88.jooqx.ScriptRunner
-
Sets the escape processing.
- setFullLineDelimiter(boolean) - Method in class io.github.zero88.jooqx.ScriptRunner
- setHost(String) - Method in class io.github.zero88.jooqx.SQLConnectionOption
- setJdbcUrl(String) - Method in class io.github.zero88.jooqx.SQLConnectionOption
- setLogWriter(PrintWriter) - Method in class io.github.zero88.jooqx.ScriptRunner
- setPassword(String) - Method in class io.github.zero88.jooqx.SQLConnectionOption
- setPort(int) - Method in class io.github.zero88.jooqx.SQLConnectionOption
- setRemoveCRs(boolean) - Method in class io.github.zero88.jooqx.ScriptRunner
- setSendFullScript(boolean) - Method in class io.github.zero88.jooqx.ScriptRunner
- setStopOnError(boolean) - Method in class io.github.zero88.jooqx.ScriptRunner
- setThrowWarning(boolean) - Method in class io.github.zero88.jooqx.ScriptRunner
- setup() - Static method in class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
- setUser(String) - Method in class io.github.zero88.jooqx.SQLConnectionOption
- SQLConnectionOption - Class in io.github.zero88.jooqx
-
Simple SQL connection option for test
- SQLConnectionOption() - Constructor for class io.github.zero88.jooqx.SQLConnectionOption
- SQLConnectionOption(JsonObject) - Constructor for class io.github.zero88.jooqx.SQLConnectionOption
- SQLConnectionOptionConverter - Class in io.github.zero88.jooqx
-
Converter and mapper for
SQLConnectionOption
. - SQLConnectionOptionConverter() - Constructor for class io.github.zero88.jooqx.SQLConnectionOptionConverter
- SQLTest<S,
B, PQ extends io.github.zero88.jooqx.SQLPreparedQuery<B>, RC extends io.github.zero88.jooqx.SQLResultCollector, E extends io.github.zero88.jooqx.SQLExecutor<S, B, PQ, RC>, DB, DBP extends io.github.zero88.jooqx.provider.DBProvider<DB>> - Interface in io.github.zero88.jooqx -
SQL test interface
- SQLTest.JooqxTest<S extends io.vertx.sqlclient.SqlClient,
K, D extends io.github.zero88.jooqx.provider.DBProvider<K>> - Interface in io.github.zero88.jooqx - SQLTest.LegacySQLTest<K,
D extends io.github.zero88.jooqx.provider.DBProvider<K>, P extends io.vertx.ext.jdbc.spi.DataSourceProvider> - Interface in io.github.zero88.jooqx - SQLTestHelper - Interface in io.github.zero88.jooqx
T
- tearDown(Vertx, VertxTestContext) - Method in class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
- tearUp(Vertx, VertxTestContext) - Method in class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
- TIMEOUT_IN_SECOND - Static variable in class io.github.zero88.jooqx.spi.pg.PgSQLLegacyTest
- toJson() - Method in class io.github.zero88.jooqx.SQLConnectionOption
- toJson(SQLConnectionOption, JsonObject) - Static method in class io.github.zero88.jooqx.SQLConnectionOptionConverter
- toJson(SQLConnectionOption, Map<String, Object>) - Static method in class io.github.zero88.jooqx.SQLConnectionOptionConverter
All Classes and Interfaces|All Packages