Documentation
¶
Index ¶
- type Info
- type Lockbox
- func (lb *Lockbox) Close() error
- func (lb *Lockbox) Info() (*Info, error)
- func (lb *Lockbox) Query(ctx context.Context, query string, opts ...Option) (arrow.Record, error)
- func (lb *Lockbox) Read(ctx context.Context, opts ...Option) (arrow.Record, error)
- func (lb *Lockbox) Schema() *arrow.Schema
- func (lb *Lockbox) Write(ctx context.Context, record arrow.Record, opts ...Option) error
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
Version uint32 `json:"version"`
Schema *arrow.Schema `json:"-"`
CreatedAt interface{} `json:"createdAt"`
CreatedBy string `json:"createdBy"`
ModifiedAt interface{} `json:"modifiedAt"`
ModifiedBy string `json:"modifiedBy"`
BlockCount int `json:"blockCount"`
AccessCount int `json:"accessCount"`
}
Info represents information about a lockbox file
type Lockbox ¶
type Lockbox struct {
// contains filtered or unexported fields
}
Lockbox represents a lockbox file with high-level operations
func (*Lockbox) Query ¶
Query performs a simple query on the lockbox data This is a basic implementation that reads all data and applies simple filters query-engine
type Option ¶
type Option func(*Options)
Option is a functional option for lockbox operations
func WithColumns ¶
WithColumns sets the specific columns to operate on
func WithCreatedBy ¶
WithCreatedBy sets the creator name for lockbox operations
func WithPassword ¶
WithPassword sets the password for lockbox operations
Click to show internal directories.
Click to hide internal directories.