{"modulePath":"github.com/databricks/databricks-sql-go/v2","version":"v2.0.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package rows\n\n## Types\n\n```go\ntype ArrowBatchIterator interface {\n\t// Retrieve the next arrow.RecordBatch.\n\t// Will return io.EOF if there are no more records\n\tNext() (arrow.RecordBatch, error)\n\n\t// Return true if the iterator contains more batches, false otherwise.\n\tHasNext() bool\n\n\t// Release any resources in use by the iterator.\n\tClose()\n\n\t// Return the schema of the records.\n\tSchema() (*arrow.Schema, error)\n}\n```\n\n```go\ntype ArrowIPCStreamIterator interface {\n\t// Retrieve the next Arrow IPC stream as an io.Reader.\n\t// Will return io.EOF if there are no more streams\n\tNext() (io.Reader, error)\n\n\t// Return true if the iterator contains more streams, false otherwise.\n\tHasNext() bool\n\n\t// Release any resources in use by the iterator.\n\tClose()\n\n\t// Return the Arrow schema bytes for the streams.\n\tSchemaBytes() ([]byte, error)\n}\n```\n\n```go\ntype Rows interface {\n\tGetArrowBatches(context.Context) (ArrowBatchIterator, error)\n\tGetArrowIPCStreams(context.Context) (ArrowIPCStreamIterator, error)\n}\n```\n\n","path":"github.com/databricks/databricks-sql-go/v2/rows","name":"rows","synopsis":"","isRedistributable":true}
