datawriter

package
v0.2.0-alpha-test Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVOrionWriter

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

func (*CSVOrionWriter) Close

func (w *CSVOrionWriter) Close() error

Close CSV file for writing (calls Flush() implicitly)

func (*CSVOrionWriter) Flush

func (w *CSVOrionWriter) Flush() error

Flush forces any pending writes

func (*CSVOrionWriter) Write

func (cmw *CSVOrionWriter) Write(row []string) error

func (*CSVOrionWriter) WriteAll

func (cmw *CSVOrionWriter) WriteAll(rows [][]string) error

func (*CSVOrionWriter) WriteOutput

func (cmw *CSVOrionWriter) WriteOutput(header []string, values [][]string) error

type OrionWriter

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

func NewOrionWriter

func NewOrionWriter(module string, orionRuntime string, outputtype string, fp string) (OrionWriter, error)

func (OrionWriter) Close

func (mw OrionWriter) Close() error

func (OrionWriter) GetOrionRuntime

func (mw OrionWriter) GetOrionRuntime() string

func (OrionWriter) GetOutfilePath

func (mw OrionWriter) GetOutfilePath() string

func (OrionWriter) GetOutputType

func (mw OrionWriter) GetOutputType() string

func (OrionWriter) SelfDestruct

func (mw OrionWriter) SelfDestruct() error

func (OrionWriter) Write

func (mw OrionWriter) Write(entry []string) error

Write writes a single entry to output

func (OrionWriter) WriteAll

func (mw OrionWriter) WriteAll(entries [][]string) error

WriteAll writes multiple entries to output

func (OrionWriter) WriteHeader

func (mw OrionWriter) WriteHeader(header []string) error

func (OrionWriter) WriteOutput

func (mw OrionWriter) WriteOutput(header []string, entries [][]string) error

type OrionWriterInterface

type OrionWriterInterface interface {
	Write() error
	WriteAll() error
}

type XLSXOrionWriter

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

Jump to

Keyboard shortcuts

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