public class SQLRelationalPath<T extends DBObject> extends com.querydsl.sql.RelationalPathBase<T> implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected Class<T> |
clz |
protected Map<DBField,com.querydsl.core.types.Expression<?>> |
map
字段列,值为SimpleExpression
|
protected Map<ColumnMapping,com.querydsl.sql.types.Type<?>> |
typeMap |
| Modifier | Constructor and Description |
|---|---|
|
SQLRelationalPath(Class<? extends DBObject> type) |
protected |
SQLRelationalPath(Class<? extends T> type,
com.querydsl.core.types.PathMetadata metadata,
String schema,
String table) |
protected |
SQLRelationalPath(Class<? extends T> type,
String variable,
String schema,
String table) |
protected |
SQLRelationalPath(DBContext context,
Class<? extends DBObject> type,
String variable) |
|
SQLRelationalPath(DBContext context,
TableMapping tm) |
protected |
SQLRelationalPath(DBContext context,
TableMapping tm,
String variable) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMetadata(Class<? extends T> type) |
protected void |
addMetadata(ColumnMapping cm,
com.querydsl.core.types.Path<?> path) |
<A,E> com.querydsl.core.types.dsl.ArrayPath<A,E> |
array(DBField field) |
com.querydsl.core.types.dsl.BooleanPath |
bool(DBField field) |
com.querydsl.core.types.dsl.BooleanPath |
booleanNew(DBField field)
新创建
|
<T extends DBObject> |
cloneNew()
克隆一个新的原始对象.
|
<T extends DBObject> |
cloneNew(DBContext context,
String variable) |
protected <T> T |
column(DBField field,
Class<T> clz) |
<T extends Comparable> |
comparable(DBField field) |
protected void |
createPrimaryKey(TableMapping tm) |
<T extends Comparable> |
date(DBField field) |
<T extends Comparable> |
dateTime(DBField field) |
<T extends Enum<T>> |
enums(DBField field) |
<P> com.querydsl.core.types.Expression<P> |
expression(DBField field) |
protected com.querydsl.core.types.Expression<?> |
getBeanMappingType(ColumnMapping cm) |
Class<T> |
getClz() |
Map<DBField,com.querydsl.core.types.Expression<?>> |
getMap() |
Map<ColumnMapping,com.querydsl.sql.types.Type<?>> |
getUnmodifiableTypeMap() |
<T extends Number & Comparable<?>> |
number(DBField field)
抹去泛型类型
|
<T extends Number & Comparable<?>> |
numberNew(DBField field,
Class<T> tClass)
新创建
|
<P> com.querydsl.core.types.Path<P> |
path(DBField field) |
protected void |
setClz(Class<T> clz) |
<T> com.querydsl.core.types.dsl.SimplePath<T> |
simple(DBField field) |
com.querydsl.core.types.dsl.StringPath |
string(DBField field) |
com.querydsl.core.types.dsl.StringPath |
stringNew(DBField field)
新创建
|
<T extends Comparable> |
time(DBField field) |
add, addMetadata, all, count, countDistinct, createForeignKey, createForeignKey, createInvForeignKey, createInvForeignKey, createPrimaryKey, eq, eq, getColumns, getForeignKeys, getInverseForeignKeys, getMetadata, getPrimaryKey, getProjection, getSchemaAndTable, getSchemaName, getTableName, ne, neaccept, as, createArray, createBoolean, createCollection, createComparable, createDate, createDateTime, createEnum, createList, createMap, createNumber, createSet, createSimple, createString, createTime, forProperty, getAnnotatedElement, getMetadata, getRoot, instanceOf, instanceOfAnyas, as, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, neAll, neAny, notIn, notIn, notIn, notIn, notIn, nullif, nullif, when, whenequals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected final Map<ColumnMapping,com.querydsl.sql.types.Type<?>> typeMap
protected SQLRelationalPath(DBContext context, Class<? extends DBObject> type, String variable)
public SQLRelationalPath(DBContext context, TableMapping tm)
protected SQLRelationalPath(DBContext context, TableMapping tm, String variable)
protected SQLRelationalPath(Class<? extends T> type, String variable, String schema, String table)
protected void createPrimaryKey(TableMapping tm)
protected void addMetadata(ColumnMapping cm, com.querydsl.core.types.Path<?> path)
public <P> com.querydsl.core.types.Path<P> path(DBField field)
P - field - public <P> com.querydsl.core.types.Expression<P> expression(DBField field)
public com.querydsl.core.types.dsl.BooleanPath bool(DBField field)
public com.querydsl.core.types.dsl.StringPath string(DBField field)
public <T extends Number & Comparable<?>> com.querydsl.core.types.dsl.NumberPath<T> number(DBField field)
field - public <T> com.querydsl.core.types.dsl.SimplePath<T> simple(DBField field)
public <A,E> com.querydsl.core.types.dsl.ArrayPath<A,E> array(DBField field)
public <T extends Comparable> com.querydsl.core.types.dsl.ComparablePath<T> comparable(DBField field)
public <T extends Comparable> com.querydsl.core.types.dsl.DatePath<T> date(DBField field)
public <T extends Comparable> com.querydsl.core.types.dsl.DateTimePath<T> dateTime(DBField field)
public <T extends Comparable> com.querydsl.core.types.dsl.TimePath<T> time(DBField field)
protected com.querydsl.core.types.Expression<?> getBeanMappingType(ColumnMapping cm)
public com.querydsl.core.types.dsl.StringPath stringNew(DBField field)
field - public <T extends Number & Comparable<?>> com.querydsl.core.types.dsl.NumberPath<T> numberNew(DBField field, Class<T> tClass)
T - field - tClass - public com.querydsl.core.types.dsl.BooleanPath booleanNew(DBField field)
field - public Map<ColumnMapping,com.querydsl.sql.types.Type<?>> getUnmodifiableTypeMap()
public <T extends DBObject> SQLRelationalPath<T> cloneNew()
T - public <T extends DBObject> SQLRelationalPath<T> cloneNew(DBContext context, String variable)
Copyright © 2020. All rights reserved.