options

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package options provides a set of configuration options to customize the behavior of the SDK.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateInstanceOptions

type CreateInstanceOptions struct {
	Priority         int    // Pointer to allow nil value
	JobName          string // Job name
	TryWait          bool   // Try wait flag
	UniqueIdentifyID string // Unique identification ID
}

CreateInstanceOptions holds the configuration for creating an instance.

func NewCreateInstanceOptions

func NewCreateInstanceOptions() *CreateInstanceOptions

NewCreateInstanceOptions initializes a new instance of CreateInstanceOptions.

type SQLTaskOptions

type SQLTaskOptions struct {
	TaskName       string
	InstanceOption *CreateInstanceOptions // Pointer to handle nil
	Hints          map[string]string
	Aliases        map[string]string
	Type           string
	DefaultSchema  string // Hint of "odps.default.schema" has a higher priority than this one
}

SQLTaskOptions holds the configuration for creating a SQLTask.

func NewSQLTaskOptions

func NewSQLTaskOptions() *SQLTaskOptions

NewSQLTaskOptions initializes a new instance of SQLTaskOptions with default values.

Jump to

Keyboard shortcuts

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