com.sas.net.sharenet
Class ShareNetResultSet

com.sas.net.sharenet.ShareNetResultSet
All Implemented Interfaces:
java.lang.AutoCloseable, java.sql.ResultSet, java.sql.Wrapper

@SASScope(value="ALL")
public class ShareNetResultSet
implements java.sql.ResultSet

This class implements java.sql.ResultSet.


Field Summary
protected  ShareNetConnection connection
           
protected  com.sas.net.sharenet.SqlValue[] currentRow
           
protected  int currentRowNumber
           
protected  java.lang.String cursorName
           
protected  com.sas.net.sharenet.SqlField[] fieldArray
           
protected  boolean maxReached
           
protected  int maxRows
           
protected  java.util.Hashtable<java.lang.String,java.lang.Integer> namesToColumns
           
protected  int numColumns
           
protected  int rowsFetched
           
protected  com.sas.net.sharenet.ShareNetWarning shareWarning
           
protected  ShareNetStatement stmt
           
protected  short sv
           
protected  java.sql.SQLWarning warnings
           
protected  boolean wasNull
           
 
Method Summary
 boolean absolute(int row)
          This method is not supported and will always throw a SQLException.
 void addWarning(java.sql.SQLWarning warning)
          Adds a warning to the result set.
 void afterLast()
          This method is not supported and will always throw a SQLException.
 void beforeFirst()
          This method is not supported and will always throw a SQLException.
 void cancelRowUpdates()
          This method is not supported and will always throw a SQLException.
 void clearWarnings()
          
 void close()
          
 void deleteRow()
          This method is not supported and will always throw a SQLException.
protected  com.sas.net.sharenet.SqlValue[] fetch()
          Fetch the next row of the data table.
 java.lang.String fieldFormat(int i)
          Find the type of all the fields in the query.
 java.lang.String[] fieldNames()
          Find the names of all the fields in the query.
 int fieldType(int i)
          Find the type of all the fields in the query.
protected  void finalize()
          Protected method which cleans up state associated with this object.
 int findColumn(java.lang.String columnName)
          
 boolean first()
          This method is not supported and will always throw a SQLException.
 java.sql.Array getArray(int columnIndex)
          This method is not supported and will always throw a SQLException.
 java.sql.Array getArray(java.lang.String colName)
          This method is not supported and will always throw a SQLException.
 java.io.InputStream getAsciiStream(int columnIndex)
          
 java.io.InputStream getAsciiStream(java.lang.String columnName)
          
 java.math.BigDecimal getBigDecimal(int columnIndex)
          
 java.math.BigDecimal getBigDecimal(int columnIndex, int scale)
          Deprecated. 
 java.math.BigDecimal getBigDecimal(java.lang.String columnName)
          
 java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale)
          Deprecated. 
 java.io.InputStream getBinaryStream(int columnIndex)
          
 java.io.InputStream getBinaryStream(java.lang.String columnName)
          
 java.sql.Blob getBlob(int columnIndex)
          This method is not supported and will always throw a SQLException.
 java.sql.Blob getBlob(java.lang.String colName)
          This method is not supported and will always throw a SQLException.
 boolean getBoolean(int columnIndex)
          
 boolean getBoolean(java.lang.String columnName)
          
 byte getByte(int columnIndex)
          
 byte getByte(java.lang.String columnName)
          
 byte[] getBytes(int columnIndex)
          
 byte[] getBytes(java.lang.String columnName)
           
 java.io.Reader getCharacterStream(int columnIndex)
          
 java.io.Reader getCharacterStream(int columnIndex, java.lang.String charsetName)
          JDBC 2.0 Proprietary Extension (S0639040) Gets the value of a column in the current row as a java.io.Reader using a specified character set.
 java.io.Reader getCharacterStream(java.lang.String columnName)
          JDBC 2.0 Gets the value of a column in the current row as a java.io.Reader.
 java.io.Reader getCharacterStream(java.lang.String columnName, java.lang.String charsetName)
          JDBC 2.0 Proprietary Extension (S0639040) Gets the value of a column in the current row as a java.io.Reader using a specified character set.
 java.sql.Clob getClob(int columnIndex)
          This method is not supported and will always throw a SQLException.
 java.sql.Clob getClob(java.lang.String colName)
          This method is not supported and will always throw a SQLException.
 int getConcurrency()
          
 java.lang.String getCursorName()
          
 java.sql.Date getDate(int columnIndex)
          
 java.sql.Date getDate(int columnIndex, java.util.Calendar cal)
          
 java.sql.Date getDate(java.lang.String columnName)
          
 java.sql.Date getDate(java.lang.String columnName, java.util.Calendar cal)
          
 double getDouble(int columnIndex)
          
 double getDouble(java.lang.String columnName)
          
 int getFetchDirection()
          
 int getFetchSize()
          
 float getFloat(int columnIndex)
          
 float getFloat(java.lang.String columnName)
          
 int getHoldability()
          This method is not supported and will always throw a SQLException.
 int getInt(int columnIndex)
          
 int getInt(java.lang.String columnName)
          
 long getLong(int columnIndex)
          
 long getLong(java.lang.String columnName)
          
 java.sql.ResultSetMetaData getMetaData()
          
 java.io.Reader getNCharacterStream(int columnIndex)
          This method is not supported and will always throw a SQLException.
 java.io.Reader getNCharacterStream(java.lang.String columnLabel)
          This method is not supported and will always throw a SQLException.
 java.sql.NClob getNClob(int columnIndex)
          This method is not supported and will always throw a SQLException.
 java.sql.NClob getNClob(java.lang.String columnLabel)
          This method is not supported and will always throw a SQLException.
 java.lang.String getNString(int columnIndex)
          This method is not supported and will always throw a SQLException.
 java.lang.String getNString(java.lang.String columnLabel)
          This method is not supported and will always throw a SQLException.
 java.lang.Object getObject(int columnIndex)
          
