类 FromElement

    • 字段详细资料

      • DISCRIMINATOR_PROPERTY_NAME

        public static final String DISCRIMINATOR_PROPERTY_NAME
        另请参阅:
        常量字段值
    • 构造器详细资料

      • FromElement

        public FromElement()
      • FromElement

        protected FromElement​(FromClause fromClause,
                              FromElement origin,
                              String alias)
        Constructor form used to initialize ComponentJoin
        参数:
        fromClause - The FROM clause to which this element belongs
        origin - The origin (LHS) of this element
        alias - The alias applied to this element
    • 方法详细资料

      • initializeComponentJoin

        protected void initializeComponentJoin​(org.hibernate.hql.internal.ast.tree.FromElementType elementType)
      • getCollectionSuffix

        public String getCollectionSuffix()
      • setCollectionSuffix

        public void setCollectionSuffix​(String suffix)
      • initializeCollection

        public void initializeCollection​(FromClause fromClause,
                                         String classAlias,
                                         String tableAlias)
      • getSelectType

        public Type getSelectType()
      • getQueryable

        public Queryable getQueryable()
      • getClassName

        public String getClassName()
      • getClassAlias

        public String getClassAlias()
      • getTableName

        public String getTableName()
      • getTableAlias

        public String getTableAlias()
      • renderMapKeyPropertySelectFragment

        public String renderMapKeyPropertySelectFragment​(int size,
                                                         int k)
      • renderMapEntryPropertySelectFragment

        public String renderMapEntryPropertySelectFragment​(int size,
                                                           int k)
      • getFromClause

        public FromClause getFromClause()
      • isImplied

        public boolean isImplied()
        Returns true if this FromElement was implied by a path, or false if this FROM element is explicitly declared in the FROM clause.
        返回:
        true if this FromElement was implied by a path, or false if this FROM element is explicitly declared
      • getDisplayText

        public String getDisplayText()
        Returns additional display text for the AST node.
        指定者:
        getDisplayText 在接口中 DisplayableNode
        返回:
        String - The additional display text.
      • appendDisplayText

        protected void appendDisplayText​(StringBuilder buf)
      • hashCode

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

        public void setJoinSequence​(JoinSequence joinSequence)
      • setIncludeSubclasses

        public void setIncludeSubclasses​(boolean includeSubclasses)
      • isIncludeSubclasses

        public boolean isIncludeSubclasses()
      • isDereferencedBySuperclassOrSubclassProperty

        public boolean isDereferencedBySuperclassOrSubclassProperty()
      • getIdentityColumn

        public String getIdentityColumn()
      • getIdentityColumns

        public String[] getIdentityColumns()
      • setCollectionJoin

        public void setCollectionJoin​(boolean collectionJoin)
      • isCollectionJoin

        public boolean isCollectionJoin()
      • setRole

        public void setRole​(String role)
      • applyTreatAsDeclarations

        public void applyTreatAsDeclarations​(Set<String> treatAsDeclarationsByPath)
      • getRole

        public String getRole()
      • setQueryableCollection

        public void setQueryableCollection​(QueryableCollection queryableCollection)
      • setColumns

        public void setColumns​(String[] columns)
      • setOrigin

        public void setOrigin​(FromElement origin,
                              boolean manyToMany)
      • isManyToMany

        public boolean isManyToMany()
      • getPropertyType

        public Type getPropertyType​(String propertyName,
                                    String propertyPath)
      • getPropertyTableName

        public String getPropertyTableName​(String propertyName)
      • toColumns

        public String[] toColumns​(String tableAlias,
                                  String path,
                                  boolean inSelect)
      • toColumns

        public String[] toColumns​(String tableAlias,
                                  String path,
                                  boolean inSelect,
                                  boolean forceAlias)
      • getIdentifierPropertyNames

        public String[] getIdentifierPropertyNames()
      • setFetch

        public void setFetch​(boolean fetch)
      • isFetch

        public boolean isFetch()
      • getSequence

        public int getSequence()
      • setFilter

        public void setFilter​(boolean b)
      • isFilter

        public boolean isFilter()
      • useFromFragment

        public boolean useFromFragment()
      • setUseFromFragment

        public void setUseFromFragment​(boolean useFromFragment)
      • useWhereFragment

        public boolean useWhereFragment()
      • setUseWhereFragment

        public void setUseWhereFragment​(boolean b)
      • setCollectionTableAlias

        public void setCollectionTableAlias​(String collectionTableAlias)
      • getCollectionTableAlias

        public String getCollectionTableAlias()
      • isCollectionOfValuesOrComponents

        public boolean isCollectionOfValuesOrComponents()
      • isEntity

        public boolean isEntity()
      • setImpliedInFromClause

        public void setImpliedInFromClause​(boolean flag)
      • isImpliedInFromClause

        public boolean isImpliedInFromClause()
      • setInProjectionList

        public void setInProjectionList​(boolean inProjectionList)
      • inProjectionList

        public boolean inProjectionList()
      • isFromOrJoinFragment

        public boolean isFromOrJoinFragment()
      • isAllPropertyFetch

        public boolean isAllPropertyFetch()
      • setAllPropertyFetch

        public void setAllPropertyFetch​(boolean fetch)
      • getWithClauseAst

        public antlr.collections.AST getWithClauseAst()
      • getWithClauseFragment

        public String getWithClauseFragment()
      • setWithClauseFragment

        public void setWithClauseFragment​(antlr.collections.AST ast,
                                          String withClauseFragment)
      • handlePropertyBeingDereferenced

        public void handlePropertyBeingDereferenced​(Type propertySource,
                                                    String propertyName)
      • isDereferencedBySuperclassProperty

        public boolean isDereferencedBySuperclassProperty()
      • isDereferencedBySubclassProperty

        public boolean isDereferencedBySubclassProperty()
      • addEmbeddedParameter

        public void addEmbeddedParameter​(ParameterSpecification specification)
        从接口复制的说明: ParameterContainer
        Adds a parameter specification for a parameter encountered within this node. We use the term 'embedded' here because of the fact that the parameter was simply encountered as part of the node's text; it does not exist as part of a subtree as it might in a true AST.
        指定者:
        addEmbeddedParameter 在接口中 ParameterContainer
        参数:
        specification - The generated specification.
      • setIndexCollectionSelectorParamSpec

        public void setIndexCollectionSelectorParamSpec​(ParameterSpecification indexCollectionSelectorParamSpec)