client

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 7 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 New

func New(conf config.Config) (*Client, error)

func (*Client) GetTablePreview added in v0.11.1

func (c *Client) GetTablePreview(_ context.Context, partitionValue string, table *odps.Table, maxRows int) (
	previewFields []string, previewRows *structpb.ListValue, err error,
)

func (*Client) GetTableSchema

func (*Client) GetTableSchema(_ context.Context, table *odps.Table) (string, *tableschema.TableSchema, error)

func (*Client) ListSchema

func (c *Client) ListSchema(_ context.Context) (schemas []*odps.Schema, err error)

func (*Client) ListTable

func (c *Client) ListTable(_ context.Context, schemaName string) (tables []*odps.Table, err error)

Jump to

Keyboard shortcuts

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