<T> T
getObject(int columnIndex, java.lang.Class<T> type)
          This method is not supported and will always throw a SQLException.
 java.lang.Object getObject(int columnIndex, java.util.Map<java.lang.String,java.lang.Class<?>> map)
          This method is not supported and will always throw a SQLException.
 java.lang.Object getObject(java.lang.String columnName)
          
<T> T
getObject(java.lang.String columnLabel, java.lang.Class<T> type)
          This method is not supported and will always throw a SQLException.
 java.lang.Object getObject(java.lang.String colName, java.util.Map<java.lang.String,java.lang.Class<?>> map)
          This method is not supported and will always throw a SQLException.
 java.sql.Ref getRef(int columnIndex)
          This method is not supported and will always throw a SQLException.
 java.sql.Ref getRef(java.lang.String colName)
          This method is not supported and will always throw a SQLException.
 int getRow()
          This method is not supported and will always throw a SQLException.
 java.sql.RowId getRowId(int columnIndex)
          This method is not supported and will always throw a SQLException.
 java.sql.RowId getRowId(java.lang.String columnLabel)
          This method is not supported and will always throw a SQLException.
 short getShort(int columnIndex)
          
 short getShort(java.lang.String columnName)
          
 java.sql.SQLXML getSQLXML(int columnIndex)
          This method is not supported and will always throw a SQLException.
 java.sql.SQLXML getSQLXML(java.lang.String columnLabel)
          This method is not supported and will always throw a SQLException.
 java.sql.Statement getStatement()
          
 java.lang.String getString(int columnIndex)
          
 java.lang.String getString(java.lang.String columnName)
          
 java.sql.Time getTime(int columnIndex)
          
 java.sql.Time getTime(int columnIndex, java.util.Calendar cal)
          
 java.sql.Time getTime(java.lang.String columnName)
          
 java.sql.Time getTime(java.lang.String columnName, java.util.Calendar cal)
          
 java.sql.Timestamp getTimestamp(int columnIndex)
          
 java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal)
          
 java.sql.Timestamp getTimestamp(java.lang.String columnName)
          
 java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar cal)
          
 int getType()
          
 java.io.InputStream getUnicodeStream(int columnIndex)
          Deprecated. 
 java.io.InputStream getUnicodeStream(java.lang.String columnName)
          Deprecated. 
 java.net.URL getURL(int columnIndex)
          This method is not supported and will always throw a SQLException.
 java.net.URL getURL(java.lang.String columnName)
          This method is not supported and will always throw a SQLException.
 java.sql.SQLWarning getWarnings()
          
 void insertRow()
          This method is not supported and will always throw a SQLException.
 boolean isAfterLast()
          This method is not supported and will always throw a SQLException.
 boolean isBeforeFirst()
          This method is not supported and will always throw a SQLException.
 boolean isClosed()
          
 boolean isFirst()
          This method is not supported and will always throw a SQLException.
 boolean isLast()
          This method is not supported and will always throw a SQLException.
 boolean isWrapperFor(java.lang.Class<?> iface)
          
 boolean last()
          This method is not supported and will always throw a SQLException.
 void moveToCurrentRow()
          This method is not supported and will always throw a SQLException.
 void moveToInsertRow()
          This method is not supported and will always throw a SQLException.
 boolean next()
          
 int numFields()
          Return the number of fields in the query.
 boolean previous()
          This method is not supported and will always throw a SQLException.
 void refreshRow()
          This method is not supported and will always throw a SQLException.
 boolean relative(int rows)
          This method is not supported and will always throw a SQLException.
 boolean rowDeleted()
          This method is not supported and will always throw a SQLException.
 boolean rowInserted()
          This method is not supported and will always throw a SQLException.
 boolean rowUpdated()
          This method is not supported and will always throw a SQLException.
protected  void send(com.sas.net.sharenet.Wqefcb fcb)
          Sends a message to the server.
 void setFetchDirection(int direction)
          The SAS/SHARE JDBC driver only supports forward only.
 void setFetchSize(int rows)
          
