Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractTabularWriter ¶
type AbstractTabularWriter struct {
// contains filtered or unexported fields
}
type BasicColumnOrderer ¶
type BasicColumnOrderer struct {
// contains filtered or unexported fields
}
func (*BasicColumnOrderer) GetColumnOrder ¶
func (bco *BasicColumnOrderer) GetColumnOrder() []string
type CSVWriter ¶
type CSVWriter struct { AbstractTabularWriter // contains filtered or unexported fields }
type IColumnOrderer ¶
type IColumnOrderer interface {
GetColumnOrder() []string
}
type IOutputWriter ¶
type IOutputWriter interface { Write(sqldata.ISQLResultStream) error WriteError(error, string) error }
func GetOutputWriter ¶
func GetOutputWriter( writer io.Writer, errWriter io.Writer, outputCtx internaldto.OutputContext, ) (IOutputWriter, error)
type JSONWriter ¶ added in v0.5.375
type JSONWriter struct {
// contains filtered or unexported fields
}
func (*JSONWriter) Write ¶ added in v0.5.375
func (jw *JSONWriter) Write(res sqldata.ISQLResultStream) error
func (*JSONWriter) WriteError ¶ added in v0.5.375
func (jw *JSONWriter) WriteError(err error, errorPresentation string) error
type PrettyWriter ¶
type PrettyWriter struct { AbstractTabularWriter // contains filtered or unexported fields }
func (*PrettyWriter) Write ¶
func (rw *PrettyWriter) Write(res sqldata.ISQLResultStream) error
func (*PrettyWriter) WriteError ¶
func (rw *PrettyWriter) WriteError(err error, errorPresentation string) error
type RawWriter ¶
type RawWriter struct { AbstractTabularWriter // contains filtered or unexported fields }
type TableWriter ¶
type TableWriter struct { AbstractTabularWriter // contains filtered or unexported fields }
func (*TableWriter) Write ¶
func (tw *TableWriter) Write(res sqldata.ISQLResultStream) error
func (*TableWriter) WriteError ¶
func (tw *TableWriter) WriteError(err error, errorPresentation string) error
Click to show internal directories.
Click to hide internal directories.