Documentation
¶
Index ¶
- type IndexWriter
- func (s *IndexWriter) IDsTable() seqids.Table
- func (s *IndexWriter) LIDsTable() lids.Table
- func (s *IndexWriter) TokenTable() token.Table
- func (s *IndexWriter) WriteIDFile(ws io.WriteSeeker, src frac.Source) error
- func (s *IndexWriter) WriteInfoFile(ws io.Writer, src frac.Source) error
- func (s *IndexWriter) WriteOffsetsFile(ws io.WriteSeeker, src frac.Source) error
- func (s *IndexWriter) WriteTokenTriplet(tws, lws io.WriteSeeker, src frac.Source) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexWriter ¶
type IndexWriter struct {
// contains filtered or unexported fields
}
func New ¶
func New(params frac.SealParams) *IndexWriter
func (*IndexWriter) IDsTable ¶
func (s *IndexWriter) IDsTable() seqids.Table
func (*IndexWriter) LIDsTable ¶
func (s *IndexWriter) LIDsTable() lids.Table
func (*IndexWriter) TokenTable ¶
func (s *IndexWriter) TokenTable() token.Table
func (*IndexWriter) WriteIDFile ¶
func (s *IndexWriter) WriteIDFile(ws io.WriteSeeker, src frac.Source) error
func (*IndexWriter) WriteInfoFile ¶
func (*IndexWriter) WriteOffsetsFile ¶
func (s *IndexWriter) WriteOffsetsFile(ws io.WriteSeeker, src frac.Source) error
WriteOffsetsFile writes the .offsets file containing a single BlockOffsets block.
func (*IndexWriter) WriteTokenTriplet ¶
func (s *IndexWriter) WriteTokenTriplet(tws, lws io.WriteSeeker, src frac.Source) error
Click to show internal directories.
Click to hide internal directories.