Class AbstractView

    • Method Detail

      • selectScript

        public void selectScript​(PrintWriter bw,
                                 SQLGenerator gen)
        Writes SELECT script to the stream.
        Parameters:
        bw - output stream
        gen - SQL generator (visitor)
      • getColumns

        public abstract Map<String,​? extends ColumnMeta<?>> getColumns()
        Returns a map of columns of the view.
        Returns:
      • getColumnIndex

        public int getColumnIndex​(String name)
        Returns column index by column name.
        Parameters:
        name - column name.
      • getAggregateColumns

        public final Map<String,​Expr> getAggregateColumns()
      • getColumnRef

        public Column<?> getColumnRef​(String colName)
        Returns column reference by column name.
        Parameters:
        colName - Column name.
        Returns: