starrocks

package
v0.11.656 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 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 Client

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

func NewClient

func NewClient(c Config) (*Client, error)

func (*Client) GetIngestrURI

func (c *Client) GetIngestrURI() (string, error)

type Config

type Config struct {
	Username string // Required
	Password string // Optional
	Host     string // Required
	Port     int    // Optional - defaults to 9030 (FE MySQL protocol port)
	Database string // Optional - default database for unqualified table names
	Catalog  string // Optional - external lakehouse catalog (Iceberg/Hudi/Hive/...)
	SSL      string // Optional - "true" or "skip-verify" to enable TLS
}

func (Config) GetIngestrURI

func (c Config) GetIngestrURI() string

GetIngestrURI builds starrocks://user:pass@host:port/[catalog/]database?ssl=... A lone database maps to the internal catalog; catalog is prefixed only when a database is also set, matching ingestr's [catalog/]database path handling.

Jump to

Keyboard shortcuts

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