Class Expr

    • Constructor Detail

      • Expr

        public Expr()
    • Method Detail

      • getCSQL

        public final String getCSQL()
        Returns a Celesta-SQL view of the expression.
        Returns:
      • getSQL

        public final String getSQL​(QueryBuildingHelper dba)
        Returns an SQL view of the expression in dialect of current DB.
        Parameters:
        dba - DB adapter.
        Returns:
      • getMeta

        public abstract ViewColumnMeta<?> getMeta()
        Returns the expression type.
        Returns:
      • resolveFieldRefs

        public final void resolveFieldRefs​(GrainElement ge)
                                    throws ParseException
        Resolves references to the fields of tables using the context of current object of the score.
        Parameters:
        ge - table or view
        Throws:
        ParseException - in case if a reference can't be resolved