csvsplitter

package
v0.0.0-...-d4b8c80 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2014 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVReader

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

func NewCSVReader

func NewCSVReader(r io.Reader, delim byte) *CSVReader

func (CSVReader) ReadRecord

func (r CSVReader) ReadRecord() (line []byte, err error)

ReadRecord returns a keyspaceId and a line from which it was extracted, with the keyspaceId stripped.

type KeyspaceCSVReader

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

func NewKeyspaceCSVReader

func NewKeyspaceCSVReader(r io.Reader, delim byte, numberColumn bool) *KeyspaceCSVReader

func (KeyspaceCSVReader) ReadRecord

func (r KeyspaceCSVReader) ReadRecord() (keyspaceId key.KeyspaceId, line []byte, err error)

ReadRecord returns a keyspaceId and a line from which it was extracted, with the keyspaceId stripped.

Jump to

Keyboard shortcuts

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