类 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>

public class UntypedJoinDisabledTableProxy<E> extends Object implements TableProxy<E>
  • 构造器详细资料

    • UntypedJoinDisabledTableProxy

      public UntypedJoinDisabledTableProxy(TableImplementor<E> table, String joinDisabledReason)
  • 方法详细资料

    • getImmutableType

      public org.babyfish.jimmer.meta.ImmutableType getImmutableType()
      指定者:
      getImmutableType 在接口中 Props
      指定者:
      getImmutableType 在接口中 TableTypeProvider
    • get

      public <X> PropExpression<X> get(String prop)
      指定者:
      get 在接口中 Props
    • get

      public <X> PropExpression<X> get(org.babyfish.jimmer.meta.ImmutableProp prop)
      指定者:
      get 在接口中 Props
    • getId

      public <X> PropExpression<X> getId()
      指定者:
      getId 在接口中 Props
    • getAssociatedId

      public <X> PropExpression<X> getAssociatedId(org.babyfish.jimmer.meta.ImmutableProp prop)
      指定者:
      getAssociatedId 在接口中 Props
    • getAssociatedId

      public <X> PropExpression<X> getAssociatedId(String prop)
      指定者:
      getAssociatedId 在接口中 Props
    • join

      public <XT extends Table<?>> XT join(String prop)
      指定者:
      join 在接口中 Props
    • join

      public <XT extends Table<?>> XT join(org.babyfish.jimmer.meta.ImmutableProp prop)
      指定者:
      join 在接口中 Props
    • join

      public <XT extends Table<?>> XT join(String prop, org.babyfish.jimmer.sql.JoinType joinType)
      指定者:
      join 在接口中 Props
    • join

      public <XT extends Table<?>> XT join(org.babyfish.jimmer.meta.ImmutableProp prop, org.babyfish.jimmer.sql.JoinType joinType)
      指定者:
      join 在接口中 Props
    • join

      public <XT extends Table<?>> XT join(String prop, org.babyfish.jimmer.sql.JoinType joinType, org.babyfish.jimmer.meta.ImmutableType treatedAs)
      指定者:
      join 在接口中 Props
    • 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)
      指定者:
      join 在接口中 Props
    • inverseGetAssociatedId

      public <X> PropExpression<X> inverseGetAssociatedId(org.babyfish.jimmer.meta.ImmutableProp prop)
      指定者:
      inverseGetAssociatedId 在接口中 Props
    • inverseJoin

      public <XT extends Table<?>> XT inverseJoin(org.babyfish.jimmer.meta.ImmutableProp prop)
      指定者:
      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

      public <XT extends Table<?>> Predicate exists(String prop, Function<XT,Predicate> block)
      指定者:
      exists 在接口中 Props
    • exists

      public <XT extends Table<?>> Predicate exists(org.babyfish.jimmer.meta.ImmutableProp prop, Function<XT,Predicate> block)
      指定者:
      exists 在接口中 Props
    • eq

      public Predicate eq(Table<E> other)
      从接口复制的说明: Table
      Shortcut for `this.id().eq(other.id())`
      指定者:
      eq 在接口中 Table<E>
    • eq

      public Predicate eq(Example<E> example)
      从接口复制的说明: Table
      QBE
      指定者:
      eq 在接口中 Table<E>
    • eq

      public Predicate eq(E example)
      从接口复制的说明: Table
      QBE
      指定者:
      eq 在接口中 Table<E>
    • eq

      public Predicate eq(org.babyfish.jimmer.View<E> view)
      从接口复制的说明: Table
      QBE
      指定者:
      eq 在接口中 Table<E>
    • isNull

      public Predicate isNull()
      指定者:
      isNull 在接口中 Table<E>
    • isNotNull

      public Predicate isNotNull()
      指定者:
      isNotNull 在接口中 Table<E>
    • count

      public NumericExpression<Long> count()
      指定者:
      count 在接口中 Table<E>
    • count

      public NumericExpression<Long> count(boolean distinct)
      指定者:
      count 在接口中 Table<E>
    • fetch

      public Selection<E> fetch(Fetcher<E> fetcher)
      指定者:
      fetch 在接口中 Table<E>
    • fetch

      public <V extends org.babyfish.jimmer.View<E>> Selection<V> fetch(Class<V> viewType)
      指定者:
      fetch 在接口中 Table<E>
    • asTableEx

      public TableEx<E> asTableEx()
      从接口复制的说明: Table

      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:

      
       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();
       
      指定者:
      asTableEx 在接口中 Table<E>
    • __parent

      public Table<?> __parent()
      指定者:
      __parent 在接口中 TableProxy<E>
    • __prop

      public org.babyfish.jimmer.meta.ImmutableProp __prop()
      指定者:
      __prop 在接口中 TableProxy<E>
    • __weakJoinHandle

      public WeakJoinHandle __weakJoinHandle()
      指定者:
      __weakJoinHandle 在接口中 TableProxy<E>
    • __isInverse

      public boolean __isInverse()
      指定者:
      __isInverse 在接口中 TableProxy<E>
    • __unwrap

      public TableImplementor<E> __unwrap()
      指定者:
      __unwrap 在接口中 TableProxy<E>
    • __resolve

      public TableImplementor<E> __resolve(RootTableResolver resolver)
      指定者:
      __resolve 在接口中 TableProxy<E>
    • __disableJoin

      public <P extends TableProxy<E>> P __disableJoin(String reason)
      指定者:
      __disableJoin 在接口中 TableProxy<E>
    • __joinType

      public org.babyfish.jimmer.sql.JoinType __joinType()
      指定者:
      __joinType 在接口中 TableProxy<E>
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object