Package io.github.zero88.jooqx
Interface JooqxBuilder
- All Superinterfaces:
JooqDSLProvider
,SQLExecutorBuilder<io.vertx.sqlclient.Pool,
io.vertx.sqlclient.Tuple, JooqxPreparedQuery, JooqxResultCollector, JooqxBuilder>
public interface JooqxBuilder
extends SQLExecutorBuilder<io.vertx.sqlclient.Pool,io.vertx.sqlclient.Tuple,JooqxPreparedQuery,JooqxResultCollector,JooqxBuilder>
Represents a builder that constructs
Jooqx
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescription@NotNull Jooqx
build()
@NotNull org.jooq.DSLContext
dsl()
Defines jOOQDSL Context
@NotNull JooqxBuilder
setDSL
(org.jooq.DSLContext dsl) Set DSL context@NotNull JooqxBuilder
setErrorConverter
(SQLErrorConverter errorConverter) Set Error Converter@NotNull JooqxBuilder
setPreparedQuery
(JooqxPreparedQuery preparedQuery) Set Prepare Query@NotNull JooqxBuilder
setResultCollector
(JooqxResultCollector resultCollector) Set Result Collector@NotNull JooqxBuilder
setSqlClient
(io.vertx.sqlclient.Pool sqlClient) Set SQL client@NotNull JooqxBuilder
setTypeMapperRegistry
(DataTypeMapperRegistry typeMapperRegistry) Set Type Mapper Registry@NotNull JooqxBuilder
setVertx
(io.vertx.core.Vertx vertx) Set vertx@NotNull io.vertx.sqlclient.Pool
@NotNull io.vertx.core.Vertx
vertx()
-
Method Details
-
vertx
@NotNull @NotNull io.vertx.core.Vertx vertx() -
setVertx
Description copied from interface:SQLExecutorBuilder
Set vertx- Specified by:
setVertx
in interfaceSQLExecutorBuilder<io.vertx.sqlclient.Pool,
io.vertx.sqlclient.Tuple, JooqxPreparedQuery, JooqxResultCollector, JooqxBuilder> - Parameters:
vertx
- vertx- Returns:
- a reference to this for fluent API
- See Also:
-
Vertx
-
dsl
@NotNull @NotNull org.jooq.DSLContext dsl()Description copied from interface:JooqDSLProvider
Defines jOOQDSL Context
- Specified by:
dsl
in interfaceJooqDSLProvider
- Returns:
- the DSL context
- See Also:
-
DSLContext
-
setDSL
Description copied from interface:SQLExecutorBuilder
Set DSL context- Specified by:
setDSL
in interfaceSQLExecutorBuilder<io.vertx.sqlclient.Pool,
io.vertx.sqlclient.Tuple, JooqxPreparedQuery, JooqxResultCollector, JooqxBuilder> - Parameters:
dsl
- dsl context- Returns:
- a reference to this for fluent API
- See Also:
-
DSLContext
-
sqlClient
@NotNull @NotNull io.vertx.sqlclient.Pool sqlClient()- See Also:
-
Pool
-
setSqlClient
Description copied from interface:SQLExecutorBuilder
Set SQL client- Specified by:
setSqlClient
in interfaceSQLExecutorBuilder<io.vertx.sqlclient.Pool,
io.vertx.sqlclient.Tuple, JooqxPreparedQuery, JooqxResultCollector, JooqxBuilder> - Parameters:
sqlClient
- sql client- Returns:
- a reference to this for fluent API
- See Also:
-
Pool
-
preparedQuery
JooqxPreparedQuery preparedQuery()- See Also:
-
setPreparedQuery
Description copied from interface:SQLExecutorBuilder
Set Prepare Query- Specified by:
setPreparedQuery
in interfaceSQLExecutorBuilder<io.vertx.sqlclient.Pool,
io.vertx.sqlclient.Tuple, JooqxPreparedQuery, JooqxResultCollector, JooqxBuilder> - Parameters:
preparedQuery
- prepare query- Returns:
- a reference to this for fluent API
- See Also:
-
resultCollector
JooqxResultCollector resultCollector()- See Also:
-
setResultCollector
Description copied from interface:SQLExecutorBuilder
Set Result Collector- Specified by:
setResultCollector
in interfaceSQLExecutorBuilder<io.vertx.sqlclient.Pool,
io.vertx.sqlclient.Tuple, JooqxPreparedQuery, JooqxResultCollector, JooqxBuilder> - Parameters:
resultCollector
- a result collector- Returns:
- a reference to this for fluent API
- See Also:
-
errorConverter
SQLErrorConverter errorConverter() -
setErrorConverter
Description copied from interface:SQLExecutorBuilder
Set Error Converter- Specified by:
setErrorConverter
in interfaceSQLExecutorBuilder<io.vertx.sqlclient.Pool,
io.vertx.sqlclient.Tuple, JooqxPreparedQuery, JooqxResultCollector, JooqxBuilder> - Parameters:
errorConverter
- an error converter- Returns:
- a reference to this for fluent API
- See Also:
-
typeMapperRegistry
DataTypeMapperRegistry typeMapperRegistry() -
setTypeMapperRegistry
Description copied from interface:SQLExecutorBuilder
Set Type Mapper Registry- Specified by:
setTypeMapperRegistry
in interfaceSQLExecutorBuilder<io.vertx.sqlclient.Pool,
io.vertx.sqlclient.Tuple, JooqxPreparedQuery, JooqxResultCollector, JooqxBuilder> - Parameters:
typeMapperRegistry
- a type mapper registry- Returns:
- a reference to this for fluent API
- See Also:
-
build
- Specified by:
build
in interfaceSQLExecutorBuilder<io.vertx.sqlclient.Pool,
io.vertx.sqlclient.Tuple, JooqxPreparedQuery, JooqxResultCollector, JooqxBuilder> - Returns:
- a new
Jooqx
instance
-