| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.parser.plsql.symtab.SqlOpndef
oracle.javatools.parser.plsql.symtab.SqlOptdef
public class SqlOptdef
| Field Summary | |
|---|---|
|  boolean | optDistinctAggregate function DISTINCT modifier | 
|  java.lang.String | optDistinctSourceAggregate function DISTINCT modifier source. | 
|  short | optopcoperand count | 
|  SqlOpndef[] | optopvoperand pointer vector | 
|  java.lang.String | optSourceSource string | 
|  short | opttyptype of operator | 
| Fields inherited from class oracle.javatools.parser.plsql.symtab.SqlOpndef | 
|---|
| EMPTY_ARRAY, m_startOffset, opntyp | 
| Fields inherited from interface oracle.javatools.parser.plsql.data.SqlConstants | 
|---|
| OPNTATTR, OPNTCOL, OPNTGBY, OPNTLAZ, OPNTLOG, OPNTODM, OPNTOPT, OPNTPLS, OPNTQBP, OPNTSEL, OPNTSTR, OPNTSYS, OPNTTYP, QBCNALL, QBCNANY, QBCNCOLL, QBCNEXISTS, QBCNFORSPCELL, QBCNLEVEL1, QBCNNOTEXISTS, QBCNSINGLE, QBCNSSQ, STRTANY, STRTBIND, STRTCBR, STRTCIOUT, STRTCONS, STRTCORR, STRTCTS, STRTDATE, STRTDBTZ, STRTDFT, STRTFMT, STRTINL, STRTISCYL, STRTITNK, STRTITRT, STRTLEAF, STRTLEVL, STRTMAXV, STRTMQHBC, STRTNULL, STRTPRIO, STRTRNUM, STRTSETR, STRTSTS, STRTSYST, STRTTQC_OBSOLETE, STRTTRG, STRTTVNM, STRTUID, STRTUSER, STRTVAR, STRTVARC | 
| Fields inherited from interface oracle.javatools.parser.plsql.data.PtnodConstants | 
|---|
| PTNOD_ADT, PTNOD_ADT_CMPON_OBJECT, PTNOD_ADT_CMPON_SUBPRG, PTNOD_ADTBODY, PTNOD_ADTBODY_SUBPRG, PTNOD_base, PTNOD_C_ARRAY_DEF, PTNOD_CURSOR, PTNOD_ENUM_TY_DEF, PTNOD_ERROR, PTNOD_LITERAL, PTNOD_max, PTNOD_NAME, PTNOD_PKG, PTNOD_RECORD_TY_DEF, PTNOD_REF_CURSOR_TY_DEF, PTNOD_ROOT, PTNOD_SUBPRG, PTNOD_SUBTY_DEF, PTNOD_TABLE_TYPE, PTNOD_TBL_TY_DEF, PTNOD_TY_DEF, PTNOD_TYPE, PTNOD_UNCNSTRNED_ARRAY_DEF, PTNOD_VARIABLE, QCNOD_EXPRESSION | 
| Constructor Summary | |
|---|---|
| SqlOptdef() | |
| Method Summary | |
|---|---|
|  java.lang.String | getDistinctQualifierSource()Get the source of the DISTINCT modifier for aggregate functions | 
|  short | getOperandCount() | 
|  SqlExpression[] | getOperands() | 
|  short | getOperatorType() | 
|  java.lang.String | getSource()Get the source of the operator it it is available | 
|  boolean | isDistinct() | 
| Methods inherited from class oracle.javatools.parser.plsql.symtab.SqlOpndef | 
|---|
| getColumnBaseName, getColumnNodeName, getColumnTableName, getColumnUserName, getOperandType, getStartOffset, getStringText, getStringType, getTreeKind, isWindowFuntion, setWif | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public short opttyp
public short optopc
public SqlOpndef[] optopv
public java.lang.String optSource
public boolean optDistinct
public java.lang.String optDistinctSource
| Constructor Detail | 
|---|
public SqlOptdef()
| Method Detail | 
|---|
public short getOperatorType()
getOperatorType in interface SqlExpressiongetOperatorType in class SqlOpndefpublic short getOperandCount()
getOperandCount in interface SqlExpressiongetOperandCount in class SqlOpndefpublic SqlExpression[] getOperands()
getOperands in interface SqlExpressiongetOperands in class SqlOpndefpublic boolean isDistinct()
public java.lang.String getSource()
 For example given the expression "a || b" this method will return "||"
 
 For the eqivalent expression "concat(a,b)" this method will return "concat"
 When the source is not available, this method will return null.
public java.lang.String getDistinctQualifierSource()
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||