<T> T
unwrap(java.lang.Class<T> iface)
          
 void updateArray(int columnIndex, java.sql.Array x)
          This method is not supported and will always throw a SQLException.
 void updateArray(java.lang.String columnName, java.sql.Array x)
          This method is not supported and will always throw a SQLException.
 void updateAsciiStream(int columnIndex, java.io.InputStream x)
          This method is not supported and will always throw a SQLException.
 void updateAsciiStream(int columnIndex, java.io.InputStream x, int length)
          This method is not supported and will always throw a SQLException.
 void updateAsciiStream(int columnIndex, java.io.InputStream x, long length)
          This method is not supported and will always throw a SQLException.
 void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)
          This method is not supported and will always throw a SQLException.
 void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length)
          This method is not supported and will always throw a SQLException.
 void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length)
          This method is not supported and will always throw a SQLException.
 void updateBigDecimal(int columnIndex, java.math.BigDecimal x)
          This method is not supported and will always throw a SQLException.
 void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x)
          This method is not supported and will always throw a SQLException.
 void updateBinaryStream(int columnIndex, java.io.InputStream x)
          This method is not supported and will always throw a SQLException.
 void updateBinaryStream(int columnIndex, java.io.InputStream x, int length)
          This method is not supported and will always throw a SQLException.
 void updateBinaryStream(int columnIndex, java.io.InputStream x, long length)
          This method is not supported and will always throw a SQLException.
 void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)
          This method is not supported and will always throw a SQLException.
 void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length)
          This method is not supported and will always throw a SQLException.
 void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length)
          This method is not supported and will always throw a SQLException.
 void updateBlob(int columnIndex, java.sql.Blob x)
          This method is not supported and will always throw a SQLException.
 void updateBlob(int columnIndex, java.io.InputStream inputStream)
          This method is not supported and will always throw a SQLException.
 void updateBlob(int columnIndex, java.io.InputStream inputStream, long length)
          This method is not supported and will always throw a SQLException.
 void updateBlob(java.lang.String columnName, java.sql.Blob x)
          This method is not supported and will always throw a SQLException.
 void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)
           
 void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)
          This method is not supported and will always throw a SQLException.
 void updateBoolean(int columnIndex, boolean x)
          This method is not supported and will always throw a SQLException.
 void updateBoolean(java.lang.String columnName, boolean x)
          This method is not supported and will always throw a SQLException.
 void updateByte(int columnIndex, byte x)
          This method is not supported and will always throw a SQLException.
 void updateByte(java.lang.String columnName, byte x)
          This method is not supported and will always throw a SQLException.
 void updateBytes(int columnIndex, byte[] x)
          This method is not supported and will always throw a SQLException.
 void updateBytes(java.lang.String columnName, byte[] x)
          This method is not supported and will always throw a SQLException.
 void updateCharacterStream(int columnIndex, java.io.Reader x)
          This method is not supported and will always throw a SQLException.
 void updateCharacterStream(int columnIndex, java.io.Reader x, int length)
          This method is not supported and will always throw a SQLException.
 void updateCharacterStream(int columnIndex, java.io.Reader x, long length)
          This method is not supported and will always throw a SQLException.
 void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)
          This method is not supported and will always throw a SQLException.
 void updateCharacterStream(java.lang.String columnName, java.io.Reader reader, int length)
          This method is not supported and will always throw a SQLException.
 void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)
          This method is not supported and will always throw a SQLException.
 void updateClob(int columnIndex, java.sql.Clob x)
          This method is not supported and will always throw a SQLException.
 void updateClob(int columnIndex, java.io.Reader reader)
          This method is not supported and will always throw a SQLException.
 void updateClob(int columnIndex, java.io.Reader reader, long length)
          This method is not supported and will always throw a SQLException.
 void updateClob(java.lang.String columnName, java.sql.Clob x)
          This method is not supported and will always throw a SQLException.
 void updateClob(java.lang.String columnLabel, java.io.Reader reader)
          This method is not supported and will always throw a SQLException.
 void updateClob(java.lang.String columnLabel, java.io.Reader reader, long length)
          This method is not supported and will always throw a SQLException.
 void updateDate(int columnIndex, java.sql.Date x)
          This method is not supported and will always throw a SQLException.
 void updateDate(java.lang.String columnName, java.sql.Date x)
          This method is not supported and will always throw a SQLException.
 void updateDouble(int columnIndex, double x)
          This method is not supported and will always throw a SQLException.
 void updateDouble(java.lang.String columnName, double x)
          This method is not supported and will always throw a SQLException.
 void updateFloat(int columnIndex, float x)
          This method is not supported and will always throw a SQLException.
 void updateFloat(java.lang.String columnName, float x)
          This method is not supported and will always throw a SQLException.
 void updateInt(int columnIndex, int x)
          This method is not supported and will always throw a SQLException.
 void updateInt(java.lang.String columnName, int x)
          This method is not supported and will always throw a SQLException.
 void updateLong(int columnIndex, long x)
          This method is not supported and will always throw a SQLException.
 void updateLong(java.lang.String columnName, long x)
          This method is not supported and will always throw a SQLException.
 void updateNCharacterStream(int columnIndex, java.io.Reader x)
          This method is not supported and will always throw a SQLException.
 void updateNCharacterStream(int columnIndex, java.io.Reader x, long length)
          This method is not supported and will always throw a SQLException.
 void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)
          This method is not supported and will always throw a SQLException.
 void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)
          This method is not supported and will always throw a SQLException.
 void updateNClob(int columnIndex, java.sql.NClob nClob)
          This method is not supported and will always throw a SQLException.
 void updateNClob(int columnIndex, java.io.Reader reader)
          This method is not supported and will always throw a SQLException.
 void updateNClob(int columnIndex, java.io.Reader reader, long length)
          This method is not supported and will always throw a SQLException.
 void updateNClob(java.lang.String columnLabel, java.sql.NClob nClob)
          This method is not supported and will always throw a SQLException.
 void updateNClob(java.lang.String columnLabel, java.io.Reader reader)
          This method is not supported and will always throw a SQLException.
 void updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)
          This method is not supported and will always throw a SQLException.
 void updateNString(int columnIndex, java.lang.String nString)
          This method is not supported and will always throw a SQLException.
 void updateNString(java.lang.String columnLabel, java.lang.String nString)
          This method is not supported and will always throw a SQLException.
 void updateNull(int columnIndex)
          This method is not supported and will always throw a SQLException.
 void updateNull(java.lang.String columnName)
          This method is not supported and will always throw a SQLException.
 void updateObject(int columnIndex, java.lang.Object x)
          This method is not supported and will always throw a SQLException.
 void updateObject(int columnIndex, java.lang.Object x, int scale)
          This method is not supported and will always throw a SQLException.
 void updateObject(java.lang.String columnName, java.lang.Object x)
          This method is not supported and will always throw a SQLException.
 void updateObject(java.lang.String columnName, java.lang.Object x, int scale)
          This method is not supported and will always throw a SQLException.
 void updateRef(int columnIndex, java.sql.Ref x)
          This method is not supported and will always throw a SQLException.
 void updateRef(java.lang.String columnName, java.sql.Ref x)
          This method is not supported and will always throw a SQLException.
 void updateRow()
          This method is not supported and will always throw a SQLException.
 void updateRowId(int columnIndex, java.sql.RowId x)
          This method is not supported and will always throw a SQLException.
 void updateRowId(java.lang.String columnLabel, java.sql.RowId x)
          This method is not supported and will always throw a SQLException.
 void updateShort(int columnIndex, short x)
          This method is not supported and will always throw a SQLException.
 void updateShort(java.lang.String columnName, short x)
          This method is not supported and will always throw a SQLException.
 void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)
          This method is not supported and will always throw a SQLException.
 void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject)
          This method is not supported and will always throw a SQLException.
 void updateString(int columnIndex, java.lang.String x)
          This method is not supported and will always throw a SQLException.
 void updateString(java.lang.String columnName, java.lang.String x)
          This method is not supported and will always throw a SQLException.
 void updateTime(int columnIndex, java.sql.Time x)
          This method is not supported and will always throw a SQLException.
 void updateTime(java.lang.String columnName, java.sql.Time x)
          This method is not supported and will always throw a SQLException.
 void updateTimestamp(int columnIndex, java.sql.Timestamp x)
          This method is not supported and will always throw a SQLException.
 void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x)
          This method is not supported and will always throw a SQLException.
 boolean wasNull()
          
 

