|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jooq.impl.Factory
org.jooq.util.cubrid.CUBRIDFactory
public class CUBRIDFactory
A SQLDialect.CUBRID specific factory
| Constructor Summary | |
|---|---|
CUBRIDFactory()
Create a connection-less factory Without a connection, this factory cannot execute queries. |
|
CUBRIDFactory(Connection connection)
Create a factory with connection |
|
CUBRIDFactory(Connection connection,
SchemaMapping mapping)
Deprecated. - 2.0.5 - Use CUBRIDFactory(Connection, Settings)
instead |
|
CUBRIDFactory(Connection connection,
Settings settings)
Create a factory with connection and a settings configured |
|
CUBRIDFactory(DataSource dataSource)
Create a factory with a data source |
|
CUBRIDFactory(DataSource dataSource,
Settings settings)
Create a factory with a data source and a settings configured |
|
CUBRIDFactory(Settings settings)
Create a factory with settings configured Without a connection, this factory cannot execute queries. |
|
| Method Summary | ||
|---|---|---|
static
|
incr(Field<T> field)
Use the CUBRID-specific INCR() function. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public CUBRIDFactory(Connection connection,
SchemaMapping mapping)
CUBRIDFactory(Connection, Settings)
instead
connection - The connection to use with objects created from this
factorymapping - The schema mapping to use with objects created from this
factory
public CUBRIDFactory(Connection connection,
Settings settings)
connection - The connection to use with objects created from this
factorysettings - The runtime settings to apply to objects created from
this factory
public CUBRIDFactory(DataSource dataSource,
Settings settings)
dataSource - The data source to use with objects created from this
factorysettings - The runtime settings to apply to objects created from
this factorypublic CUBRIDFactory(Connection connection)
connection - The connection to use with objects created from this
factorypublic CUBRIDFactory(DataSource dataSource)
dataSource - The data source to use with objects created from this
factorypublic CUBRIDFactory(Settings settings)
Without a connection, this factory cannot execute queries. Use it to render SQL only.
settings - The runtime settings to apply to objects created from
this factorypublic CUBRIDFactory()
Without a connection, this factory cannot execute queries. Use it to render SQL only.
| Method Detail |
|---|
public static <T> Field<T> incr(Field<T> field)
INCR() function.
This function can be used to increment a field value in a
SELECT statement as such:
SELECT article, INCR(read_count)
FROM article_table
WHERE article_id = 130,987
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||