v8

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Username         string
	Password         string
	URL              url.URL
	Precision        string
	WriteConsistency string
	Path             string
	Version          string
	Compressed       bool
	PPS              int
}

Config is the config used to initialize a Importer importer

func NewConfig

func NewConfig() *Config

NewConfig returns an initialized *Config

type Importer

type Importer struct {
	// contains filtered or unexported fields
}

Importer is the importer used for importing 0.8 data

func NewImporter

func NewImporter(config *Config) *Importer

NewImporter will return an intialized Importer struct

func (*Importer) Import

func (i *Importer) Import() error

Import processes the specified file in the Config and writes the data to the databases in chunks specified by batchSize

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL