Documentation ¶
Index ¶
- type Reader
- type Record
- func (r *Record) Clone(dst sql.Record) sql.Record
- func (r *Record) CloneTo(dst *json.Record) (sql.Record, error)
- func (r *Record) Get(name string) (*sql.Value, error)
- func (r *Record) Raw() (sql.SelectObjectFormat, interface{})
- func (r *Record) Replace(k interface{}) error
- func (r *Record) Reset()
- func (r *Record) Set(name string, value *sql.Value) (sql.Record, error)
- func (r *Record) WriteCSV(writer io.Writer, opts sql.WriteCSVOpts) error
- func (r *Record) WriteJSON(writer io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader - JSON record reader for S3Select.
func NewElementReader ¶
func NewElementReader(ch chan simdjson.Object, err *error, args *json.ReaderArgs) *Reader
NewElementReader - creates new JSON reader using readCloser.
func NewReader ¶
func NewReader(readCloser io.ReadCloser, args *json.ReaderArgs) *Reader
NewReader - creates new JSON reader using readCloser.
func NewTapeReaderChan ¶
func NewTapeReaderChan(pj chan simdjson.Stream, args *json.ReaderArgs) *Reader
NewTapeReaderChan will start a reader that will read input from the provided channel.
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
Record - is JSON record.
func NewRecord ¶
func NewRecord(f sql.SelectObjectFormat, obj simdjson.Object) *Record
NewRecord - creates new empty JSON record.
func (*Record) CloneTo ¶
CloneTo clones the record to a json Record. Values are only unmashaled on object level.
func (*Record) Raw ¶
func (r *Record) Raw() (sql.SelectObjectFormat, interface{})
Raw - returns the underlying representation.
Click to show internal directories.
Click to hide internal directories.