Uses of Class
javax.sql.rowset.serial.SerialException
Packages that use SerialException
Package
Description
Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
-
Uses of SerialException in javax.sql.rowset.serial
Methods in javax.sql.rowset.serial that throw SerialExceptionModifier and TypeMethodDescriptionSerialArray.getArray()Returns a new array that is a copy of thisSerialArrayobject.SerialArray.getArray(long index, int count) Returns a new array that is a copy of a slice of thisSerialArrayobject, starting with the element at the given index and containing the given number of consecutive elements.Returns a new array that is a copy of a slice of thisSerialArrayobject, starting with the element at the given index and containing the given number of consecutive elements.Returns a new array that is a copy of thisSerialArrayobject, using the given type map for the custom mapping of each element when the elements are SQL UDTs.SerialClob.getAsciiStream()Retrieves theCLOBvalue designated by thisSerialClobobject as an ascii stream.Object[]SerialStruct.getAttributes()Retrieves an array ofObjectvalues containing the attributes of the SQL structured type that thisSerialStructobject represents.Object[]SerialStruct.getAttributes(Map<String, Class<?>> map) Retrieves the attributes for the SQL structured type that thisSerialStructrepresents as an array ofObjectvalues, using the given type map for custom mapping if appropriate.intSerialArray.getBaseType()Retrieves the SQL type of the elements in thisSerialArrayobject.SerialArray.getBaseTypeName()Retrieves the DBMS-specific type name for the elements in thisSerialArrayobject.SerialRef.getBaseTypeName()Returns a string describing the base type name of theRef.SerialBlob.getBinaryStream()Returns thisSerialBlobobject as an input stream.byte[]SerialBlob.getBytes(long pos, int length) Copies the specified number of bytes, starting at the given position, from thisSerialBlobobject to another array of bytes.SerialClob.getCharacterStream()Returns thisSerialClobobject's data as a stream of Unicode characters.SerialDatalink.getDatalink()Returns a new URL that is a copy of thisSerialDatalinkobject.Field[]SerialJavaObject.getFields()Returns an array ofFieldobjects that contains each field of the object that this helper class is serializing.SerialJavaObject.getObject()Returns anObjectthat is a copy of thisSerialJavaObjectobject.SerialRef.getObject()Returns anObjectrepresenting the SQL structured type to which thisSerialRefobject refers.Returns anObjectrepresenting the SQL structured type to which thisSerialRefobject refers.SerialArray.getResultSet()Retrieves aResultSetobject that contains all of the elements in theARRAYvalue that thisSerialArrayobject represents.SerialArray.getResultSet(long index, int count) Retrieves aResultSetobject holding the elements of the subarray that starts at index index and contains up to count successive elements.SerialArray.getResultSet(long index, int count, Map<String, Class<?>> map) Retrieves a result set holding the elements of the subarray that starts at Retrieves aResultSetobject that contains a subarray of the elements in thisSerialArrayobject, starting at index index and containing up to count successive elements.SerialArray.getResultSet(Map<String, Class<?>> map) Retrieves aResultSetobject that contains all of the elements of the SQLARRAYvalue represented by thisSerialArrayobject.SerialStruct.getSQLTypeName()Retrieves the SQL type name for thisSerialStructobject.SerialClob.getSubString(long pos, int length) Returns a copy of the substring contained in thisSerialClobobject, starting at the given position and continuing for the specified number or characters.longSerialBlob.length()Retrieves the number of bytes in thisSerialBlobobject's array of bytes.longSerialClob.length()Retrieves the number of characters in thisSerialClobobject's array of characters.longSerialBlob.position(byte[] pattern, long start) Returns the position in thisSerialBlobobject where the given pattern of bytes begins, starting the search at the specified position.longReturns the position in thisSerialBlobobject where the givenBlobobject begins, starting the search at the specified position.longReturns the position in thisSerialClobobject where the givenStringobject begins, starting the search at the specified position.longReturns the position in thisSerialClobobject where the givenClobsignature begins, starting the search at the specified position.SerialClob.setAsciiStream(long pos) Retrieves a stream to be used to write Ascii characters to theCLOBvalue that thisSerialClobobject represents, starting at positionpos.SerialBlob.setBinaryStream(long pos) Retrieves a stream that can be used to write to theBLOBvalue that thisBlobobject represents.intSerialBlob.setBytes(long pos, byte[] bytes) Writes the given array of bytes to theBLOBvalue that thisBlobobject represents, starting at positionpos, and returns the number of bytes written.intSerialBlob.setBytes(long pos, byte[] bytes, int offset, int length) Writes all or part of the givenbytearray to theBLOBvalue that thisBlobobject represents and returns the number of bytes written.SerialClob.setCharacterStream(long pos) Retrieves a stream to be used to write a stream of Unicode characters to theCLOBvalue that thisSerialClobobject represents, at positionpos.voidSets the SQL structured type that thisSerialRefobject references to the givenObjectobject.intWrites the given JavaStringto theCLOBvalue that thisSerialClobobject represents, at the positionpos.intWriteslencharacters ofstr, starting at characteroffset, to theCLOBvalue that thisClobrepresents.voidSerialBlob.truncate(long length) Truncates theBLOBvalue that thisBlobobject represents to belenbytes in length.voidSerialClob.truncate(long length) Truncates theCLOBvalue that thisSerialClobobject represents so that it has a length oflencharacters.Constructors in javax.sql.rowset.serial that throw SerialExceptionModifierConstructorDescriptionSerialArray(Array array) Constructs a newSerialArrayobject from the givenArrayobject.SerialArray(Array array, Map<String, Class<?>> map) Constructs a newSerialArrayobject from the givenArrayobject, using the given type map for the custom mapping of each element when the elements are SQL UDTs.SerialBlob(byte[] b) Constructs aSerialBlobobject that is a serialized version of the givenbytearray.SerialBlob(Blob blob) Constructs aSerialBlobobject that is a serialized version of the givenBlobobject.SerialClob(char[] ch) Constructs aSerialClobobject that is a serialized version of the givenchararray.SerialClob(Clob clob) Constructs aSerialClobobject that is a serialized version of the givenClobobject.SerialDatalink(URL url) Constructs a newSerialDatalinkobject from the givenjava.net.URLobject.SerialJavaObject(Object obj) Constructor forSerialJavaObjecthelper class.Constructs aSerialRefobject from the givenRefobject.SerialStruct(SQLData in, Map<String, Class<?>> map) Constructs aSerialStructobject from the givenSQLDataobject, using the given type map to custom map it to a class in the Java programming language.SerialStruct(Struct in, Map<String, Class<?>> map) Constructs aSerialStructobject from the givenStructobject, using the givenjava.util.Mapobject for custom mapping the SQL structured type or any of its attributes that are SQL structured types.