Field Detail

currentRow

protected com.sas.net.sharenet.SqlValue[] currentRow

fieldArray

protected com.sas.net.sharenet.SqlField[] fieldArray

numColumns

protected int numColumns

currentRowNumber

protected int currentRowNumber

rowsFetched

protected int rowsFetched

maxReached

protected boolean maxReached

maxRows

protected int maxRows

cursorName

protected java.lang.String cursorName

namesToColumns

protected final java.util.Hashtable<java.lang.String,java.lang.Integer> namesToColumns

stmt

protected final ShareNetStatement stmt

wasNull

protected boolean wasNull

warnings

protected java.sql.SQLWarning warnings

shareWarning

protected com.sas.net.sharenet.ShareNetWarning shareWarning

sv

protected short sv

connection

protected ShareNetConnection connection
Method Detail

next

public boolean next()
             throws java.sql.SQLException

Specified by:
next in interface java.sql.ResultSet
Throws:
java.sql.SQLException

wasNull

public boolean wasNull()
                throws java.sql.SQLException

Specified by:
wasNull in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getString

public java.lang.String getString(int columnIndex)
                           throws java.sql.SQLException

Specified by:
getString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBoolean

public boolean getBoolean(int columnIndex)
                   throws java.sql.SQLException

Specified by:
getBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getByte

public byte getByte(int columnIndex)
             throws java.sql.SQLException

Specified by:
getByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getShort

public short getShort(int columnIndex)
               throws java.sql.SQLException

Specified by:
getShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getInt

public int getInt(int columnIndex)
           throws java.sql.SQLException

Specified by:
getInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getLong

public long getLong(int columnIndex)
             throws java.sql.SQLException

Specified by:
getLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getFloat

