A base class for streaming text to a database.
More...
|
| TextReader | OpenReader () |
| | Provides read access to the text of this Clob by providing a stream.
|
| |
| virtual void | WriteTo (TextWriter writer) |
| | Writes the data of this Clob to a TextWriter.
|
| |
| virtual void | WriteTo (Stream output, Encoding encoding) |
| | Writes the data of this Clob to a stream.
|
| |
|
| const int | BUFFERSIZE = 2048 |
| | Size of the bufer for all buffered operations.
|
| |
A base class for streaming text to a database.
- Since
- 0.3.0
◆ OpenReader()
| TextReader Joutsen.Persistence.Lobs.Clob.OpenReader |
( |
| ) |
|
|
abstract |
Provides read access to the text of this Clob by providing a stream.
- Returns
- a reader that provides read access to the data
◆ WriteTo() [1/2]
| virtual void Joutsen.Persistence.Lobs.Clob.WriteTo |
( |
Stream |
output, |
|
|
Encoding |
encoding |
|
) |
| |
|
virtual |
Writes the data of this Clob to a stream.
- Parameters
-
| output | the stream to write the data to |
| encoding | the encoding to use when writing |
◆ WriteTo() [2/2]
| virtual void Joutsen.Persistence.Lobs.Clob.WriteTo |
( |
TextWriter |
writer | ) |
|
|
virtual |
Writes the data of this Clob to a TextWriter.
- Parameters
-
| writer | the writer used to write the data |
◆ BUFFERSIZE
| const int Joutsen.Persistence.Lobs.Clob.BUFFERSIZE = 2048 |
|
staticprotected |
Size of the bufer for all buffered operations.