DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Defines the contract for stores that handle lrge objects within a database system. More...
Public Member Functions | |
ILargeObject | CreateNewObject (long maxSize, bool compressed) |
Creates a new large object returning a reference to it. More... | |
ILargeObject | GetObject (ObjectId id) |
Gets an object that was previously created for the given unique identifier. More... | |
long | Create () |
void | Open (long startOffset) |
Properties | |
int | Id [get] |
Gets the unique identifier of the store within a database system. More... | |
Defines the contract for stores that handle lrge objects within a database system.
Object stores manage a variety of ObjectType and must allow the creation and establishments of different type of objects (strings or binaries).
Every object store has a unique identifier that is used to resolve the final address of a large object.
Definition at line 35 of file IObjectStore.cs.
long Deveel.Data.Store.IObjectStore.Create | ( | ) |
Implemented in Deveel.Data.Store.ObjectStore.
ILargeObject Deveel.Data.Store.IObjectStore.CreateNewObject | ( | long | maxSize, |
bool | compressed | ||
) |
Creates a new large object returning a reference to it.
maxSize | The maximum byte size that the object will use. This is a value to provide ahead of time and that will not change. |
compressed | Indicates whether the created object contents will be compressed. Compression reduces the amount of size occupied by the object, but it will also affect performances when writing and reading. |
DataStorageException | If an error occurred when creating the object. |
Implemented in Deveel.Data.Store.ObjectStore.
ILargeObject Deveel.Data.Store.IObjectStore.GetObject | ( | ObjectId | id | ) |
Gets an object that was previously created for the given unique identifier.
id | The unique identifier of the object to return. |
InvalidObjectIdException | If the given id is outside the range of the store. |
Implemented in Deveel.Data.Store.ObjectStore.
void Deveel.Data.Store.IObjectStore.Open | ( | long | startOffset | ) |
Implemented in Deveel.Data.Store.ObjectStore.
|
get |
Gets the unique identifier of the store within a database system.
Definition at line 39 of file IObjectStore.cs.