importset

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImportRecord

type ImportRecord map[string]interface{}

ImportRecord represents a single record to be imported

type ImportResponse

type ImportResponse struct {
	ImportSet    string                   `json:"import_set"`
	StagingTable string                   `json:"staging_table"`
	Records      []map[string]interface{} `json:"records"`
}

ImportResponse represents the response from an import operation

type ImportSetClient

type ImportSetClient struct {
	// contains filtered or unexported fields
}

ImportSetClient handles Import Set operations

func NewImportSetClient

func NewImportSetClient(client *core.Client) *ImportSetClient

NewImportSetClient creates a new Import Set client

func (*ImportSetClient) GetImportSet

func (i *ImportSetClient) GetImportSet(importSetSysID string) (map[string]interface{}, error)

GetImportSet retrieves information about an import set

func (*ImportSetClient) GetImportSetWithContext

func (i *ImportSetClient) GetImportSetWithContext(ctx context.Context, importSetSysID string) (map[string]interface{}, error)

GetImportSetWithContext retrieves information about an import set with context support

func (*ImportSetClient) GetTransformResults

func (i *ImportSetClient) GetTransformResults(importSetSysID string) ([]map[string]interface{}, error)

GetTransformResults retrieves the transform results for an import set

func (*ImportSetClient) GetTransformResultsWithContext

func (i *ImportSetClient) GetTransformResultsWithContext(ctx context.Context, importSetSysID string) ([]map[string]interface{}, error)

GetTransformResultsWithContext retrieves the transform results for an import set with context support

func (*ImportSetClient) Insert

func (i *ImportSetClient) Insert(tableName string, records []ImportRecord) (*ImportResponse, error)

Insert inserts records into the specified import set table

func (*ImportSetClient) InsertWithContext

func (i *ImportSetClient) InsertWithContext(ctx context.Context, tableName string, records []ImportRecord) (*ImportResponse, error)

InsertWithContext inserts records into the specified import set table with context support

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL