public class JooqVisitor extends Object
| Modifier and Type | Field and Description |
|---|---|
static Field |
limit_SelectImpl |
static Field |
offset_SelectImpl |
| Constructor and Description |
|---|
JooqVisitor() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCountSql(org.jooq.Configuration configuration,
org.jooq.Select<?> query)
获取查询总数
|
static org.jooq.impl.Fields<?> |
getFields(org.jooq.impl.TableImpl<?> impl) |
static Number |
getLimit(org.jooq.Select impl) |
static Number |
getOffset(org.jooq.Select impl) |
static List<? extends org.jooq.Table<?>> |
getSelectFromTableList(org.jooq.SelectQuery<?> query)
获取from的表数量
|
static void |
removeFields(org.jooq.impl.TableImpl<?> impl,
String... fields)
删除列
|
public static Field limit_SelectImpl
public static Field offset_SelectImpl
public static List<? extends org.jooq.Table<?>> getSelectFromTableList(org.jooq.SelectQuery<?> query)
query - public static org.jooq.impl.Fields<?> getFields(org.jooq.impl.TableImpl<?> impl)
public static void removeFields(org.jooq.impl.TableImpl<?> impl,
String... fields)
impl - fields - public static String getCountSql(org.jooq.Configuration configuration, org.jooq.Select<?> query)
configuration - query - public static Number getLimit(org.jooq.Select impl)
public static Number getOffset(org.jooq.Select impl)
Copyright © 2020. All rights reserved.