Documentation
¶
Overview ¶
Package vortex reads Vortex files using native Go decoders.
Index ¶
- Variables
- type CompareOp
- type File
- type Predicate
- type RecordReader
- func (r *RecordReader) Err() error
- func (r *RecordReader) Next() (ok bool)
- func (r *RecordReader) Record() arrow.RecordBatch
- func (r *RecordReader) RecordBatch() arrow.RecordBatch
- func (r *RecordReader) Release()
- func (r *RecordReader) Retain()
- func (r *RecordReader) RowOffset() int64
- func (r *RecordReader) Schema() *arrow.Schema
- type ScanOptions
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalid = errors.New("invalid Vortex file") ErrUnsupported = errors.New("unsupported Vortex feature") )
Functions ¶
This section is empty.
Types ¶
type CompareOp ¶
type CompareOp uint8
CompareOp identifies an integer comparison used for conservative pruning.
type File ¶
type File struct {
// contains filtered or unexported fields
}
File holds immutable file metadata. It does not own or close its ReaderAt. Concurrent record readers are supported when the source supports concurrent reads. Individual metadata and data segments are limited to 64 MiB and 256 MiB, respectively. Every source read is at most 64 KiB.
func (*File) Close ¶
Close leaves the caller-owned source open. RecordReader.Release frees scan buffers.
func (*File) NewRecordReader ¶
func (f *File) NewRecordReader(ctx context.Context, opts ScanOptions) (*RecordReader, error)
type Predicate ¶
Predicate excludes only row ranges whose statistics prove the comparison false. Consumers must still apply the exact predicate to the returned rows.
type RecordReader ¶
type RecordReader struct {
// contains filtered or unexported fields
}
RecordReader streams projected batches in physical row order. Next and accessors must not run concurrently. Retain and Release follow Arrow ownership semantics. The current batch remains valid until Next or Release unless the caller retains it.
func (*RecordReader) Err ¶
func (r *RecordReader) Err() error
func (*RecordReader) Next ¶
func (r *RecordReader) Next() (ok bool)
func (*RecordReader) Record ¶
func (r *RecordReader) Record() arrow.RecordBatch
Record is the deprecated Arrow compatibility accessor; use RecordBatch.
func (*RecordReader) RecordBatch ¶
func (r *RecordReader) RecordBatch() arrow.RecordBatch
func (*RecordReader) Release ¶
func (r *RecordReader) Release()
func (*RecordReader) Retain ¶
func (r *RecordReader) Retain()
func (*RecordReader) RowOffset ¶
func (r *RecordReader) RowOffset() int64
func (*RecordReader) Schema ¶
func (r *RecordReader) Schema() *arrow.Schema
type ScanOptions ¶
ScanOptions configures a scan. Predicates are ANDed. A nil Columns selects all columns; an empty non-nil slice selects none. BatchSize defaults to 65536.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
encoding
SPDX-License-Identifier: Apache-2.0 Copyright 2026 the vortex-go contributors.
|
SPDX-License-Identifier: Apache-2.0 Copyright 2026 the vortex-go contributors. |
|
pco
Package pco decodes the wrapped Pco streams embedded in Vortex arrays.
|
Package pco decodes the wrapped Pco streams embedded in Vortex arrays. |