Versions in this module Expand all Collapse all v0 v0.0.1 Aug 10, 2024 Changes in this version + var DefaultNullValues = []string + var ErrMismatchFields = errors.New("arrow/csv: number of records mismatch") + type Option func(config) + func WithAllocator(mem memory.Allocator) Option + func WithBoolWriter(fmtr func(bool) string) Option + func WithCRLF(useCRLF bool) Option + func WithChunk(n int) Option + func WithColumnTypes(types map[string]arrow.DataType) Option + func WithComma(c rune) Option + func WithComment(c rune) Option + func WithHeader(useHeader bool) Option + func WithIncludeColumns(cols []string) Option + func WithLazyQuotes(useLazyQuotes bool) Option + func WithNullReader(stringsCanBeNull bool, nullValues ...string) Option + func WithNullWriter(null string) Option + func WithStringsReplacer(replacer *strings.Replacer) Option + type Reader struct + func NewInferringReader(r io.Reader, opts ...Option) *Reader + func NewReader(r io.Reader, schema *arrow.Schema, opts ...Option) *Reader + func (r *Reader) Err() error + func (r *Reader) Next() bool + func (r *Reader) Record() arrow.Record + func (r *Reader) Release() + func (r *Reader) Retain() + func (r *Reader) Schema() *arrow.Schema + type Writer struct + func NewWriter(w io.Writer, schema *arrow.Schema, opts ...Option) *Writer + func (w *Writer) Error() error + func (w *Writer) Flush() error + func (w *Writer) Schema() *arrow.Schema + func (w *Writer) Write(record arrow.Record) error