Documentation ¶
Index ¶
- type MultiFileLineReader
- func (m *MultiFileLineReader) GetLastRecordPtr() int64
- func (m *MultiFileLineReader) GetPercent() float64
- func (m *MultiFileLineReader) Next() bool
- func (m *MultiFileLineReader) SetCurrFileIndex(index int)
- func (m *MultiFileLineReader) SetRecoverPtr(file string, ptr int64) error
- func (m *MultiFileLineReader) Text() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiFileLineReader ¶
type MultiFileLineReader struct {
// contains filtered or unexported fields
}
func NewMultiFileLineReader ¶
func NewMultiFileLineReader(files ...string) (*MultiFileLineReader, error)
func (*MultiFileLineReader) GetLastRecordPtr ¶
func (m *MultiFileLineReader) GetLastRecordPtr() int64
func (*MultiFileLineReader) GetPercent ¶
func (m *MultiFileLineReader) GetPercent() float64
func (*MultiFileLineReader) Next ¶
func (m *MultiFileLineReader) Next() bool
func (*MultiFileLineReader) SetCurrFileIndex ¶
func (m *MultiFileLineReader) SetCurrFileIndex(index int)
func (*MultiFileLineReader) SetRecoverPtr ¶
func (m *MultiFileLineReader) SetRecoverPtr(file string, ptr int64) error
SetRecoverPtr 设置扫描文件对应的指针位置
func (*MultiFileLineReader) Text ¶
func (m *MultiFileLineReader) Text() string
Click to show internal directories.
Click to hide internal directories.