Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileFormat ¶
type FileFormat string
FileFormat represents the supported file formats for output.
const ( ParquetFormat FileFormat = "parquet" CSVFormat FileFormat = "csv" )
type GCSSink ¶
type GCSSink struct {
// contains filtered or unexported fields
}
GCSSink represents a Google Cloud Storage sink for writing files.
func NewGCSSink ¶
NewGCSSink creates a new GCSSink with the specified bucket name and credentials file.
func (*GCSSink) WriteToGCS ¶
func (s *GCSSink) WriteToGCS(ctx context.Context, reader arrio.Reader, filePath string, format FileFormat, delimiter rune, includeHeader bool, nullValue string, stringsReplacer *strings.Replacer, boolFormatter func(bool) string) error
WriteToGCS writes data from an Arrow reader to a GCS object in the specified format.
Click to show internal directories.
Click to hide internal directories.