Documentation
¶
Index ¶
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 NewReader ¶
func NewReader(readCloser io.ReadCloser, args *ReaderArgs) *Reader
NewReader - creates new JSON reader using readCloser.
type ReaderArgs ¶
type ReaderArgs struct {
ContentType string `xml:"Type"`
// contains filtered or unexported fields
}
ReaderArgs - represents elements inside <InputSerialization><JSON/> in request XML.
func (*ReaderArgs) IsEmpty ¶
func (args *ReaderArgs) IsEmpty() bool
IsEmpty - returns whether reader args is empty or not.
func (*ReaderArgs) UnmarshalXML ¶
func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
UnmarshalXML - decodes XML data.
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
Record - is JSON record.
func (*Record) MarshalCSV ¶
MarshalCSV - encodes to CSV data.
func (*Record) MarshalJSON ¶
MarshalJSON - encodes to JSON data.
type WriterArgs ¶
type WriterArgs struct {
RecordDelimiter string `xml:"RecordDelimiter"`
// contains filtered or unexported fields
}
WriterArgs - represents elements inside <OutputSerialization><JSON/> in request XML.
func (*WriterArgs) IsEmpty ¶
func (args *WriterArgs) IsEmpty() bool
IsEmpty - returns whether writer args is empty or not.
func (*WriterArgs) UnmarshalXML ¶
func (args *WriterArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
UnmarshalXML - decodes XML data.