Definition at line 25 of file IndexBlock.cs.
Deveel.Data.Index.IndexBlock.IndexBlock |
( |
IndexSetStore |
indexSetStore, |
|
|
int |
indexNum, |
|
|
int |
blockSize, |
|
|
long |
startOffset |
|
) |
| |
|
inline |
Definition at line 34 of file IndexBlock.cs.
readonly IndexSetStore indexSetStore
long Position
Returns or sets the current position of the pointer within the area.
readonly long blockEntries
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.Index.IndexBlock.AddDeletedArea |
( |
long |
pointer | ) |
|
|
inline |
void Deveel.Data.Index.IndexBlock.AddReference |
( |
| ) |
|
|
inline |
Definition at line 142 of file IndexBlock.cs.
145 throw new Exception(
"Assertion failed: Block was freed.");
IIndex Deveel.Data.Index.IndexBlock.CreateIndex |
( |
| ) |
|
|
inline |
Definition at line 109 of file IndexBlock.cs.
readonly IndexSetStore indexSetStore
IEnumerable< IMappedBlock > CreateMappedBlocks()
IEnumerable<IMappedBlock> Deveel.Data.Index.IndexBlock.CreateMappedBlocks |
( |
| ) |
|
|
inlineprivate |
Definition at line 81 of file IndexBlock.cs.
91 var firstEntry = indexBlockArea.ReadInt8();
92 var lastEntry = indexBlockArea.ReadInt8();
93 var blockPointer = indexBlockArea.ReadInt8();
94 var typeSize = indexBlockArea.ReadInt4();
98 int elementCount = typeSize & 0x0FFF;
101 blocks[i] = StoreIndex.NewMappedBlock(
indexSetStore, firstEntry, lastEntry, blockPointer, elementCount, type,
readonly IndexSetStore indexSetStore
long Position
Returns or sets the current position of the pointer within the area.
readonly long blockEntries
static int URShift(int number, int bits)
Operates a shift on the given integer by the number of bits specified.
A wrapper for an array of byte.
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...
bool Deveel.Data.Index.IndexBlock.DeleteBlockChain |
( |
| ) |
|
|
inlineprivate |
Definition at line 116 of file IndexBlock.cs.
117 bool parentDeleted =
true;
139 return parentDeleted;
readonly IndexSetStore indexSetStore
void DeleteAreas(IEnumerable< int > deletedAreas)
long [] Deveel.Data.Index.IndexBlock.GetBlockPointers |
( |
| ) |
|
|
inline |
Definition at line 58 of file IndexBlock.cs.
69 indexBlockArea.ReadInt8();
70 indexBlockArea.ReadInt8();
71 long elementP = indexBlockArea.ReadInt8();
72 indexBlockArea.ReadInt4();
readonly IndexSetStore indexSetStore
long Position
Returns or sets the current position of the pointer within the area.
readonly long blockEntries
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.Index.IndexBlock.MarkAsDeleted |
( |
| ) |
|
|
inline |
void Deveel.Data.Index.IndexBlock.RemoveReference |
( |
| ) |
|
|
inline |
Definition at line 151 of file IndexBlock.cs.
152 bool pendingDelete =
false;
157 throw new Exception(
"Assertion failed: remove reference called too many times.");
160 throw new Exception(
"Assertion failed: not deleted and with deleted areas");
167 pendingDelete =
true;
readonly IndexSetStore indexSetStore
void AddDeletedArea(long pointer)
readonly long Deveel.Data.Index.IndexBlock.blockEntries |
|
private |
List<int> Deveel.Data.Index.IndexBlock.deletedAreas |
|
private |
readonly int Deveel.Data.Index.IndexBlock.indexNum |
|
private |
readonly IndexSetStore Deveel.Data.Index.IndexBlock.indexSetStore |
|
private |
int Deveel.Data.Index.IndexBlock.refCount |
|
private |
int Deveel.Data.Index.IndexBlock.BlockSize |
|
getprivate set |
bool Deveel.Data.Index.IndexBlock.IsDeleted |
|
getprivate set |
bool Deveel.Data.Index.IndexBlock.IsFreed |
|
getprivate set |
long Deveel.Data.Index.IndexBlock.StartOffset |
|
getprivate set |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Index/IndexBlock.cs