Documentation
¶
Index ¶
- Constants
- Variables
- func GzipReader(r io.Reader) io.Reader
- func NewFile(zctx *zed.Context, rc io.ReadCloser, path string, opts ReaderOpts) (*zbuf.File, error)
- func NewReader(r io.Reader, zctx *zed.Context) (zio.Reader, error)
- func NewReaderWithOpts(r io.Reader, zctx *zed.Context, opts ReaderOpts) (zio.Reader, 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 NewWriter ¶
func NewWriter(w io.WriteCloser, opts WriterOpts) (zio.WriteCloser, error)
Types ¶
type ReaderOpts ¶
type ReaderOpts struct { Format string Zng zngio.ReaderOpts AwsCfg *aws.Config }
type Recorder ¶
func NewRecorder ¶
type WriterOpts ¶
type WriterOpts struct { Format string UTF8 bool JSON jsonio.WriterOpts Lake lakeio.WriterOpts Text textio.WriterOpts Zng zngio.WriterOpts ZSON zsonio.WriterOpts Zst zstio.WriterOpts }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.