类 UntypedJoinDisabledTableProxy<E>
java.lang.Object
org.babyfish.jimmer.sql.ast.table.spi.UntypedJoinDisabledTableProxy<E>
- 所有已实现的接口:
org.babyfish.jimmer.meta.spi.TableDelegate<E>,TableTypeProvider,Selection<E>,Props,TableProxy<E>,Table<E>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<P extends TableProxy<E>>
P__disableJoin(String reason) booleanorg.babyfish.jimmer.sql.JoinTypeTable<?> __parent()org.babyfish.jimmer.meta.ImmutableProp__prop()__resolve(RootTableResolver resolver) __unwrap()If you must convert table types using the "asTableEx()" function to find corresponding properties in IDE's intelligent suggestions, it likely indicates you are performing table join operations on collection-associated properties, for example:count()count(boolean distinct) QBEQBEShortcut for `this.id().eq(other.id())`QBEboolean<X> PropExpression<X> <X> PropExpression<X> get(org.babyfish.jimmer.meta.ImmutableProp prop) <X> PropExpression<X> getAssociatedId(String prop) <X> PropExpression<X> getAssociatedId(org.babyfish.jimmer.meta.ImmutableProp prop) <X> PropExpression<X> getId()org.babyfish.jimmer.meta.ImmutableTypeinthashCode()<X> PropExpression<X> inverseGetAssociatedId(org.babyfish.jimmer.meta.ImmutableProp prop) <XT extends Table<?>>
XTinverseJoin(Class<XT> targetTableType, Function<XT, ? extends Table<?>> backPropBlock) <XT extends Table<?>>
XTinverseJoin(Class<XT> targetTableType, Function<XT, ? extends Table<?>> backPropBlock, org.babyfish.jimmer.sql.JoinType joinType) <XT extends Table<?>>
XTinverseJoin(org.babyfish.jimmer.meta.ImmutableProp prop) <XT extends Table<?>>
XTinverseJoin(org.babyfish.jimmer.meta.ImmutableProp prop, org.babyfish.jimmer.sql.JoinType joinType) <XT extends Table<?>>
XTinverseJoin(org.babyfish.jimmer.meta.TypedProp.Association<?, ?> prop) <XT extends Table<?>>
XTinverseJoin(org.babyfish.jimmer.meta.TypedProp.Association<?, ?> prop, org.babyfish.jimmer.sql.JoinType joinType) isNull()<XT extends Table<?>>
XT<XT extends Table<?>>
XT<XT extends Table<?>>
XTjoin(String prop, org.babyfish.jimmer.sql.JoinType joinType, org.babyfish.jimmer.meta.ImmutableType treatedAs) <XT extends Table<?>>
XTjoin(org.babyfish.jimmer.meta.ImmutableProp prop) <XT extends Table<?>>
XTjoin(org.babyfish.jimmer.meta.ImmutableProp prop, org.babyfish.jimmer.sql.JoinType joinType) <XT extends Table<?>>
XTjoin(org.babyfish.jimmer.meta.ImmutableProp prop, org.babyfish.jimmer.sql.JoinType joinType, org.babyfish.jimmer.meta.ImmutableType treatedAs)
-
构造器详细资料
-
UntypedJoinDisabledTableProxy
-
-
方法详细资料
-
getImmutableType
public org.babyfish.jimmer.meta.ImmutableType getImmutableType()- 指定者:
getImmutableType在接口中Props- 指定者:
getImmutableType在接口中TableTypeProvider
-
get
-
get
-
getId
-
getAssociatedId
- 指定者:
getAssociatedId在接口中Props
-
getAssociatedId
- 指定者:
getAssociatedId在接口中Props
-
join
-
join
-
join
-
join
public <XT extends Table<?>> XT join(org.babyfish.jimmer.meta.ImmutableProp prop, org.babyfish.jimmer.sql.JoinType joinType) -
join
-
join
public <XT extends Table<?>> XT join(org.babyfish.jimmer.meta.ImmutableProp prop, org.babyfish.jimmer.sql.JoinType joinType, org.babyfish.jimmer.meta.ImmutableType treatedAs) -
inverseGetAssociatedId
- 指定者:
inverseGetAssociatedId在接口中Props
-
inverseJoin
- 指定者:
inverseJoin在接口中Props
-
inverseJoin
public <XT extends Table<?>> XT inverseJoin(org.babyfish.jimmer.meta.ImmutableProp prop, org.babyfish.jimmer.sql.JoinType joinType) - 指定者:
inverseJoin在接口中Props
-
inverseJoin
public <XT extends Table<?>> XT inverseJoin(org.babyfish.jimmer.meta.TypedProp.Association<?, ?> prop) - 指定者:
inverseJoin在接口中Props
-
inverseJoin
public <XT extends Table<?>> XT inverseJoin(org.babyfish.jimmer.meta.TypedProp.Association<?, ?> prop, org.babyfish.jimmer.sql.JoinType joinType) - 指定者:
inverseJoin在接口中Props
-
inverseJoin
public <XT extends Table<?>> XT inverseJoin(Class<XT> targetTableType, Function<XT, ? extends Table<?>> backPropBlock) - 指定者:
inverseJoin在接口中Props
-
inverseJoin
public <XT extends Table<?>> XT inverseJoin(Class<XT> targetTableType, Function<XT, ? extends Table<?>> backPropBlock, org.babyfish.jimmer.sql.JoinType joinType) - 指定者:
inverseJoin在接口中Props
-
exists
-
exists
-
eq
从接口复制的说明:TableShortcut for `this.id().eq(other.id())` -
eq
从接口复制的说明:TableQBE -
eq
从接口复制的说明:TableQBE -
eq
从接口复制的说明:TableQBE -
isNull
-
isNotNull
-
count
-
count
-
fetch
-
fetch
-
asTableEx
从接口复制的说明:TableIf you must convert table types using the "asTableEx()" function to find corresponding properties in IDE's intelligent suggestions, it likely indicates you are performing table join operations on collection-associated properties, for example:
BookTable table = BookTable.$; sql .create(table) // Table join based on collection association `Book.authors` .where(table.asTableEx().authors().firstName().eq("Alex")) select(table) .execute();This usage will lead to data duplication, and whether using SQL-level or application-level approaches, you'll need to handle data distinction yourself. More importantly, this duplication will invalidate the pagination mechanism.
In fact, this usage is not recommended, and the purpose of "asTableEx()" is to remind you that you're using a feature that might cause problems. In most cases, sub-queries, especially implicit sub-queries, are more recommended. For example:
BookTable table = BookTable.$; sql.createQuery(table) .where( table.authors(author -> author.firstName().eq("Alex") ) ) .select(table) .execute(); -
__parent
- 指定者:
__parent在接口中TableProxy<E>
-
__prop
public org.babyfish.jimmer.meta.ImmutableProp __prop()- 指定者:
__prop在接口中TableProxy<E>
-
__weakJoinHandle
- 指定者:
__weakJoinHandle在接口中TableProxy<E>
-
__isInverse
public boolean __isInverse()- 指定者:
__isInverse在接口中TableProxy<E>
-
__unwrap
- 指定者:
__unwrap在接口中TableProxy<E>
-
__resolve
- 指定者:
__resolve在接口中TableProxy<E>
-
__disableJoin
- 指定者:
__disableJoin在接口中TableProxy<E>
-
__joinType
public org.babyfish.jimmer.sql.JoinType __joinType()- 指定者:
__joinType在接口中TableProxy<E>
-
hashCode
public int hashCode() -
equals
-