Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CsvDecoder ¶
type CsvDecoder struct {
// contains filtered or unexported fields
}
func (*CsvDecoder) Close ¶
func (dec *CsvDecoder) Close() error
type CsvEncoder ¶
type CsvEncoder struct {
// contains filtered or unexported fields
}
CsvFileEncoder ********************** ENCODER ****************************************/
func (*CsvEncoder) Close ¶
func (enc *CsvEncoder) Close() error
func (*CsvEncoder) CloseWithError ¶
func (enc *CsvEncoder) CloseWithError(err error) error
func (*CsvEncoder) Open ¶
func (enc *CsvEncoder) Open() error
type EncodingEntityReader ¶
func NewEntityDecoder ¶
func NewEntityDecoder(backend conf.StorageBackend, reader *io.PipeReader, since string, logger *zap.SugaredLogger, fullSync bool) (EncodingEntityReader, error)
type EncodingEntityWriter ¶
type EncodingEntityWriter interface { io.Closer Write(entities []*uda.Entity) (int, error) CloseWithError(err error) error }
func NewEntityEncoder ¶
func NewEntityEncoder(backend conf.StorageBackend, writer *io.PipeWriter, logger *zap.SugaredLogger) EncodingEntityWriter
type FlatFileDecoder ¶
type FlatFileDecoder struct {
// contains filtered or unexported fields
}
FlatFileDecoder ********************** DECODER ****************************************/
func (*FlatFileDecoder) Close ¶
func (d *FlatFileDecoder) Close() error
func (*FlatFileDecoder) ParseLine ¶
func (d *FlatFileDecoder) ParseLine(line string, config *conf.FlatFileConfig) (map[string]interface{}, error)
type FlatFileEncoder ¶
type FlatFileEncoder struct {
// contains filtered or unexported fields
}
FlatFileEncoder ********************** ENCODER ****************************************/
func (*FlatFileEncoder) Close ¶
func (enc *FlatFileEncoder) Close() error
func (*FlatFileEncoder) CloseWithError ¶
func (enc *FlatFileEncoder) CloseWithError(err error) error
type JSONEncoder ¶
type JSONEncoder struct {
// contains filtered or unexported fields
}
func (*JSONEncoder) Close ¶
func (enc *JSONEncoder) Close() error
func (*JSONEncoder) CloseWithError ¶
func (enc *JSONEncoder) CloseWithError(err error) error
func (*JSONEncoder) Open ¶
func (enc *JSONEncoder) Open() error
type NDJsonDecoder ¶
type NDJsonDecoder struct {
// contains filtered or unexported fields
}
NDJsonDecoder ********************** DECODER ****************************************/
func (*NDJsonDecoder) Close ¶
func (d *NDJsonDecoder) Close() error
type NDJsonEncoder ¶
type NDJsonEncoder struct {
// contains filtered or unexported fields
}
NDJsonEncoder ********************** ENCODER ****************************************/
func (*NDJsonEncoder) Close ¶
func (enc *NDJsonEncoder) Close() error
func (*NDJsonEncoder) CloseWithError ¶
func (enc *NDJsonEncoder) CloseWithError(err error) error
type ParquetDecoder ¶
type ParquetDecoder struct {
// contains filtered or unexported fields
}
ParquetDecoder ********************** DECODER ****************************************/
func (*ParquetDecoder) Close ¶
func (d *ParquetDecoder) Close() error
type ParquetEncoder ¶
type ParquetEncoder struct {
// contains filtered or unexported fields
}
func (*ParquetEncoder) Close ¶
func (enc *ParquetEncoder) Close() error
func (*ParquetEncoder) CloseWithError ¶
func (enc *ParquetEncoder) CloseWithError(err error) error
func (*ParquetEncoder) Open ¶
func (enc *ParquetEncoder) Open() error
Click to show internal directories.
Click to hide internal directories.