Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transformer ¶
type Transformer struct {
// contains filtered or unexported fields
}
Transformer This is mainly to encapsulate some of the data format conversion logic
func NewTransformer ¶
func NewTransformer(clientMeta *schema.ClientMeta, typeConvertor schema.ColumnValueConvertor, errorHandlerMeta *schema.ErrorsHandlerMeta) *Transformer
func (*Transformer) TransformResult ¶
func (x *Transformer) TransformResult(ctx context.Context, client any, task *schema.DataSourcePullTask, result any) (*schema.Row, *schema.Diagnostics)
TransformResult Convert the results obtained from the DataSource to the data in the table. Convert only one result ata time. Batch conversion is not supported
Click to show internal directories.
Click to hide internal directories.