public float getFloat(int columnIndex)
               throws java.sql.SQLException

Specified by:
getFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDouble

public double getDouble(int columnIndex)
                 throws java.sql.SQLException

Specified by:
getDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBigDecimal

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

Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBytes

public byte[] getBytes(int columnIndex)
                throws java.sql.SQLException

Specified by:
getBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(int columnIndex)
                      throws java.sql.SQLException

Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(int columnIndex)
                      throws java.sql.SQLException

Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int columnIndex)
                                throws java.sql.SQLException

Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getAsciiStream

public java.io.InputStream getAsciiStream(int columnIndex)
                                   throws java.sql.SQLException

Specified by:
getAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getUnicodeStream

@Deprecated
public java.io.InputStream getUnicodeStream(int columnIndex)
                                     throws java.sql.SQLException
Deprecated. 

Specified by:
getUnicodeStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBinaryStream

public java.io.InputStream getBinaryStream(int columnIndex)
                                    throws java.sql.SQLException

Specified by:
getBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getString

public java.lang.String getString(java.lang.String columnName)
                           throws java.sql.SQLException

Specified by:
getString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBoolean

public boolean getBoolean(java.lang.String columnName)
                   throws java.sql.SQLException

Specified by:
getBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getByte

public byte getByte(java.lang.String columnName)
             throws java.sql.SQLException

Specified by:
getByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getShort

public short getShort(java.lang.String columnName)
               throws java.sql.SQLException

Specified by:
getShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getInt

public int getInt(java.lang.String columnName)
           throws java.sql.SQLException

Specified by:
getInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getLong

public long getLong(java.lang.String columnName)
             throws java.sql.SQLException

Specified by:
getLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getFloat

public float getFloat(java.lang.String columnName)
               throws java.sql.SQLException

Specified by:
getFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDouble

public double getDouble(java.lang.String columnName)
                 throws java.sql.SQLException

Specified by:
getDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBigDecimal

@Deprecated
public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
                                                     int scale)
                                   throws java.sql.SQLException
Deprecated. 

Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBytes

public byte[] getBytes(java.lang.String columnName)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(java.lang.String columnName)
                      throws java.sql.SQLException

Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(java.lang.String columnName)
                      throws java.sql.SQLException

Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName)
                                throws java.sql.SQLException

Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getAsciiStream

public java.io.InputStream getAsciiStream(java.lang.String columnName)
                                   throws java.sql.SQLException

Specified by:
getAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getUnicodeStream

@Deprecated
public java.io.InputStream getUnicodeStream(java.lang.String columnName)
                                     throws java.sql.SQLException
Deprecated. 

Specified by:
getUnicodeStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBinaryStream

public java.io.InputStream getBinaryStream(java.lang.String columnName)
                                    throws java.sql.SQLException

Specified by:
getBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getCursorName

public java.lang.String getCursorName()
                               throws java.sql.SQLException

Specified by:
getCursorName in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException

Specified by:
getWarnings in interface java.sql.ResultSet
Throws:
java.sql.SQLException

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException

Specified by:
clearWarnings in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getMetaData

public java.sql.ResultSetMetaData getMetaData()
                                       throws java.sql.SQLException

Specified by:
getMetaData in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(int columnIndex)
                           throws java.sql.SQLException

Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(java.lang.String columnName)
                           throws java.sql.SQLException

Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

findColumn

public int findColumn(java.lang.String columnName)
               throws java.sql.SQLException

Specified by:
findColumn in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream(int columnIndex)
                                  throws java.sql.SQLException

Specified by:
getCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream(int columnIndex,
                                         java.lang.String charsetName)
                                  throws java.sql.SQLException
JDBC 2.0 Proprietary Extension (S0639040)

Gets the value of a column in the current row as a java.io.Reader using a specified character set.

Parameters:
columnIndex - The first column is 1, the second column is 2 and so on.
charsetName - The name of a supported charset
Returns:
The column value as a java.io.Reader object.
Throws:
java.sql.SQLException - This exception is thrown if the column index is not valid.

getCharacterStream

public java.io.Reader getCharacterStream(java.lang.String columnName)
                                  throws java.sql.SQLException
JDBC 2.0

Gets the value of a column in the current row as a java.io.Reader.

Specified by:
getCharacterStream in interface java.sql.ResultSet
Parameters:
columnName - The name of the column.
Returns:
The column value as a java.io.Reader object.
Throws:
java.sql.SQLException - This exception is thrown if the column index is not valid.

getCharacterStream

public java.io.Reader getCharacterStream(java.lang.String columnName,
                                         java.lang.String charsetName)
                                  throws java.sql.SQLException
JDBC 2.0 Proprietary Extension (S0639040)

Gets the value of a column in the current row as a java.io.Reader using a specified character set.

Parameters:
columnName - The name of the column.
charsetName - The name of a supported charset
Returns:
The column value as a java.io.Reader object.
Throws:
java.sql.SQLException - This exception is thrown if the column index is not valid.

getBigDecimal

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

Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
                                   throws java.sql.SQLException

