public class DBClobData extends Object
| Constructor and Description |
|---|
DBClobData(Reader reader,
int length)
Constructor to pass LOB data to the setValue methods of
a record, consisting of the input stream where the data can be
loaded from and the length of the data.
|
DBClobData(String text)
Constructor for LobData from a string.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Returns the length of the CLOB data in characters.
|
Reader |
getReader()
Get the Reader for the large string
|
String |
toString()
Returns a CLOB String.
|
public DBClobData(Reader reader, int length) throws IllegalArgumentException
reader - The reader where the character data will be read fromlength - The number of characters to read from the readerIllegalArgumentException - If the reader is nullpublic DBClobData(String text) throws IllegalArgumentException
text - The string to be used as dataIllegalArgumentException - If the text is nullpublic Reader getReader()
public int getLength()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.