Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Importer ¶
type Importer struct {
// contains filtered or unexported fields
}
func NewImporter ¶
func (*Importer) Import ¶
Import processes the specified file in the Config and writes the data to the databases in chunks specified by batchSize
func (*Importer) WriteLineProtocol ¶
func (i *Importer) WriteLineProtocol(data, database, retentionPolicy, precision, writeConsistency string) (*Response, error)
WriteLineProtocol takes a string with line returns to delimit each write If successful, error is nil and Response is nil If an error occurs, Response may contain additional information if populated.
Click to show internal directories.
Click to hide internal directories.