gluemltransform

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FindMatchesParameters

type FindMatchesParameters struct {
	// AccuracyCostTradeOff: number, optional
	AccuracyCostTradeOff terra.NumberValue `hcl:"accuracy_cost_trade_off,attr"`
	// EnforceProvidedLabels: bool, optional
	EnforceProvidedLabels terra.BoolValue `hcl:"enforce_provided_labels,attr"`
	// PrecisionRecallTradeOff: number, optional
	PrecisionRecallTradeOff terra.NumberValue `hcl:"precision_recall_trade_off,attr"`
	// PrimaryKeyColumnName: string, optional
	PrimaryKeyColumnName terra.StringValue `hcl:"primary_key_column_name,attr"`
}

type FindMatchesParametersAttributes

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

func (FindMatchesParametersAttributes) AccuracyCostTradeOff

func (fmp FindMatchesParametersAttributes) AccuracyCostTradeOff() terra.NumberValue

func (FindMatchesParametersAttributes) EnforceProvidedLabels

func (fmp FindMatchesParametersAttributes) EnforceProvidedLabels() terra.BoolValue

func (FindMatchesParametersAttributes) InternalRef

func (FindMatchesParametersAttributes) InternalTokens

func (fmp FindMatchesParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FindMatchesParametersAttributes) InternalWithRef

func (FindMatchesParametersAttributes) PrecisionRecallTradeOff

func (fmp FindMatchesParametersAttributes) PrecisionRecallTradeOff() terra.NumberValue

func (FindMatchesParametersAttributes) PrimaryKeyColumnName

func (fmp FindMatchesParametersAttributes) PrimaryKeyColumnName() terra.StringValue

type FindMatchesParametersState

type FindMatchesParametersState struct {
	AccuracyCostTradeOff    float64 `json:"accuracy_cost_trade_off"`
	EnforceProvidedLabels   bool    `json:"enforce_provided_labels"`
	PrecisionRecallTradeOff float64 `json:"precision_recall_trade_off"`
	PrimaryKeyColumnName    string  `json:"primary_key_column_name"`
}

type InputRecordTables

type InputRecordTables struct {
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
	// ConnectionName: string, optional
	ConnectionName terra.StringValue `hcl:"connection_name,attr"`
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// TableName: string, required
	TableName terra.StringValue `hcl:"table_name,attr" validate:"required"`
}

type InputRecordTablesAttributes

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

func (InputRecordTablesAttributes) CatalogId

func (InputRecordTablesAttributes) ConnectionName

func (irt InputRecordTablesAttributes) ConnectionName() terra.StringValue

func (InputRecordTablesAttributes) DatabaseName

func (irt InputRecordTablesAttributes) DatabaseName() terra.StringValue

func (InputRecordTablesAttributes) InternalRef

func (irt InputRecordTablesAttributes) InternalRef() (terra.Reference, error)

func (InputRecordTablesAttributes) InternalTokens

func (irt InputRecordTablesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InputRecordTablesAttributes) InternalWithRef

func (InputRecordTablesAttributes) TableName

type InputRecordTablesState

type InputRecordTablesState struct {
	CatalogId      string `json:"catalog_id"`
	ConnectionName string `json:"connection_name"`
	DatabaseName   string `json:"database_name"`
	TableName      string `json:"table_name"`
}

type Parameters

type Parameters struct {
	// TransformType: string, required
	TransformType terra.StringValue `hcl:"transform_type,attr" validate:"required"`
	// FindMatchesParameters: required
	FindMatchesParameters *FindMatchesParameters `hcl:"find_matches_parameters,block" validate:"required"`
}

type ParametersAttributes

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

func (ParametersAttributes) FindMatchesParameters

func (ParametersAttributes) InternalRef

func (p ParametersAttributes) InternalRef() (terra.Reference, error)

func (ParametersAttributes) InternalTokens

func (p ParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ParametersAttributes) InternalWithRef

func (ParametersAttributes) TransformType

func (p ParametersAttributes) TransformType() terra.StringValue

type ParametersState

type ParametersState struct {
	TransformType         string                       `json:"transform_type"`
	FindMatchesParameters []FindMatchesParametersState `json:"find_matches_parameters"`
}

type Schema

type Schema struct{}

type SchemaAttributes

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

func (SchemaAttributes) DataType

func (s SchemaAttributes) DataType() terra.StringValue

func (SchemaAttributes) InternalRef

func (s SchemaAttributes) InternalRef() (terra.Reference, error)

func (SchemaAttributes) InternalTokens

func (s SchemaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SchemaAttributes) InternalWithRef

func (s SchemaAttributes) InternalWithRef(ref terra.Reference) SchemaAttributes

func (SchemaAttributes) Name

type SchemaState

type SchemaState struct {
	DataType string `json:"data_type"`
	Name     string `json:"name"`
}

Jump to

Keyboard shortcuts

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