package shard
import "github.com/influxdata/influxdb/internal/shard"
Index ¶
- func AutoNumber() option
- func Generation(gen int) option
- func Sequence(seq int) option
- func Temporary() option
- type Writer
Functions ¶
func AutoNumber ¶
func AutoNumber() option
AutoNumber will read the existing TSM file names and use generation + 1
func Generation ¶
func Generation(gen int) option
Generation specifies the generation number of the tsm files.
func Sequence ¶
func Sequence(seq int) option
Sequence specifies the starting sequence number of the tsm files.
func Temporary ¶
func Temporary() option
Temporary configures the writer to create tsm.tmp files.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func NewWriter ¶
func (*Writer) Close ¶
func (w *Writer) Close()
Close closes the writer.
func (*Writer) Err ¶
func (*Writer) Files ¶
Files returns the full paths of all the files written by the Writer.
func (*Writer) ShardID ¶
ShardID returns the shard number of the writer.
func (*Writer) Write ¶
func (*Writer) WriteV ¶
Source Files ¶
- Version
- v1.12.0 (latest)
- Published
- Apr 8, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 2 days ago –
Tools for package owners.