Documentation ¶
Index ¶
- Constants
- Variables
- func GzipReader(r io.Reader) (io.Reader, error)
- func NewFile(zctx *zed.Context, rc io.ReadCloser, path string, opts ReaderOpts) (*zbuf.File, error)
- func NewReader(zctx *zed.Context, r io.Reader) (zio.ReadCloser, error)
- func NewReaderWithOpts(zctx *zed.Context, r io.Reader, opts ReaderOpts) (zio.ReadCloser, error)
- func NewWriter(w io.WriteCloser, opts WriterOpts) (zio.WriteCloser, error)
- func Open(ctx context.Context, zctx *zed.Context, engine storage.Engine, path string, ...) (*zbuf.File, error)
- type ReaderOpts
- type Recorder
- type Track
- type WriterOpts
Constants ¶
View Source
const InitBufferSize = 8 * 1024
View Source
const MaxBufferSize = 10 * 1024 * 1024
View Source
const TrackSize = InitBufferSize
Variables ¶
View Source
var ErrBufferOverflow = errors.New("buffer exceeded max size trying to infer input format")
Functions ¶
func NewFile ¶
func NewFile(zctx *zed.Context, rc io.ReadCloser, path string, opts ReaderOpts) (*zbuf.File, error)
func NewReaderWithOpts ¶
func NewReaderWithOpts(zctx *zed.Context, r io.Reader, opts ReaderOpts) (zio.ReadCloser, error)
func NewWriter ¶
func NewWriter(w io.WriteCloser, opts WriterOpts) (zio.WriteCloser, error)
Types ¶
type ReaderOpts ¶
type ReaderOpts struct { Format string CSV csvio.ReaderOpts ZNG zngio.ReaderOpts }
type Recorder ¶
func NewRecorder ¶
type WriterOpts ¶
type WriterOpts struct { Format string Lake lakeio.WriterOpts VNG vngio.WriterOpts ZNG *zngio.WriterOpts // Nil means use defaults via zngio.NewWriter. ZSON zsonio.WriterOpts }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.