| java.lang.Object com.flexive.sqlParser.Value com.flexive.sqlParser.Constant com.flexive.sqlParser.OrderByValue
OrderByValue | public class OrderByValue extends Constant (Code) | | OrderBy
author: Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
OrderByValue | public OrderByValue(String value, boolean ascending) throws SqlParserException(Code) | | Constructor.
Parameters: ascending - true if ascending, false if descending Parameters: value - the value throws: SqlParserException - if a error occured |
getColumnIndex | public int getColumnIndex()(Code) | | The position of the column to sort in the selected values list, 0 based.
The position of the column to sort in the selected values list |
getSelectedValue | public SelectedValue getSelectedValue()(Code) | | Returns the selected value belonging to this order by.
the selected value belonging to this order by |
isAscending | public boolean isAscending()(Code) | | Returns the sort order for this element (ascending or descending)
true if ascending, false if descending |
setSelectedValue | protected void setSelectedValue(SelectedValue val, int columnIndex)(Code) | | Internal setter for the selected value belonging to this order by.
Parameters: val - the selected value Parameters: columnIndex - the index of the column to sort |
|
|