com.sas.rio
Class MVACallableStatement

java.lang.Object
  |
  +--com.sas.rio.MVAStatement
        |
        +--com.sas.rio.MVAPreparedStatement
              |
              +--com.sas.rio.MVACallableStatement

public class MVACallableStatement
extends MVAPreparedStatement
implements java.sql.CallableStatement

Note: None of the methods in this class are supported because SAS software does not support stored procedures. All methods in this class throw an SQLException.

See Also:
MVAConnection.prepareCall(java.lang.String)

Fields inherited from class com.sas.rio.MVAStatement
bookmarkLength, bookmarkLengthHolder, direction, sasDataSet, sasDataSetHolder, sasLibref, status, statusHolder
 
Constructor Summary
MVACallableStatement()
          Constructs a MVACallableStatement
 
Method Summary
 java.sql.Array getArray(int i)
          JDBC 2.0 Gets an Array OUT parameter.
 java.math.BigDecimal getBigDecimal(int parameterIndex)
          Deprecated.  
 java.math.BigDecimal getBigDecimal(int parameterIndex, int scale)
          Deprecated.  
 java.sql.Blob getBlob(int i)
          JDBC 2.0 Gets a BLOB OUT parameter.
 boolean getBoolean(int parameterIndex)
          This method is not supported.
 byte getByte(int parameterIndex)
          This method is not supported.
 byte[] getBytes(int parameterIndex)
          This method is not supported.
 java.sql.Clob getClob(int i)
          JDBC 2.0 Gets a CLOB OUT parameter.
 java.sql.Date getDate(int parameterIndex)
          This method is not supported.
 java.sql.Date getDate(int parameterIndex, java.util.Calendar cal)
          Gets the value of a SQL DATE parameter as a java.sql.Date object.
 double getDouble(int parameterIndex)
          This method is not supported.
 float getFloat(int parameterIndex)
          This method is not supported.
 int getInt(int parameterIndex)
          This method is not supported.
 long getLong(int parameterIndex)
          This method is not supported.
 java.lang.Object getObject(int parameterIndex)
          This method is not supported.
 java.lang.Object getObject(int i, java.util.Map map)
          JDBC 2.0 Gets an object representing the value of OUT parameter @i.
 java.sql.Ref getRef(int i)
          JDBC 2.0 Gets a REF(<structured-type>) OUT parameter.
 short getShort(int parameterIndex)
          This method is not supported.
 java.lang.String getString(int parameterIndex)
          This method is not supported.
 java.sql.Time getTime(int parameterIndex)
          This method is not supported.
 java.sql.Time getTime(int parameterIndex, java.util.Calendar cal)
          Gets the value of a SQL TIME parameter as a java.sql.Time object.
 java.sql.Timestamp getTimestamp(int parameterIndex)
          This method is not supported.
 java.sql.Timestamp getTimestamp(int parameterIndex, java.util.Calendar cal)
          Get the value of a SQL TIMESTAMP parameter as a java.sql.Timestamp object.
 void registerOutParameter(int parameterIndex, int sqlType)
          This method is not supported.
 void registerOutParameter(int parameterIndex, int sqlType, int scale)
          This method is not supported.
 boolean wasNull()
          This method is not supported.
 
Methods inherited from class com.sas.rio.MVAPreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, registerOutParameter, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream
 
Methods inherited from class com.sas.rio.MVAStatement
addBatch, cancel, clearBatch, clearWarnings, close, createTable, deleteTable, deleteTable, execute, executeBatch, executeQuery, executeUpdate, getConnection, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getTable, getTable, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVACallableStatement

public MVACallableStatement()
                     throws java.sql.SQLException
Constructs a MVACallableStatement
Throws:
java.sql.SQLException - This exception is required by the interface, but it is never thrown.
Method Detail

registerOutParameter

public void registerOutParameter(int parameterIndex,
                                 int sqlType)
                          throws java.sql.SQLException
This method is not supported.
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

registerOutParameter

public void registerOutParameter(int parameterIndex,
                                 int sqlType,
                                 int scale)
                          throws java.sql.SQLException
This method is not supported.
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

wasNull

public boolean wasNull()
                throws java.sql.SQLException
This method is not supported.
Specified by:
wasNull in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getString

public java.lang.String getString(int parameterIndex)
                           throws java.sql.SQLException
This method is not supported.
Specified by:
getString in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getBoolean

public boolean getBoolean(int parameterIndex)
                   throws java.sql.SQLException
This method is not supported.
Specified by:
getBoolean in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getByte

public byte getByte(int parameterIndex)
             throws java.sql.SQLException
This method is not supported.
Specified by:
getByte in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getShort

public short getShort(int parameterIndex)
               throws java.sql.SQLException
This method is not supported.
Specified by:
getShort in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getInt

public int getInt(int parameterIndex)
           throws java.sql.SQLException
This method is not supported.
Specified by:
getInt in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getLong

public long getLong(int parameterIndex)
             throws java.sql.SQLException
This method is not supported.
Specified by:
getLong in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getFloat

public float getFloat(int parameterIndex)
               throws java.sql.SQLException
This method is not supported.
Specified by:
getFloat in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getDouble

