RecordFactory.Recorder

Recorder to recorder (REMOVE, ADD) actions while can be executed by the modify method

Members

Aliases

Archives
alias Archives = RedBlackTree!(Archive, archive_sorted)
Undocumented in source.

Functions

add
const(Archive) add(T pack)
Undocumented in source. Be warned that the author may not have intended to support it.
archive
Archive archive(Document doc, Archive.Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
archive
Archive archive(T pack, Archive.Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
changeTypes
Recorder changeTypes(GetType get_type)
Undocumented in source. Be warned that the author may not have intended to support it.
checkSorted
bool checkSorted()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()

Clear all archives

dump
void dump(File fout)
Undocumented in source. Be warned that the author may not have intended to support it.
dup
Recorder dup()
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()

Check if the recorder contains archives

find
Archive find(const(DARTIndex) dart_index)

Finds an archive with the fingerprint

find
Archive find(const(Buffer) fingerprint)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
const(Archive) insert(Document doc, Archive.Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
const(Archive) insert(T pack, Archive.Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
void insert(Archive archive)
Undocumented in source.
insert
void insert(R range, Archive.Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
void insert(Recorder r)
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()

Length of the archives

opSlice
Archives.ConstRange opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
Archives.Range opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
Archives.ImmutableRange opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
remove
const(Archive) remove(T pack)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(const(DARTIndex) fingerprint)
Undocumented in source.
remove
void remove(const(Buffer) fingerprint)
Undocumented in source. Be warned that the author may not have intended to support it.
removeOutOfRange
void removeOutOfRange(ushort from, ushort to)
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.

Mixins

__anonymous
mixin JSONString
Undocumented in source.
__anonymous
mixin HiBONRecordType
Undocumented in source.

Variables

archives
Archives archives;
Undocumented in source.

Mixed In Members

From mixin JSONString

toString
void toString(void delegate(scope const(char)[]) @(safe) sink, FormatSpec!char fmt)
Undocumented in source. Be warned that the author may not have intended to support it.

From mixin HiBONRecordType

ThisType
alias ThisType = typeof(this)
Undocumented in source.
record_types
alias record_types = getUDAs!(ThisType, recordType)
Undocumented in source.
type_name
enum type_name;
Undocumented in source.
isRecord
alias isRecord = isRecordT!ThisType
Undocumented in source.
isRecord
bool isRecord(Document doc)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta