|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
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 oracle.javatools.parser.plsql.symtab.SqlColdef
public class SqlColdef
Field Summary | |
---|---|
java.lang.String[] |
coladt
an abstract or user define datatype reference |
java.lang.String |
colcnm
column name |
java.lang.String |
colnode
network node name |
boolean |
colOuterJoin
outerjoin flag |
java.lang.String |
coltnm
table name |
java.lang.String |
colunm
user name |
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 | |
---|---|
SqlColdef()
|
Method Summary | |
---|---|
java.lang.String[] |
getColumnAndAttributes()
Get the column name and the column datatype attributes. |
java.lang.String |
getColumnBaseName()
Get the column name. |
java.lang.String |
getColumnNodeName()
get the column network node name |
boolean |
getColumnOuterJoin()
|
java.lang.String |
getColumnTableName()
Get the columns table name. |
java.lang.String |
getColumnUserName()
Get the colunms user or schema name. |
boolean |
reallign(java.lang.String schemaName,
java.lang.String tableName)
Given the table name, review the column name |
Methods inherited from class oracle.javatools.parser.plsql.symtab.SqlOpndef |
---|
getOperandCount, getOperands, getOperandType, getOperatorType, 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 java.lang.String colnode
public java.lang.String coltnm
public java.lang.String colcnm
public java.lang.String colunm
public java.lang.String[] coladt
public boolean colOuterJoin
Constructor Detail |
---|
public SqlColdef()
Method Detail |
---|
public java.lang.String getColumnBaseName()
This method returns null if the parser thinks that it has a column
datatype attribute. That is a name of the form col.attr.
See getColumnAndAttributes()
getColumnBaseName
in interface SqlExpression
getColumnBaseName
in class SqlOpndef
public java.lang.String getColumnTableName()
getColumnTableName
in interface SqlExpression
getColumnTableName
in class SqlOpndef
public java.lang.String getColumnUserName()
The Parser assume that a name of the form u.t.c is comprised of the user name, table name and column name
getColumnUserName
in interface SqlExpression
getColumnUserName
in class SqlOpndef
public java.lang.String getColumnNodeName()
getColumnNodeName
in interface SqlExpression
getColumnNodeName
in class SqlOpndef
public java.lang.String[] getColumnAndAttributes()
getColumnBaseName()
returns null, this method will
return an array. The first element being the column name, the
subsequent elements being the attribute names.
public boolean reallign(java.lang.String schemaName, java.lang.String tableName)
The parser assumes that a column name with 2 dots is comprised
of
This is not necessarily correct. The schema name may be absent, in
which case we actually have
This method is passed the schema name and the table name. It uses
this information to reallign its internal representation of the date
to match the table name. If this is not possible it return false
and does nothing.
.
.
getColumnOuterJoin
public boolean getColumnOuterJoin()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)
E13403-04
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD