This PR first changes the VirtualDocument APIs, by replacing all the function names containingwrite/set, which are requiring to do append write, to append.
It also modifies the PartitionDocument and FileDocument by adding a type parameter T. Using this T, the FileDocument supports iterator and get by index to provide caller more convenient way of doing read.
This PR first changes the VirtualDocument APIs, by replacing all the function names containing
write
/set
, which are requiring to do append write, toappend
.It also modifies the
PartitionDocument
andFileDocument
by adding a type parameterT
. Using this T, theFileDocument
supports iterator and get by index to provide caller more convenient way of doing read.