blobtable

package
v0.0.0-...-5019c65 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobTableReader

type BlobTableReader interface {
	// Next switches to the next blob in the stream.
	//
	// Reader must be positioned at the end of the previous blob.
	Next() bool

	// Err returns error associated with this reader.
	Err() error

	// ScanKey reads current row directly from underlying reader.
	ScanKey(key interface{}) error

	// Read implements io.Reader, reading YT blob.
	Read([]byte) (int, error)

	// Close() frees resources associated with this reader.
	Close() error
}

BlobTableReader allows reading YT blob tables.

func ReadBlobTable

func ReadBlobTable(ctx context.Context, yc yt.TableClient, path ypath.YPath) (r BlobTableReader, err error)

Jump to

Keyboard shortcuts

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