Documentation
¶
Index ¶
- type ColumnarDataset
- func NewColumnarDataset(rw io.ReadWriteSeeker, schema *arrow.Schema) (*ColumnarDataset, error)
- func NewColumnarDatasetReader(rs ipc.ReadAtSeeker) (*ColumnarDataset, error)
- func NewColumnarDatasetReaderFromReader(r io.Reader) (*ColumnarDataset, error)
- func OpenForReading(r ipc.ReadAtSeeker) (*ColumnarDataset, error)
- func OpenForReadingFromPipe(r io.Reader) (*ColumnarDataset, error)
- func (cd *ColumnarDataset) Chunk(i int) (arrow.Record, error)
- func (cd *ColumnarDataset) Close() error
- func (cd *ColumnarDataset) NumChunks() int
- func (cd *ColumnarDataset) Read() (arrow.Record, error)
- func (cd *ColumnarDataset) Schema() *arrow.Schema
- func (cd *ColumnarDataset) Write(rec arrow.Record) error
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnarDataset ¶
type ColumnarDataset struct {
// contains filtered or unexported fields
}
ColumnarDataset represents a columnar dataset stored in the Arrow IPC file format.
func NewColumnarDataset ¶
func NewColumnarDataset(rw io.ReadWriteSeeker, schema *arrow.Schema) (*ColumnarDataset, error)
NewColumnarDataset creates a new ColumnarDataset for writing.
func NewColumnarDatasetReader ¶
func NewColumnarDatasetReader(rs ipc.ReadAtSeeker) (*ColumnarDataset, error)
NewColumnarDatasetReader creates a new ColumnarDataset for reading.
func NewColumnarDatasetReaderFromReader ¶
func NewColumnarDatasetReaderFromReader(r io.Reader) (*ColumnarDataset, error)
NewColumnarDatasetReaderFromReader creates a new ColumnarDataset for reading from any io.Reader.
func OpenForReading ¶
func OpenForReading(r ipc.ReadAtSeeker) (*ColumnarDataset, error)
OpenForReading initializes the dataset for reading from an Arrow IPC file.
func OpenForReadingFromPipe ¶
func OpenForReadingFromPipe(r io.Reader) (*ColumnarDataset, error)
OpenForReadingFromPipe initializes the dataset for reading from an Arrow IPC stream.
func (*ColumnarDataset) Chunk ¶
func (cd *ColumnarDataset) Chunk(i int) (arrow.Record, error)
Chunk returns a specific chunk by its index.
func (*ColumnarDataset) Close ¶
func (cd *ColumnarDataset) Close() error
func (*ColumnarDataset) NumChunks ¶
func (cd *ColumnarDataset) NumChunks() int
NumChunks returns the number of chunks in the dataset.
func (*ColumnarDataset) Schema ¶
func (cd *ColumnarDataset) Schema() *arrow.Schema
Schema returns the schema of the dataset.
Click to show internal directories.
Click to hide internal directories.