- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for writeJSON (0.1 sec)
-
internal/s3select/csv/record.go
w.Quote = opts.Quote w.QuoteEscape = opts.QuoteEscape if err := w.Write(r.csvRecord); err != nil { return err } w.Flush() return w.Error() } // WriteJSON - encodes to JSON data. func (r *Record) WriteJSON(writer io.Writer) error { var kvs jstream.KVS = make([]jstream.KV, 0, len(r.columnNames)) for i, cn := range r.columnNames { if i < len(r.csvRecord) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Sep 13 00:00:59 UTC 2022 - 4.1K bytes - Viewed (0) -
internal/s3select/simdj/reader_amd64_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.9K bytes - Viewed (0) -
internal/s3select/json/record.go
return w.Error() } // Raw - returns the underlying representation. func (r *Record) Raw() (sql.SelectObjectFormat, interface{}) { return r.SelectFormat, r.KVS } // WriteJSON - encodes to JSON data. func (r *Record) WriteJSON(writer io.Writer) error { return json.NewEncoder(writer).Encode(r.KVS) } // Replace the underlying buffer of json data. func (r *Record) Replace(k interface{}) error {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 5.2K bytes - Viewed (0)