Specified by:
getBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isBeforeFirst

public boolean isBeforeFirst()
                      throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
isBeforeFirst in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isAfterLast

public boolean isAfterLast()
                    throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
isAfterLast in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isFirst

public boolean isFirst()
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
isFirst in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isLast

public boolean isLast()
               throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
isLast in interface java.sql.ResultSet
Throws:
java.sql.SQLException

beforeFirst

public void beforeFirst()
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
beforeFirst in interface java.sql.ResultSet
Throws:
java.sql.SQLException

afterLast

public void afterLast()
               throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
afterLast in interface java.sql.ResultSet
Throws:
java.sql.SQLException

first

public boolean first()
              throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
first in interface java.sql.ResultSet
Throws:
java.sql.SQLException

last

public boolean last()
             throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
last in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRow

public int getRow()
           throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

absolute

public boolean absolute(int row)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
absolute in interface java.sql.ResultSet
Throws:
java.sql.SQLException

relative

public boolean relative(int rows)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
relative in interface java.sql.ResultSet
Throws:
java.sql.SQLException

previous

public boolean previous()
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
previous in interface java.sql.ResultSet
Throws:
java.sql.SQLException

setFetchDirection

public void setFetchDirection(int direction)
                       throws java.sql.SQLException
The SAS/SHARE JDBC driver only supports forward only.

Specified by:
setFetchDirection in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getFetchDirection

public int getFetchDirection()
                      throws java.sql.SQLException

Specified by:
getFetchDirection in interface java.sql.ResultSet
Throws:
java.sql.SQLException

setFetchSize

public void setFetchSize(int rows)
                  throws java.sql.SQLException

Specified by:
setFetchSize in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getFetchSize

public int getFetchSize()
                 throws java.sql.SQLException

Specified by:
getFetchSize in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getType

public int getType()
            throws java.sql.SQLException

Specified by:
getType in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getConcurrency

public int getConcurrency()
                   throws java.sql.SQLException

Specified by:
getConcurrency in interface java.sql.ResultSet
Throws:
java.sql.SQLException

rowUpdated

public boolean rowUpdated()
                   throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
rowUpdated in interface java.sql.ResultSet
Throws:
java.sql.SQLException

rowInserted

public boolean rowInserted()
                    throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
rowInserted in interface java.sql.ResultSet
Throws:
java.sql.SQLException

rowDeleted

public boolean rowDeleted()
                   throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
rowDeleted in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNull

public void updateNull(int columnIndex)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNull in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBoolean

public void updateBoolean(int columnIndex,
                          boolean x)
                   throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateByte

