org.sourceforge.jxdbcon
Class AbstractSQLInput
java.lang.Object
|
+--org.sourceforge.jxdbcon.AbstractSQLInput
- All Implemented Interfaces:
- SQLInput
- Direct Known Subclasses:
- DefaultSQLInput
- public abstract class AbstractSQLInput
- extends Object
- implements SQLInput
AbstractSQLInput implements generics of the SQLInput interface.
- Version:
- $Revision: 1.4 $, $Date: 2002/03/16 01:26:07 $
- Author:
- Keve Müller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buf
private final Object buf
ctx
private final ConversionContext ctx
AbstractSQLInput
protected AbstractSQLInput(Object buf,
ConversionContext ctx)
getType
protected abstract AbstractType getType(int idx)
- Return the AbstractType of the idexed element.
readArray
public final Array readArray()
throws SQLException
- Specified by:
readArray
in interface SQLInput
SQLException
readAsciiStream
public final InputStream readAsciiStream()
throws SQLException
- Specified by:
readAsciiStream
in interface SQLInput
SQLException
readBigDecimal
public final BigDecimal readBigDecimal()
throws SQLException
- Specified by:
readBigDecimal
in interface SQLInput
SQLException
readBinaryStream
public final InputStream readBinaryStream()
throws SQLException
- Specified by:
readBinaryStream
in interface SQLInput
SQLException
readBlob
public final Blob readBlob()
throws SQLException
- Specified by:
readBlob
in interface SQLInput
SQLException
readBoolean
public final boolean readBoolean()
throws SQLException
- Specified by:
readBoolean
in interface SQLInput
SQLException
readByte
public final byte readByte()
throws SQLException
- Specified by:
readByte
in interface SQLInput
SQLException
readBytes
public final byte[] readBytes()
throws SQLException
- Specified by:
readBytes
in interface SQLInput
SQLException
readCharacterStream
public final Reader readCharacterStream()
throws SQLException
- Specified by:
readCharacterStream
in interface SQLInput
SQLException
readClob
public final Clob readClob()
throws SQLException
- Specified by:
readClob
in interface SQLInput
SQLException
readDate
public final Date readDate()
throws SQLException
- Specified by:
readDate
in interface SQLInput
SQLException
readDouble
public final double readDouble()
throws SQLException
- Specified by:
readDouble
in interface SQLInput
SQLException
readFloat
public final float readFloat()
throws SQLException
- Specified by:
readFloat
in interface SQLInput
SQLException
readInt
public final int readInt()
throws SQLException
- Specified by:
readInt
in interface SQLInput
SQLException
readLong
public final long readLong()
throws SQLException
- Specified by:
readLong
in interface SQLInput
SQLException
readObject
public final Object readObject()
throws SQLException
- Specified by:
readObject
in interface SQLInput
SQLException
readRef
public final Ref readRef()
throws SQLException
- Specified by:
readRef
in interface SQLInput
SQLException
readShort
public final short readShort()
throws SQLException
- Specified by:
readShort
in interface SQLInput
SQLException
readString
public final String readString()
throws SQLException
- Specified by:
readString
in interface SQLInput
SQLException
readTime
public final Time readTime()
throws SQLException
- Specified by:
readTime
in interface SQLInput
SQLException
readTimestamp
public final Timestamp readTimestamp()
throws SQLException
- Specified by:
readTimestamp
in interface SQLInput
SQLException
readURL
public final URL readURL()
throws SQLException
- Specified by:
readURL
in interface SQLInput
SQLException
wasNull
public final boolean wasNull()
- Specified by:
wasNull
in interface SQLInput
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.