Help us shape the future of Go! Take the 2026 Go Developer Survey

format

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LockboxFile

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

LockboxFile represents a lockbox file handle

func Create

func Create(filename string, schema *arrow.Schema, password string, createdBy string) (*LockboxFile, error)

Create creates a new lockbox file

func Open

func Open(filename string, password string) (*LockboxFile, error)

Open opens an existing lockbox file

func (*LockboxFile) Close

func (lbf *LockboxFile) Close() error

Close closes the lockbox file

func (*LockboxFile) Metadata

func (lbf *LockboxFile) Metadata() *metadata.Metadata

Metadata returns the file metadata

func (*LockboxFile) NewReader

func (lbf *LockboxFile) NewReader(password string) (*Reader, error)

NewReader creates a new reader for the lockbox file

func (*LockboxFile) NewWriter

func (lbf *LockboxFile) NewWriter(password string) (*Writer, error)

NewWriter creates a new writer for the lockbox file

func (*LockboxFile) Schema

func (lbf *LockboxFile) Schema() *arrow.Schema

Schema returns the Arrow schema

type Reader

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

Reader handles reading encrypted Arrow data from lockbox files

func (*Reader) ReadColumns added in v0.2.0

func (r *Reader) ReadColumns(columns []string) (arrow.Record, error)

ReadColumns decrypts only the specified columns from the file

func (*Reader) ReadRecord

func (r *Reader) ReadRecord() (arrow.Record, error)

ReadRecord reads and decrypts all columns from the file

type Writer

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

Writer handles writing encrypted Arrow data to lockbox files

func (*Writer) WriteRecord

func (w *Writer) WriteRecord(record arrow.Record) error

WriteRecord writes an encrypted Arrow record to the file

Jump to

Keyboard shortcuts

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