public void updateByte(int columnIndex,
                       byte x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateShort

public void updateShort(int columnIndex,
                        short x)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateInt

public void updateInt(int columnIndex,
                      int x)
               throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateLong

public void updateLong(int columnIndex,
                       long x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateFloat

public void updateFloat(int columnIndex,
                        float x)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDouble

public void updateDouble(int columnIndex,
                         double x)
                  throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBigDecimal

public void updateBigDecimal(int columnIndex,
                             java.math.BigDecimal x)
                      throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateString

public void updateString(int columnIndex,
                         java.lang.String x)
                  throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBytes

public void updateBytes(int columnIndex,
                        byte[] x)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDate

public void updateDate(int columnIndex,
                       java.sql.Date x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTime

public void updateTime(int columnIndex,
                       java.sql.Time x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTimestamp

public void updateTimestamp(int columnIndex,
                            java.sql.Timestamp x)
                     throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              java.io.InputStream x,
                              int length)
                       throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               java.io.InputStream x,
                               int length)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  java.io.Reader x,
                                  int length)
                           throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(int columnIndex,
                         java.lang.Object x,
                         int scale)
                  throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(int columnIndex,
                         java.lang.Object x)
                  throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNull

public void updateNull(java.lang.String columnName)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNull in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBoolean

public void updateBoolean(java.lang.String columnName,
                          boolean x)
                   throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBoolean in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateByte

public void updateByte(java.lang.String columnName,
                       byte x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateByte in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateShort

public void updateShort(java.lang.String columnName,
                        short x)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateShort in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateInt

public void updateInt(java.lang.String columnName,
                      int x)
               throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateInt in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateLong

public void updateLong(java.lang.String columnName,
                       long x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateLong in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateFloat

public void updateFloat(java.lang.String columnName,
                        float x)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateFloat in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDouble

public void updateDouble(java.lang.String columnName,
                         double x)
                  throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateDouble in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBigDecimal

public void updateBigDecimal(java.lang.String columnName,
                             java.math.BigDecimal x)
                      throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBigDecimal in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateString

public void updateString(java.lang.String columnName,
                         java.lang.String x)
                  throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBytes

public void updateBytes(java.lang.String columnName,
                        byte[] x)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBytes in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateDate

public void updateDate(java.lang.String columnName,
                       java.sql.Date x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTime

public void updateTime(java.lang.String columnName,
                       java.sql.Time x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateTimestamp

public void updateTimestamp(java.lang.String columnName,
                            java.sql.Timestamp x)
                     throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(java.lang.String columnName,
                              java.io.InputStream x,
                              int length)
                       throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(java.lang.String columnName,
                               java.io.InputStream x,
                               int length)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(java.lang.String columnName,
                                  java.io.Reader reader,
                                  int length)
                           throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(java.lang.String columnName,
                         java.lang.Object x,
                         int scale)
                  throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateObject

public void updateObject(java.lang.String columnName,
                         java.lang.Object x)
                  throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

insertRow

public void insertRow()
               throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
insertRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRow

public void updateRow()
               throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

deleteRow

public void deleteRow()
               throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
deleteRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

refreshRow

public void refreshRow()
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
refreshRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

cancelRowUpdates

public void cancelRowUpdates()
                      throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
cancelRowUpdates in interface java.sql.ResultSet
Throws:
java.sql.SQLException

moveToInsertRow

public void moveToInsertRow()
                     throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
moveToInsertRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

moveToCurrentRow

public void moveToCurrentRow()
                      throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
moveToCurrentRow in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getStatement

public java.sql.Statement getStatement()
                                throws java.sql.SQLException

Specified by:
getStatement in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(int columnIndex,
                                  java.util.Map<java.lang.String,java.lang.Class<?>> map)
                           throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRef

public java.sql.Ref getRef(int columnIndex)
                    throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBlob

public java.sql.Blob getBlob(int columnIndex)
                      throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getClob

public java.sql.Clob getClob(int columnIndex)
                      throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getArray

public java.sql.Array getArray(int columnIndex)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(java.lang.String colName,
                                  java.util.Map<java.lang.String,java.lang.Class<?>> map)
                           throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRef

public java.sql.Ref getRef(java.lang.String colName)
                    throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getBlob

public java.sql.Blob getBlob(java.lang.String colName)
                      throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getClob

public java.sql.Clob getClob(java.lang.String colName)
                      throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getArray

public java.sql.Array getArray(java.lang.String colName)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(int columnIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException

Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(java.lang.String columnName,
                             java.util.Calendar cal)
                      throws java.sql.SQLException

Specified by:
getDate in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(int columnIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException

Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(java.lang.String columnName,
                             java.util.Calendar cal)
                      throws java.sql.SQLException

Specified by:
getTime in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int columnIndex,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException

Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException

Specified by:
getTimestamp in interface java.sql.ResultSet
Throws:
java.sql.SQLException

addWarning

public void addWarning(java.sql.SQLWarning warning)
Adds a warning to the result set.

Parameters:
SQLWarning - Warning to add.

fetch

protected com.sas.net.sharenet.SqlValue[] fetch()
                                         throws ShareNetException
Fetch the next row of the data table.

Returns:
The array of values.
Throws:
ShareNetException - This exception is thrown if an error condition is detected.

send

protected void send(com.sas.net.sharenet.Wqefcb fcb)
             throws ShareNetException
Sends a message to the server.

Parameters:
fcb - Function control block that contains the message.
Throws:
ShareNetException - This exception is thrown if an error condition is detected.

numFields

public int numFields()
Return the number of fields in the query.

Returns:
number of fields

fieldNames

public java.lang.String[] fieldNames()
Find the names of all the fields in the query.

Returns:
name array

fieldType

public int fieldType(int i)
Find the type of all the fields in the query.

Returns:
label array

fieldFormat

public java.lang.String fieldFormat(int i)
Find the type of all the fields in the query.

Returns:
label array

close

public void close()
           throws java.sql.SQLException

Specified by:
close in interface java.lang.AutoCloseable
Specified by:
close in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getURL

public java.net.URL getURL(int columnIndex)
                    throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getURL in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getURL

public java.net.URL getURL(java.lang.String columnName)
                    throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getURL in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRef

public void updateRef(int columnIndex,
                      java.sql.Ref x)
               throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRef

public void updateRef(java.lang.String columnName,
                      java.sql.Ref x)
               throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateRef in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(int columnIndex,
                       java.sql.Blob x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(java.lang.String columnName,
                       java.sql.Blob x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(int columnIndex,
                       java.sql.Clob x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(java.lang.String columnName,
                       java.sql.Clob x)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateArray

public void updateArray(int columnIndex,
                        java.sql.Array x)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateArray

public void updateArray(java.lang.String columnName,
                        java.sql.Array x)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateArray in interface java.sql.ResultSet
Throws:
java.sql.SQLException

finalize

protected void finalize()
                 throws java.lang.Throwable
Protected method which cleans up state associated with this object.

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable - required. Not created in this method.

getRowId

public java.sql.RowId getRowId(int columnIndex)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getRowId

public java.sql.RowId getRowId(java.lang.String columnLabel)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRowId

public void updateRowId(int columnIndex,
                        java.sql.RowId x)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateRowId

public void updateRowId(java.lang.String columnLabel,
                        java.sql.RowId x)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateRowId in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getHoldability

public int getHoldability()
                   throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getHoldability in interface java.sql.ResultSet
Throws:
java.sql.SQLException

isClosed

public boolean isClosed()
                 throws java.sql.SQLException

Specified by:
isClosed in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNString

public void updateNString(int columnIndex,
                          java.lang.String nString)
                   throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNString

public void updateNString(java.lang.String columnLabel,
                          java.lang.String nString)
                   throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(int columnIndex,
                        java.sql.NClob nClob)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(java.lang.String columnLabel,
                        java.sql.NClob nClob)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNClob

public java.sql.NClob getNClob(int columnIndex)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNClob

public java.sql.NClob getNClob(java.lang.String columnLabel)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getSQLXML

public java.sql.SQLXML getSQLXML(int columnIndex)
                          throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getSQLXML

public java.sql.SQLXML getSQLXML(java.lang.String columnLabel)
                          throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateSQLXML

public void updateSQLXML(int columnIndex,
                         java.sql.SQLXML xmlObject)
                  throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateSQLXML

public void updateSQLXML(java.lang.String columnLabel,
                         java.sql.SQLXML xmlObject)
                  throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateSQLXML in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNString

public java.lang.String getNString(int columnIndex)
                            throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNString

public java.lang.String getNString(java.lang.String columnLabel)
                            throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getNString in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNCharacterStream

public java.io.Reader getNCharacterStream(int columnIndex)
                                   throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getNCharacterStream

public java.io.Reader getNCharacterStream(java.lang.String columnLabel)
                                   throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
getNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNCharacterStream

public void updateNCharacterStream(int columnIndex,
                                   java.io.Reader x,
                                   long length)
                            throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNCharacterStream

public void updateNCharacterStream(java.lang.String columnLabel,
                                   java.io.Reader reader,
                                   long length)
                            throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              java.io.InputStream x,
                              long length)
                       throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               java.io.InputStream x,
                               long length)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  java.io.Reader x,
                                  long length)
                           throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(java.lang.String columnLabel,
                              java.io.InputStream x,
                              long length)
                       throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(java.lang.String columnLabel,
                               java.io.InputStream x,
                               long length)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(java.lang.String columnLabel,
                                  java.io.Reader reader,
                                  long length)
                           throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(int columnIndex,
                       java.io.InputStream inputStream,
                       long length)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(java.lang.String columnLabel,
                       java.io.InputStream inputStream,
                       long length)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(int columnIndex,
                       java.io.Reader reader,
                       long length)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(java.lang.String columnLabel,
                       java.io.Reader reader,
                       long length)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(int columnIndex,
                        java.io.Reader reader,
                        long length)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(java.lang.String columnLabel,
                        java.io.Reader reader,
                        long length)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNCharacterStream

public void updateNCharacterStream(int columnIndex,
                                   java.io.Reader x)
                            throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNCharacterStream

public void updateNCharacterStream(java.lang.String columnLabel,
                                   java.io.Reader reader)
                            throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              java.io.InputStream x)
                       throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               java.io.InputStream x)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  java.io.Reader x)
                           throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(java.lang.String columnLabel,
                              java.io.InputStream x)
                       throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateAsciiStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(java.lang.String columnLabel,
                               java.io.InputStream x)
                        throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBinaryStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(java.lang.String columnLabel,
                                  java.io.Reader reader)
                           throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateCharacterStream in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(int columnIndex,
                       java.io.InputStream inputStream)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateBlob

public void updateBlob(java.lang.String columnLabel,
                       java.io.InputStream inputStream)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(int columnIndex,
                       java.io.Reader reader)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateClob

public void updateClob(java.lang.String columnLabel,
                       java.io.Reader reader)
                throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(int columnIndex,
                        java.io.Reader reader)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(java.lang.String columnLabel,
                        java.io.Reader reader)
                 throws java.sql.SQLException
This method is not supported and will always throw a SQLException.

Specified by:
updateNClob in interface java.sql.ResultSet
Throws:
java.sql.SQLException

unwrap

public <T> T unwrap(java.lang.Class<T> iface)
         throws java.sql.SQLException

Specified by:
unwrap in interface java.sql.Wrapper
Throws:
java.sql.SQLException

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> iface)
                     throws java.sql.SQLException

Specified by:
isWrapperFor in interface java.sql.Wrapper
Throws:
java.sql.SQLException

getObject

public <T> T getObject(int columnIndex,
                       java.lang.Class<T> type)
            throws java.sql.SQLException
This method is not supported and will always throw a SQLException. Added for JDK 8 compatibility

Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException

getObject

public <T> T getObject(java.lang.String columnLabel,
                       java.lang.Class<T> type)
            throws java.sql.SQLException
This method is not supported and will always throw a SQLException. Added for JDK 8 compatibility

Specified by:
getObject in interface java.sql.ResultSet
Throws:
java.sql.SQLException



Copyright © 2009 SAS Institute Inc. All Rights Reserved.