Definition at line 22 of file FixedRecordList.cs.
Deveel.Data.Store.FixedRecordList.FixedRecordList |
( |
IStore |
store, |
|
|
int |
elementSize |
|
) |
| |
|
inline |
Definition at line 35 of file FixedRecordList.cs.
readonly long[] blockElements
readonly IArea[] blockAreas
long Deveel.Data.Store.FixedRecordList.BlockFirstPosition |
( |
int |
blockNumber | ) |
|
|
inline |
long Deveel.Data.Store.FixedRecordList.BlockNodeCount |
( |
int |
blockNumber | ) |
|
|
inline |
long Deveel.Data.Store.FixedRecordList.Create |
( |
| ) |
|
|
inline |
Definition at line 58 of file FixedRecordList.cs.
62 writer.WriteInt4(
Magic);
IArea CreateArea(long size)
Allocates a block of memory in the store of the specified size and returns an IArea object that can b...
void UpdateListHeaderArea()
IArea GetArea(long id, bool readOnly)
Returns an object that allows for the contents of an area (represented by the id parameter) to be Re...
void Deveel.Data.Store.FixedRecordList.DecreaseSize |
( |
| ) |
|
|
inline |
Definition at line 157 of file FixedRecordList.cs.
readonly long[] blockElements
void DeleteArea(long id)
Deletes an area that was previously allocated by the CreateArea method by the area id...
void UpdateListHeaderArea()
readonly IArea[] blockAreas
void Deveel.Data.Store.FixedRecordList.GetAreasUsed |
( |
IList< long > |
usedAreas | ) |
|
|
inline |
IArea Deveel.Data.Store.FixedRecordList.GetRecord |
( |
long |
recordNumber | ) |
|
|
inline |
Definition at line 100 of file FixedRecordList.cs.
103 long work = recordNumber + 32;
109 long startOffset = (1 << (bit - 1)) - 32;
110 int blockOffset = bit - 6;
111 long recordOffset = recordNumber - startOffset;
long Position
Returns or sets the current position of the pointer within the area.
readonly IArea[] blockAreas
void Deveel.Data.Store.FixedRecordList.IncreaseSize |
( |
| ) |
|
|
inline |
Definition at line 137 of file FixedRecordList.cs.
143 var blockId = area.
Id;
IArea CreateArea(long size)
Allocates a block of memory in the store of the specified size and returns an IArea object that can b...
readonly long[] blockElements
void UpdateListHeaderArea()
readonly IArea[] blockAreas
IArea GetArea(long id, bool readOnly)
Returns an object that allows for the contents of an area (represented by the id parameter) to be Re...
long Id
Returns the unique identifier that represents this area.
void Deveel.Data.Store.FixedRecordList.Open |
( |
long |
listPointer | ) |
|
|
inline |
Definition at line 72 of file FixedRecordList.cs.
78 throw new IOException(
"Incorrect magic for list block. [magic=" + magic +
"]");
readonly long[] blockElements
readonly IArea[] blockAreas
IArea GetArea(long id, bool readOnly)
Returns an object that allows for the contents of an area (represented by the id parameter) to be Re...
long Deveel.Data.Store.FixedRecordList.ReadDeleteHead |
( |
| ) |
|
|
inline |
Definition at line 89 of file FixedRecordList.cs.
long Position
Returns or sets the current position of the pointer within the area.
void Deveel.Data.Store.FixedRecordList.UpdateListHeaderArea |
( |
| ) |
|
|
inlineprivate |
Definition at line 48 of file FixedRecordList.cs.
long Position
Returns or sets the current position of the pointer within the area.
readonly long[] blockElements
void Deveel.Data.Store.FixedRecordList.WriteDeleteHead |
( |
long |
value | ) |
|
|
inline |
Definition at line 94 of file FixedRecordList.cs.
long Position
Returns or sets the current position of the pointer within the area.
readonly IArea [] Deveel.Data.Store.FixedRecordList.blockAreas |
|
private |
readonly long [] Deveel.Data.Store.FixedRecordList.blockElements |
|
private |
readonly int Deveel.Data.Store.FixedRecordList.elementSize |
|
private |
IArea Deveel.Data.Store.FixedRecordList.headerArea |
|
private |
long Deveel.Data.Store.FixedRecordList.headerAreaId |
|
private |
const int Deveel.Data.Store.FixedRecordList.Magic = 0x087131AA |
|
private |
readonly IStore Deveel.Data.Store.FixedRecordList.store |
|
private |
int Deveel.Data.Store.FixedRecordList.BlockCount |
|
getprivate set |
long Deveel.Data.Store.FixedRecordList.NodeCount |
|
get |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Store/FixedRecordList.cs