queryio

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScanner added in v1.18.0

func NewScanner(ctx context.Context, rc io.ReadCloser) (zbuf.Scanner, error)

Types

type Writer added in v1.0.0

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

func NewWriter added in v1.0.0

func NewWriter(w io.WriteCloser, format string, flusher http.Flusher, ctrl bool) (*Writer, error)

func (*Writer) Close added in v1.0.0

func (w *Writer) Close() error

func (*Writer) WhiteChannelEnd added in v1.0.0

func (w *Writer) WhiteChannelEnd(channel string) error

func (*Writer) WriteBatch added in v1.0.0

func (w *Writer) WriteBatch(channel string, batch zbuf.Batch) error

func (*Writer) WriteControl added in v1.0.0

func (w *Writer) WriteControl(value interface{}) error

func (*Writer) WriteError added in v1.0.0

func (w *Writer) WriteError(err error)

func (*Writer) WriteProgress added in v1.0.0

func (w *Writer) WriteProgress(stats zbuf.Progress) error

type ZJSONWriter

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

func NewZJSONWriter

func NewZJSONWriter(w io.Writer) *ZJSONWriter

func (*ZJSONWriter) Close

func (w *ZJSONWriter) Close() error

func (*ZJSONWriter) Write

func (w *ZJSONWriter) Write(rec zed.Value) error

func (*ZJSONWriter) WriteControl

func (w *ZJSONWriter) WriteControl(v interface{}) error

type ZNGWriter

type ZNGWriter struct {
	*zngio.Writer
	// contains filtered or unexported fields
}

func NewZNGWriter

func NewZNGWriter(w io.Writer) *ZNGWriter

func (*ZNGWriter) WriteControl

func (w *ZNGWriter) WriteControl(v interface{}) error

Jump to

Keyboard shortcuts

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