|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.SQLDataType
public final class SQLDataType
An object that represents an Oracle Database data type with precision information.
| Constructor Summary | |
|---|---|
SQLDataType(DataType type)
Creates a SQLDataType that has the default precision of the
specified data type. |
|
SQLDataType(java.lang.String sqlText)
Creates a SQLDataType that is based on a SQL statement. |
|
| Method Summary | |
|---|---|
static SQLDataType |
convertDMLDataType(java.lang.String dmlText)
|
DataType |
getDataType()
Gets the DataType that is associated with this
SQLDataType. |
static SQLDataType |
getSQLDataType(java.lang.String sqlText)
|
java.lang.String |
getSQLText()
Gets the SQL statement that is associated with this SQLDataType. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
Calls the appropriate method of a SyntaxObjectVisitor and passes that method the
SyntaxObject and an Object. |
| Methods inherited from class oracle.olapi.syntax.SyntaxObject |
|---|
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLDataType(java.lang.String sqlText)
SQLDataType that is based on a SQL statement.
sqlText - A String that contains a SQL statement
that defines a data type.public SQLDataType(DataType type)
SQLDataType that has the default precision of the
specified data type.
type - The DataType to associate with the new
SQLDataType.| Method Detail |
|---|
public static SQLDataType getSQLDataType(java.lang.String sqlText)
public static SQLDataType convertDMLDataType(java.lang.String dmlText)
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
SyntaxObjectVisitor and passes that method the
SyntaxObject and an Object.
visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.
Object returned by the
visitClearCommand method.public DataType getDataType()
DataType that is associated with this
SQLDataType.
DataType associated with this
SQLDataType.public java.lang.String getSQLText()
SQLDataType.
String that contains the SQL statement associated
with this SQLDataType.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||