public double getDouble(int parameterIndex)
                 throws java.sql.SQLException
This method is not supported.
Specified by:
getDouble in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getBigDecimal

public java.math.BigDecimal getBigDecimal(int parameterIndex,
                                          int scale)
                                   throws java.sql.SQLException
Deprecated.  

This method is not supported.
Specified by:
getBigDecimal in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getBytes

public byte[] getBytes(int parameterIndex)
                throws java.sql.SQLException
This method is not supported.
Specified by:
getBytes in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getDate

public java.sql.Date getDate(int parameterIndex)
                      throws java.sql.SQLException
This method is not supported.
Specified by:
getDate in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getTime

public java.sql.Time getTime(int parameterIndex)
                      throws java.sql.SQLException
This method is not supported.
Specified by:
getTime in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getTimestamp

public java.sql.Timestamp getTimestamp(int parameterIndex)
                                throws java.sql.SQLException
This method is not supported.
Specified by:
getTimestamp in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getObject

public java.lang.Object getObject(int parameterIndex)
                           throws java.sql.SQLException
This method is not supported.
Specified by:
getObject in interface java.sql.CallableStatement
Throws:
java.sql.SQLException - This exception is always thrown.

getBigDecimal

public java.math.BigDecimal getBigDecimal(int parameterIndex)
                                   throws java.sql.SQLException
Deprecated.  

JDBC 2.0 Gets the value of a NUMERIC parameter as a java.math.BigDecimal object. This method is not supported.
Specified by:
getBigDecimal in interface java.sql.CallableStatement
Parameters:
parameterIndex - the first parameter is 1, the second is 2, ...
Returns:
the parameter value (full precision); if the value is SQL NULL, the result is null
Throws:
java.sql.SQLException - This exception is always thrown.

getObject

public java.lang.Object getObject(int i,
                                  java.util.Map map)
                           throws java.sql.SQLException
JDBC 2.0 Gets an object representing the value of OUT parameter @i. Use the @map to determine the class from which to construct data of SQL structured and distinct types. This method is not supported.
Specified by:
getObject in interface java.sql.CallableStatement
Parameters:
i - the first parameter is 1, the second is 2, ...
map - the mapping from SQL type names to Java classes
Returns:
a java.lang.Object holding the OUT parameter value.
Throws:
java.sql.SQLException - This exception is always thrown.

getRef

public java.sql.Ref getRef(int i)
                    throws java.sql.SQLException
JDBC 2.0 Gets a REF(<structured-type>) OUT parameter. This method is not supported.
Specified by:
getRef in interface java.sql.CallableStatement
Parameters:
i - the first parameter is 1, the second is 2, ...
Returns:
an object representing data of an SQL REF Type
Throws:
java.sql.SQLException - This exception is always thrown.

getBlob

public java.sql.Blob getBlob(int i)
                      throws java.sql.SQLException
JDBC 2.0 Gets a BLOB OUT parameter. This method is not supported.
Specified by:
getBlob in interface java.sql.CallableStatement
Parameters:
i - the first parameter is 1, the second is 2, ...
Returns:
an object representing a BLOB
Throws:
java.sql.SQLException - This exception is always thrown.

getClob

public java.sql.Clob getClob(int i)
                      throws java.sql.SQLException
JDBC 2.0 Gets a CLOB OUT parameter. This method is not supported.
Specified by:
getClob in interface java.sql.CallableStatement
Parameters:
i - the first parameter is 1, the second is 2, ...
Returns:
an object representing a CLOB
Throws:
java.sql.SQLException - This exception is always thrown.

getArray

public java.sql.Array getArray(int i)
                        throws java.sql.SQLException
JDBC 2.0 Gets an Array OUT parameter. This method is not supported.
Specified by:
getArray in interface java.sql.CallableStatement
Parameters:
i - the first parameter is 1, the second is 2, ...
Returns:
an object representing an SQL array
Throws:
java.sql.SQLException - This exception is always thrown.

getDate

public java.sql.Date getDate(int parameterIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Gets the value of a SQL DATE parameter as a java.sql.Date object. This method is not supported.
Specified by:
getDate in interface java.sql.CallableStatement
Parameters:
parameterIndex - the first parameter is 1, the second is 2, ...
Returns:
the parameter value; if the value is SQL NULL, the result is null.
Throws:
java.sql.SQLException - This exception is always thrown.

getTime

public java.sql.Time getTime(int parameterIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Gets the value of a SQL TIME parameter as a java.sql.Time object. This method is not supported.
Specified by:
getTime in interface java.sql.CallableStatement
Parameters:
parameterIndex - the first parameter is 1, the second is 2, ...
Returns:
the parameter value; if the value is SQL NULL, the result is null
Throws:
java.sql.SQLException - This exception is always thrown.

getTimestamp

public java.sql.Timestamp getTimestamp(int parameterIndex,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException
Get the value of a SQL TIMESTAMP parameter as a java.sql.Timestamp object. This method is not supported.
Specified by:
getTimestamp in interface java.sql.CallableStatement
Parameters:
parameterIndex - the first parameter is 1, the second is 2, ...
Returns:
the parameter value; if the value is SQL NULL, the result is null
Throws:
java.sql.SQLException - This exception is always thrown.