Uses of Class
javax.sql.rowset.serial.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
Modifier and TypeMethodDescriptionSerialArray.getArray()
Returns a new array that is a copy of thisSerialArray
object.SerialArray.getArray
(long index, int count) Returns a new array that is a copy of a slice of thisSerialArray
object, 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 thisSerialArray
object, 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 thisSerialArray
object, using the given type map for the custom mapping of each element when the elements are SQL UDTs.SerialClob.getAsciiStream()
Retrieves theCLOB
value designated by thisSerialClob
object as an ascii stream.Object[]
SerialStruct.getAttributes()
Retrieves an array ofObject
values containing the attributes of the SQL structured type that thisSerialStruct
object represents.Object[]
SerialStruct.getAttributes
(Map<String, Class<?>> map) Retrieves the attributes for the SQL structured type that thisSerialStruct
represents as an array ofObject
values, using the given type map for custom mapping if appropriate.int
SerialArray.getBaseType()
Retrieves the SQL type of the elements in thisSerialArray
object.SerialArray.getBaseTypeName()
Retrieves the DBMS-specific type name for the elements in thisSerialArray
object.SerialRef.getBaseTypeName()
Returns a string describing the base type name of theRef
.SerialBlob.getBinaryStream()
Returns thisSerialBlob
object as an input stream.byte[]
SerialBlob.getBytes
(long pos, int length) Copies the specified number of bytes, starting at the given position, from thisSerialBlob
object to another array of bytes.SerialClob.getCharacterStream()
Returns thisSerialClob
object's data as a stream of Unicode characters.SerialDatalink.getDatalink()
Returns a new URL that is a copy of thisSerialDatalink
object.Field[]
SerialJavaObject.getFields()
Returns an array ofField
objects that contains each field of the object that this helper class is serializing.SerialJavaObject.getObject()
Returns anObject
that is a copy of thisSerialJavaObject
object.SerialRef.getObject()
Returns anObject
representing the SQL structured type to which thisSerialRef
object refers.Returns anObject
representing the SQL structured type to which thisSerialRef
object refers.SerialArray.getResultSet()
Retrieves aResultSet
object that contains all of the elements in theARRAY
value that thisSerialArray
object represents.SerialArray.getResultSet
(long index, int count) Retrieves aResultSet
object 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 aResultSet
object that contains a subarray of the elements in thisSerialArray
object, starting at index index and containing up to count successive elements.SerialArray.getResultSet
(Map<String, Class<?>> map) Retrieves aResultSet
object that contains all of the elements of the SQLARRAY
value represented by thisSerialArray
object.SerialStruct.getSQLTypeName()
Retrieves the SQL type name for thisSerialStruct
object.SerialClob.getSubString
(long pos, int length) Returns a copy of the substring contained in thisSerialClob
object, starting at the given position and continuing for the specified number or characters.long
SerialBlob.length()
Retrieves the number of bytes in thisSerialBlob
object's array of bytes.long
SerialClob.length()
Retrieves the number of characters in thisSerialClob
object's array of characters.long
SerialBlob.position
(byte[] pattern, long start) Returns the position in thisSerialBlob
object where the given pattern of bytes begins, starting the search at the specified position.long
Returns the position in thisSerialBlob
object where the givenBlob
object begins, starting the search at the specified position.long
Returns the position in thisSerialClob
object where the givenString
object begins, starting the search at the specified position.long
Returns the position in thisSerialClob
object where the givenClob
signature begins, starting the search at the specified position.SerialClob.setAsciiStream
(long pos) Retrieves a stream to be used to write Ascii characters to theCLOB
value that thisSerialClob
object represents, starting at positionpos
.SerialBlob.setBinaryStream
(long pos) Retrieves a stream that can be used to write to theBLOB
value that thisBlob
object represents.int
SerialBlob.setBytes
(long pos, byte[] bytes) Writes the given array of bytes to theBLOB
value that thisBlob
object represents, starting at positionpos
, and returns the number of bytes written.int
SerialBlob.setBytes
(long pos, byte[] bytes, int offset, int length) Writes all or part of the givenbyte
array to theBLOB
value that thisBlob
object 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 theCLOB
value that thisSerialClob
object represents, at positionpos
.void
Sets the SQL structured type that thisSerialRef
object references to the givenObject
object.int
Writes the given JavaString
to theCLOB
value that thisSerialClob
object represents, at the positionpos
.int
Writeslen
characters ofstr
, starting at characteroffset
, to theCLOB
value that thisClob
represents.void
SerialBlob.truncate
(long length) Truncates theBLOB
value that thisBlob
object represents to belen
bytes in length.void
SerialClob.truncate
(long length) Truncates theCLOB
value that thisSerialClob
object represents so that it has a length oflen
characters.ModifierConstructorDescriptionSerialArray
(Array array) Constructs a newSerialArray
object from the givenArray
object.SerialArray
(Array array, Map<String, Class<?>> map) Constructs a newSerialArray
object from the givenArray
object, using the given type map for the custom mapping of each element when the elements are SQL UDTs.SerialBlob
(byte[] b) Constructs aSerialBlob
object that is a serialized version of the givenbyte
array.SerialBlob
(Blob blob) Constructs aSerialBlob
object that is a serialized version of the givenBlob
object.SerialClob
(char[] ch) Constructs aSerialClob
object that is a serialized version of the givenchar
array.SerialClob
(Clob clob) Constructs aSerialClob
object that is a serialized version of the givenClob
object.SerialDatalink
(URL url) Constructs a newSerialDatalink
object from the givenjava.net.URL
object.SerialJavaObject
(Object obj) Constructor forSerialJavaObject
helper class.Constructs aSerialRef
object from the givenRef
object.SerialStruct
(SQLData in, Map<String, Class<?>> map) Constructs aSerialStruct
object from the givenSQLData
object, 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 aSerialStruct
object from the givenStruct
object, using the givenjava.util.Map
object for custom mapping the SQL structured type or any of its attributes that are SQL structured types.