|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.javatools.parser.plsql.symtab.SqlOpndef
public class SqlOpndef
| Field Summary | |
|---|---|
protected static SqlOpndef[] |
EMPTY_ARRAY |
int |
m_startOffsetStart offset |
byte |
opntyptype of operand |
| 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 | |
|---|---|
SqlOpndef() |
|
| Method Summary | |
|---|---|
java.lang.String |
getColumnBaseName()The format of an OPNTCOL is "user.table.base@networknode". |
java.lang.String |
getColumnNodeName() |
java.lang.String |
getColumnTableName() |
java.lang.String |
getColumnUserName() |
short |
getOperandCount() |
SqlExpression[] |
getOperands() |
byte |
getOperandType() |
short |
getOperatorType() |
int |
getStartOffset()Offsets are not available for anything outputted by the SqlParser. |
java.lang.String |
getStringText() |
byte |
getStringType() |
int |
getTreeKind()The term "tree kind" comes directly out of the database and indicates what structure this tree is, e.g. |
boolean |
isWindowFuntion()Is this is a Window function. |
void |
setWif(boolean val) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final SqlOpndef[] EMPTY_ARRAY
public byte opntyp
public int m_startOffset
| Constructor Detail |
|---|
public SqlOpndef()
| Method Detail |
|---|
public int getTreeKind()
PlsqlNodegetTreeKind in interface PlsqlNodepublic int getStartOffset()
SqlExpressiongetStartOffset in interface PlsqlNodegetStartOffset in interface SqlExpressionpublic byte getOperandType()
getOperandType in interface SqlExpressionpublic byte getStringType()
getStringType in interface SqlExpressionpublic java.lang.String getStringText()
getStringText in interface SqlExpressionpublic short getOperatorType()
getOperatorType in interface SqlExpressionpublic short getOperandCount()
getOperandCount in interface SqlExpressionpublic SqlExpression[] getOperands()
getOperands in interface SqlExpressionpublic java.lang.String getColumnBaseName()
SqlExpressiongetColumnBaseName in interface SqlExpressionpublic java.lang.String getColumnTableName()
getColumnTableName in interface SqlExpressionpublic java.lang.String getColumnUserName()
getColumnUserName in interface SqlExpressionpublic java.lang.String getColumnNodeName()
getColumnNodeName in interface SqlExpressionpublic void setWif(boolean val)
public boolean isWindowFuntion()
Window functions have an additional 5 arguments following the function arguments. So if we have <count> function arguments, The window function arguments are :
<count+1> Partition By clause
<count+2> Order By clause
<count+3> Not Used (C parser seems to have a flag string)
<count+4> End1 ( used for BI functions - not currently implemented)
<count+5> End2 ( ditto )
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||