- java.lang.Object
-
- org.redkale.source.FilterNode
-
- org.redkale.source.FilterJoinNode
-
public class FilterJoinNode extends FilterNode
@FilterJoinColumn对应的FilterNode对象详情见: https://redkale.org
- 作者:
- zhangjx
-
-
构造器概要
构造器 限定符 构造器 说明 FilterJoinNode()protectedFilterJoinNode(FilterJoinNode node)protectedFilterJoinNode(FilterJoinType joinType, Class joinClass, String[] joinColumns, String column, FilterExpress express, Serializable value)
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 protected FilterNodeany(FilterNode node0, boolean isOr)FilterJoinNodecopy()static FilterJoinNodecreate(Class joinClass, String[] joinColumns, String column, Serializable value)已过时。static FilterJoinNodecreate(Class joinClass, String[] joinColumns, String column, FilterExpress express, Serializable value)已过时。static FilterJoinNodecreate(Class joinClass, String joinColumn, String column, Serializable value)已过时。static FilterJoinNodecreate(Class joinClass, String joinColumn, String column, FilterExpress express, Serializable value)已过时。protected <T,E>
Predicate<T>createPredicate(EntityCache<T> cache)protected <T> CharSequencecreateSQLExpress(AbstractDataSqlSource source, EntityInfo<T> info, Map<Class,String> joinTabalis)该方法需要重载protected <T> CharSequencecreateSQLJoin(Function<Class,EntityInfo> func, boolean update, Map<Class,String> joinTabalis, Set<String> haset, EntityInfo<T> info)该方法需要重载ClassgetJoinClass()String[]getJoinColumns()FilterJoinTypegetJoinType()protected booleanisCacheUseable(Function<Class,EntityInfo> entityApplyer)该方法需要重载protected booleanisjoin()该方法需要重载protected voidputJoinTabalis(Map<Class,String> map)voidsetJoinClass(Class joinClass)voidsetJoinColumns(String[] joinColumns)StringtoString()-
从类继承的方法 org.redkale.source.FilterNode
and, and, and, and, and, and, and, asReadOnly, between, between, between, contain, contain, contain, copy, create, create, create, create, create, create, createElementPredicate, createElementPredicate, createElementPredicate, createElementSQLExpress, ends, ends, ends, eq, eq, eq, filter, filter, findIntValue, findLongValue, findStringValue, findValue, fvdiv, fvdiv, fvdiv, fvmode, fvmode, fvmode, ge, ge, ge, getColumn, getExpress, getJoinTabalis, getNodes, getValue, gt, gt, gt, igContain, igContain, igContain, igEq, igEq, igEq, igLike, igLike, igLike, igNotContain, igNotContain, igNotContain, igNotEq, igNotEq, igNotEq, igNotLike, igNotLike, igNotLike, in, in, in, in, in, isEmpty, isEmpty, isEmpty, isNull, isNull, isNull, isOr, isReadOnly, le, le, le, lenEq, lenEq, lenEq, lenGe, lenGe, lenGe, lenGt, lenGt, lenGt, lenLe, lenLe, lenLe, lenLt, lenLt, lenLt, like, like, like, lt, lt, lt, notBetween, notBetween, notBetween, notContain, notContain, notContain, notEmpty, notEmpty, notEmpty, notEnds, notEnds, notEnds, notEq, notEq, notEq, notIn, notIn, notIn, notIn, notIn, notLike, notLike, notLike, notNull, notNull, notNull, notOpand, notOpand, notOpand, notStarts, notStarts, notStarts, opand, opand, opand, opor, opor, opor, or, or, or, or, or, or, or, readOnly, setColumn, setExpress, setNodes, setOr, setReadOnly, setValue, starts, starts, starts, toElementString, toElementString, toString
-
-
-
-
构造器详细资料
-
FilterJoinNode
public FilterJoinNode()
-
FilterJoinNode
protected FilterJoinNode(FilterJoinType joinType, Class joinClass, String[] joinColumns, String column, FilterExpress express, Serializable value)
-
FilterJoinNode
protected FilterJoinNode(FilterJoinNode node)
-
-
方法详细资料
-
create
@Deprecated(since="2.8.0") public static FilterJoinNode create(Class joinClass, String joinColumn, String column, Serializable value)
已过时。
-
create
@Deprecated(since="2.8.0") public static FilterJoinNode create(Class joinClass, String joinColumn, String column, FilterExpress express, Serializable value)
已过时。
-
create
@Deprecated(since="2.8.0") public static FilterJoinNode create(Class joinClass, String[] joinColumns, String column, Serializable value)
已过时。
-
create
@Deprecated(since="2.8.0") public static FilterJoinNode create(Class joinClass, String[] joinColumns, String column, FilterExpress express, Serializable value)
已过时。
-
copy
public FilterJoinNode copy()
- 覆盖:
copy在类中FilterNode
-
any
protected FilterNode any(FilterNode node0, boolean isOr)
- 覆盖:
any在类中FilterNode
-
createPredicate
protected <T,E> Predicate<T> createPredicate(EntityCache<T> cache)
- 覆盖:
createPredicate在类中FilterNode
-
createSQLExpress
protected <T> CharSequence createSQLExpress(AbstractDataSqlSource source, EntityInfo<T> info, Map<Class,String> joinTabalis)
从类复制的说明:FilterNode该方法需要重载- 覆盖:
createSQLExpress在类中FilterNode- 类型参数:
T- Entity类的泛型- 参数:
source- AbstractDataSqlSourceinfo- EntityInfojoinTabalis- 关联表的集合- 返回:
- JOIN的SQL语句
-
createSQLJoin
protected <T> CharSequence createSQLJoin(Function<Class,EntityInfo> func, boolean update, Map<Class,String> joinTabalis, Set<String> haset, EntityInfo<T> info)
从类复制的说明:FilterNode该方法需要重载- 覆盖:
createSQLJoin在类中FilterNode- 类型参数:
T- Entity类的泛型- 参数:
func- EntityInfo的加载器update- 是否用于更新的JOINjoinTabalis- 关联表集合haset- 已拼接过的字段名info- Entity类的EntityInfo- 返回:
- SQL的join语句 不存在返回null
-
isCacheUseable
protected boolean isCacheUseable(Function<Class,EntityInfo> entityApplyer)
从类复制的说明:FilterNode该方法需要重载- 覆盖:
isCacheUseable在类中FilterNode- 参数:
entityApplyer- EntityInfo的加载器- 返回:
- 是否可以使用缓存
-
putJoinTabalis
protected void putJoinTabalis(Map<Class,String> map)
- 覆盖:
putJoinTabalis在类中FilterNode
-
isjoin
protected final boolean isjoin()
从类复制的说明:FilterNode该方法需要重载- 覆盖:
isjoin在类中FilterNode- 返回:
- 是否存在关联表
-
toString
public String toString()
- 覆盖:
toString在类中FilterNode
-
getJoinType
public FilterJoinType getJoinType()
-
getJoinClass
public Class getJoinClass()
-
setJoinClass
public void setJoinClass(Class joinClass)
-
getJoinColumns
public String[] getJoinColumns()
-
setJoinColumns
public void setJoinColumns(String[] joinColumns)
-
-