client

package
v0.11.16 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 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) GetMaskingPolicies added in v0.11.3

func (*Client) GetMaskingPolicies(table *odps.Table) (maskingPolicies map[Column][]Policy, err 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)

type Column added in v0.11.4

type Column = string

type Policy added in v0.11.4

type Policy = string

Jump to

Keyboard shortcuts

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