RecycleSegment

The segments used for the recycler. They contain a next pointer that points to the next recycler segment index. As well as a index for where it is located.

Members

Functions

end
Index end()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin HiBONRecord!(q{ @disable this(); this(const Index index, const ulong size, Index next = Index.init) pure nothrow { this.index = index; this.size = size; this.next = next; } this(BlockFile blockfile, const Index _index) in (_index != Index.init) do { blockfile.seek(_index); const doc = blockfile.file.fread(); check(RecycleSegment.isRecord(doc), "The loaded segment was not of type segment doc"); next = doc[GetLabel!(next).name].get!Index; size = doc[GetLabel!(size).name].get!ulong; index = _index; } this(const(Document) doc, const(Index) _index) in (_index != Index.init) do { index = Index(_index); this(doc); } })
Undocumented in source.

Variables

index
Index index;
Undocumented in source.
next
Index next;
Undocumented in source.
size
ulong size;
Undocumented in source.

Mixed In Members

From mixin HiBONRecord!(q{ @disable this(); this(const Index index, const ulong size, Index next = Index.init) pure nothrow { this.index = index; this.size = size; this.next = next; } this(BlockFile blockfile, const Index _index) in (_index != Index.init) do { blockfile.seek(_index); const doc = blockfile.file.fread(); check(RecycleSegment.isRecord(doc), "The loaded segment was not of type segment doc"); next = doc[GetLabel!(next).name].get!Index; size = doc[GetLabel!(size).name].get!ulong; index = _index; } this(const(Document) doc, const(Index) _index) in (_index != Index.init) do { index = Index(_index); this(doc); } })

check
alias check = Check!(HiBONRecordException)
Undocumented in source.
__anonymous
mixin JSONString
Undocumented in source.
__anonymous
mixin HiBONRecordType
Undocumented in source.
isRecord
alias isRecord = HiBONRecord.isRecord!ThisType
Undocumented in source.
HAS_TYPE
enum HAS_TYPE;
Undocumented in source.
less_than
bool less_than(Key a, Key b)
Undocumented in source. Be warned that the author may not have intended to support it.
toHiBON
inout(HiBON) toHiBON()
Undocumented in source. Be warned that the author may not have intended to support it.
NO_DEFAULT_CTOR
enum NO_DEFAULT_CTOR;
Undocumented in source.
GetKeyName
template GetKeyName(uint i)
Undocumented in source.
_keys
string[] _keys()
keys
enum keys;
Undocumented in source.
this
this(HiBON hibon)
Undocumented in source.
this
this(Document doc)
Undocumented in source.
serialize
immutable(ubyte[]) serialize()
Undocumented in source. Be warned that the author may not have intended to support it.
toDoc
const(Document) toDoc()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta