| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.db.sql.ParserUtils
public class ParserUtils
| Nested Class Summary | |
|---|---|
| static class | ParserUtils.ExpressionType | 
| Method Summary | |
|---|---|
| static void | checkErrors(PlsqlRoot root,
            java.lang.String sql)Deprecated. | 
| static java.util.Collection<java.lang.String[]> | getColumnNames(SqlExpression sqlExpression)Deprecated. | 
| static java.util.Collection<java.lang.String[]> | getColumnNames(SQLFragment sqlFragment) | 
| static java.util.Collection<java.lang.String[]> | getColumnNames(java.lang.String expression,
               ParserUtils.ExpressionType type)Deprecated. | 
| static java.util.Collection<java.lang.String[]> | getColumnNames(java.lang.String expression,
               SQLFragmentExpressionBuilder.ExpressionType type,
               DBObjectProvider prov,
               Relation rel)Returns a Collection of names of the columns used in expression. | 
| static java.lang.String | getConstant(PlsqlNode node)Deprecated. | 
| static java.lang.String | getHexToRawString(PlsqlNode node)Deprecated. | 
| static java.lang.String | getString(PlsqlNode node)Deprecated. | 
| static boolean | isAllowedExpression(PlsqlNode node,
                    java.util.List validOperators)Deprecated. | 
| static boolean | isAllowedStringType(PlsqlNode node,
                    java.util.List validStringTypes)Deprecated. | 
| static boolean | isConstant(PlsqlNode node)Deprecated. | 
| static boolean | isDbObjectName(PlsqlNode node)Deprecated. | 
| static boolean | isNull(PlsqlNode node)Deprecated. | 
| static PlsqlRoot | parseQueryString(java.lang.String expression,
                 int type)Deprecated. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
@Deprecated public static java.lang.String getHexToRawString(PlsqlNode node)
@Deprecated public static java.lang.String getString(PlsqlNode node)
@Deprecated
public static boolean isAllowedExpression(PlsqlNode node,
                                                     java.util.List validOperators)
@Deprecated
public static boolean isAllowedStringType(PlsqlNode node,
                                                     java.util.List validStringTypes)
@Deprecated public static boolean isConstant(PlsqlNode node)
@Deprecated public static boolean isNull(PlsqlNode node)
@Deprecated public static boolean isDbObjectName(PlsqlNode node)
@Deprecated public static java.lang.String getConstant(PlsqlNode node)
public static java.util.Collection<java.lang.String[]> getColumnNames(java.lang.String expression,
                                                                      SQLFragmentExpressionBuilder.ExpressionType type,
                                                                      DBObjectProvider prov,
                                                                      Relation rel)
                                                               throws SQLQueryException
expression.
 Expression is either a select list item 
 SQLFragmentExpressionBuilder.ExpressionType.ITEM or a condition
 SQLFragmentExpressionBuilder.ExpressionType.CONDITION
 expression - the arithmetic expression to be parsed for column namestype - an expression type defined in oracle.javatools.parser.plsql.syntax.SqlDriver
SQLQueryException - when there are errors in expressionpublic static java.util.Collection<java.lang.String[]> getColumnNames(SQLFragment sqlFragment)
@Deprecated
public static java.util.Collection<java.lang.String[]> getColumnNames(java.lang.String expression,
                                                                                 ParserUtils.ExpressionType type)
                                                               throws SQLQueryException
expression
 of SqlDriver type type.
 The names are stored as an array of name components. The meaning of the 
 components depends upon  the context in which the name is used. For example, 
 the name A.B in a select list would mean table.column, but in a constraint 
 or index context, it would mean column.attribute as table.column is invalid 
 in such a context.
expression - the arithmetic expression to be parsed for column namestype - an expression type defined in oracle.javatools.parser.plsql.syntax.SqlDriver
SQLQueryException - when there are errors in expression@Deprecated public static java.util.Collection<java.lang.String[]> getColumnNames(SqlExpression sqlExpression)
sqlExpression
 The names are stored as an array of name components. The meaning of the
 components depends upon the context in which the name is used. For example,
 the name A.B in a select list would mean table.column, but in a constraint
 or index context, it would mean column.attribute as table.column is invalid
 in such a context.
sqlExpression - the SqlExpression to be searched for column names
@Deprecated
public static void checkErrors(PlsqlRoot root,
                                          java.lang.String sql)
                        throws SQLQueryException
root - sql - 
SQLQueryException
@Deprecated
public static PlsqlRoot parseQueryString(java.lang.String expression,
                                                    int type)
                                  throws SQLQueryException
expression - type - SqlDriver type eg SqlDriver.INPUT_AEX
SQLQueryException| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||