|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.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 | |
---|---|
DataType |
getDataType() Gets the DataType that is associated with this SQLDataType . |
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 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
SyntaxObjectVisitor
and passes that method the SyntaxObject
and an Object
.visit
in class SyntaxObject
visitor
- 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 |