Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-03


oracle.olapi.syntax
Class SQLDataType

java.lang.Object
  extended by oracle.olapi.syntax.SQLDataType


public final class SQLDataType
extends java.lang.Object

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.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SQLDataType

public SQLDataType(java.lang.String sqlText)
Creates a SQLDataType that is based on a SQL statement.
Parameters:
sqlText - A String that contains a SQL statement that defines a data type.

SQLDataType

public SQLDataType(DataType type)
Creates a SQLDataType that has the default precision of the specified data type.
Parameters:
type - The DataType to associate with the new SQLDataType.

Method Detail

getDataType

public DataType getDataType()
Gets the DataType that is associated with this SQLDataType.
Returns:
The DataType associated with this SQLDataType.

getSQLText

public java.lang.String getSQLText()
Gets the SQL statement that is associated with this SQLDataType.
Returns:
A String that contains the SQL statement associated with this SQLDataType.

Skip navigation links

Copyright © 2002, 2008, Oracle. All rights reserved.