|
override void | Dispose (bool disposing) |
|
Definition at line 21 of file ObjectStream.cs.
Deveel.Data.Store.ObjectStream.ObjectStream |
( |
ILargeObject |
largeObject | ) |
|
|
inline |
Definition at line 31 of file ObjectStream.cs.
33 throw new ArgumentNullException(
"largeObject");
readonly ILargeObject largeObject
override void Deveel.Data.Store.ObjectStream.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotected |
void Deveel.Data.Store.ObjectStream.FillBuffer |
( |
long |
pos | ) |
|
|
inlineprivate |
Definition at line 46 of file ObjectStream.cs.
readonly ILargeObject largeObject
void ReadPageContent(byte[] buffer, long pos, int length)
long RawSize
Gets the raw byte size of the object.
override void Deveel.Data.Store.ObjectStream.Flush |
( |
| ) |
|
|
inline |
Definition at line 65 of file ObjectStream.cs.
77 while (offset < totalLength) {
80 int blockRead = (int)
System.Math.Min((
long)
BufferSize, (totalLength - offset));
81 int toRead = blockRead;
readonly ILargeObject largeObject
void Write(long offset, byte[] buffer, int length)
Write the given binary content into the object, starting at the given offset for the number of bytes ...
override int Deveel.Data.Store.ObjectStream.Read |
( |
byte[] |
buffer, |
|
|
int |
offset, |
|
|
int |
count |
|
) |
| |
|
inline |
Definition at line 109 of file ObjectStream.cs.
111 throw new IOException(
"The underlying object is not complete.");
123 int toRead = (int)
System.Math.Min((
long) count, bufferEnd -
position);
140 toRead = (int)
System.Math.Min((
long)count, bufferEnd -
position);
readonly ILargeObject largeObject
long RawSize
Gets the raw byte size of the object.
void FillBuffer(long pos)
bool IsComplete
Gets a value indicating if the object is in its complete state, that means it cannot be written furth...
void Deveel.Data.Store.ObjectStream.ReadPageContent |
( |
byte[] |
buffer, |
|
|
long |
pos, |
|
|
int |
length |
|
) |
| |
|
inlineprivate |
Definition at line 42 of file ObjectStream.cs.
readonly ILargeObject largeObject
int Read(long offset, byte[] buffer, int length)
Reads the content of the object, starting at a given offset, into the buffer given, for the number of bytes specified.
override long Deveel.Data.Store.ObjectStream.Seek |
( |
long |
offset, |
|
|
SeekOrigin |
origin |
|
) |
| |
|
inline |
override void Deveel.Data.Store.ObjectStream.SetLength |
( |
long |
value | ) |
|
|
inline |
Definition at line 105 of file ObjectStream.cs.
106 throw new NotSupportedException(
"The lenght of the underlying object cannot be changed.");
override void Deveel.Data.Store.ObjectStream.Write |
( |
byte[] |
buffer, |
|
|
int |
offset, |
|
|
int |
count |
|
) |
| |
|
inline |
Definition at line 146 of file ObjectStream.cs.
148 throw new IOException(
"The underlying object is complete.");
readonly ILargeObject largeObject
bool IsComplete
Gets a value indicating if the object is in its complete state, that means it cannot be written furth...
const int Deveel.Data.Store.ObjectStream.BufferSize = 64*1024 |
|
private |
readonly ILargeObject Deveel.Data.Store.ObjectStream.largeObject |
|
private |
Stream Deveel.Data.Store.ObjectStream.outTempStream |
|
private |
long Deveel.Data.Store.ObjectStream.position |
|
private |
readonly byte [] Deveel.Data.Store.ObjectStream.readBuf |
|
private |
long Deveel.Data.Store.ObjectStream.readBufferPos |
|
private |
override bool Deveel.Data.Store.ObjectStream.CanRead |
|
get |
override bool Deveel.Data.Store.ObjectStream.CanSeek |
|
get |
override bool Deveel.Data.Store.ObjectStream.CanWrite |
|
get |
override long Deveel.Data.Store.ObjectStream.Length |
|
get |
override long Deveel.Data.Store.ObjectStream.Position |
|
getset |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Store/ObjectStream.cs