Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultMaxFiles = 5 DefaultMaxAge = 1 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spool ¶
Spool manages temporary Arrow IPC files for a session.
func (*Spool) NewStreamWriter ¶ added in v0.1.1
func (s *Spool) NewStreamWriter(queryID string) (*StreamWriter, error)
NewStreamWriter creates a streaming IPC writer for the given query. Schema is taken from the first Write call.
func (*Spool) OpenReader ¶ added in v0.1.1
OpenReader opens a streaming IPC reader for the given query.
type StreamWriter ¶ added in v0.1.1
type StreamWriter struct {
// contains filtered or unexported fields
}
StreamWriter writes Arrow record batches to an IPC streaming file. Batches are flushed to disk immediately — no accumulation in memory.
func (*StreamWriter) Close ¶ added in v0.1.1
func (sw *StreamWriter) Close() error
Close flushes and closes the IPC stream and underlying file.
Click to show internal directories.
Click to hide internal directories.