Documentation ¶
Index ¶
- func NewDataReader(r backend.ContextReader) common.DataReader
- func NewDataWriter(writer io.Writer) common.DataWriter
- func NewIndexReader(r backend.ContextReader) (common.IndexReader, error)
- func NewIndexWriter() common.IndexWriter
- func NewObjectReaderWriter() common.ObjectReaderWriter
- func NewRecordReaderWriter() common.RecordReaderWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataReader ¶ added in v0.7.0
func NewDataReader(r backend.ContextReader) common.DataReader
NewDataReader returns a new v0 dataReader. A v0 dataReader is basically a no-op. It retrieves the requested byte ranges and returns them as is. A pages "format" is a contiguous collection of objects | -- object -- | -- object -- | ...
func NewDataWriter ¶ added in v0.7.0
func NewDataWriter(writer io.Writer) common.DataWriter
NewDataWriter creates a v0 page writer. This page writer writes raw bytes only
func NewIndexReader ¶
func NewIndexReader(r backend.ContextReader) (common.IndexReader, error)
NewIndexReader returns an index reader for a byte slice of marshalled ordered records.
func NewIndexWriter ¶ added in v0.7.0
func NewIndexWriter() common.IndexWriter
NewIndexWriter returns an index writer
func NewObjectReaderWriter ¶ added in v0.7.0
func NewObjectReaderWriter() common.ObjectReaderWriter
func NewRecordReaderWriter ¶ added in v0.7.0
func NewRecordReaderWriter() common.RecordReaderWriter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.