net.sf.saffron.sql
Class SqlPostfixOperator
java.lang.Object
  |
  +--net.sf.saffron.sql.SqlOperator
        |
        +--net.sf.saffron.sql.SqlPostfixOperator
- public class SqlPostfixOperator
- extends SqlOperator
  
A postfix unary operator.
 
 
 
 
 
| 
Method Summary | 
 int | 
getSyntax()
 
          Returns the syntactic type of this operator, a value from SqlOperator.Syntax. | 
(package private)  void | 
unparse(SqlWriter writer,
        SqlNode[] operands,
        int leftPrec,
        int rightPrec)
 
          Writes a SQL representation of a call to this operator to a writer,
 including parentheses if the operators on either side are of greater
 precedence. | 
 
 
 
SqlPostfixOperator
SqlPostfixOperator(String name,
                   SqlKind kind,
                   int precedence,
                   SqlOperator.TypeInference typeInference)
getSyntax
public int getSyntax()
- Description copied from class: 
SqlOperator 
- Returns the syntactic type of this operator, a value from 
SqlOperator.Syntax.
- Specified by:
 getSyntax in class SqlOperator
 
 
 
unparse
void unparse(SqlWriter writer,
             SqlNode[] operands,
             int leftPrec,
             int rightPrec)
- Description copied from class: 
SqlOperator 
- Writes a SQL representation of a call to this operator to a writer,
 including parentheses if the operators on either side are of greater
 precedence.
- Specified by:
 unparse in class SqlOperator