get_measure_data

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTool

func NewTool(collibraClient *http.Client) *chip.Tool[Input, Output]

Types

type AssetWithDescription

type AssetWithDescription struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	AssetType   string `json:"assetType"`
	Description string `json:"description"`
}

type Attribute

type Attribute struct {
	ID               string            `json:"id"`
	Name             string            `json:"name"`
	AssetType        string            `json:"assetType"`
	ConnectedColumns []ColumnWithTable `json:"connectedColumns"`
}

type ColumnWithTable

type ColumnWithTable struct {
	ID             string                `json:"id"`
	Name           string                `json:"name"`
	AssetType      string                `json:"assetType"`
	Description    string                `json:"description"`
	ConnectedTable *AssetWithDescription `json:"connectedTable"`
}

ColumnWithTable represents a column and its parent table in traversal tool outputs.

type Input

type Input struct {
	MeasureID string `json:"measureId" jsonschema:"Required. The UUID of the measure asset to trace back to its underlying physical columns."`
}

type Output

type Output struct {
	DataHierarchy []Attribute `json:"dataHierarchy" jsonschema:"The list of data attributes with their connected columns and tables."`
	Error         string      `json:"error,omitempty" jsonschema:"Error message if the operation failed."`
}

Jump to

Keyboard shortcuts

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