类 SelectClause

    • 字段详细资料

      • VERSION2_SQL

        public static boolean VERSION2_SQL
    • 构造器详细资料

      • SelectClause

        public SelectClause()
    • 方法详细资料

      • isScalarSelect

        public boolean isScalarSelect()
        Does this SelectClause represent a scalar query
        返回:
        True if this is a scalar select clause; false otherwise.
      • isDistinct

        public boolean isDistinct()
      • getFromElementsForLoad

        public List getFromElementsForLoad()
        FromElements which need to be accounted for in the load phase (either for return or for fetch).
        返回:
        List of appropriate FromElements.
      • getQueryReturnTypes

        public Type[] getQueryReturnTypes()
        The types actually being returned from this query at the "object level".
        返回:
        The query return types.
      • getQueryReturnAliases

        public String[] getQueryReturnAliases()
        The HQL aliases, or generated aliases
        返回:
        the aliases
      • getColumnNames

        public String[][] getColumnNames()
        The column alias names being used in the generated SQL.
        返回:
        The SQL column aliases.
      • initializeExplicitSelectClause

        public void initializeExplicitSelectClause​(FromClause fromClause)
                                            throws antlr.SemanticException
        Prepares an explicitly defined select clause.
        参数:
        fromClause - The from clause linked to this select clause.
        抛出:
        antlr.SemanticException - indicates a semantic issue with the explicit select clause.
      • getColumnNamesStartPosition

        public int getColumnNamesStartPosition​(int i)
      • initializeDerivedSelectClause

        public void initializeDerivedSelectClause​(FromClause fromClause)
                                           throws antlr.SemanticException
        Prepares a derived (i.e., not explicitly defined in the query) select clause.
        参数:
        fromClause - The from clause to which this select clause is linked.
        抛出:
        antlr.SemanticException
      • getFirstSelectExpression

        protected antlr.collections.AST getFirstSelectExpression()
        从类复制的说明: SelectExpressionList
        Returns the first select expression node that should be considered when building the array of select expressions.
        指定者:
        getFirstSelectExpression 在类中 SelectExpressionList
        返回:
        the first select expression node that should be considered when building the array of select expressions
      • getCollectionFromElements

        public List getCollectionFromElements()