Documentation ¶
Index ¶
Constants ¶
View Source
const ( SQLClient = "SQLClient" BQClient = "BigQueryClient" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) Query ¶
func (cl *Client) Query(statement string) (result warehouseutils.QueryResult, err error)
type StagingFile ¶ added in v1.5.0
type StagingFile struct { WorkspaceID string SourceID string DestinationID string Location string Schema map[string]map[string]interface{} FirstEventAt string LastEventAt string TotalEvents int TotalBytes int UseRudderStorage bool DestinationRevisionID string // cloud sources specific info SourceTaskRunID string SourceJobID string SourceJobRunID string TimeWindow time.Time }
StagingFile contains the require metadata to process a staging file.
type Warehouse ¶ added in v1.5.0
type Warehouse struct {
// contains filtered or unexported fields
}
func NewWarehouse ¶ added in v1.5.0
func NewWarehouse(baseURL string, opts ...WarehouseOpts) *Warehouse
type WarehouseOpts ¶ added in v1.5.0
type WarehouseOpts func(*Warehouse)
func WithTimeout ¶ added in v1.5.0
func WithTimeout(timeout time.Duration) WarehouseOpts
Click to show internal directories.
Click to hide internal directories.