workspace

package
v0.0.0-...-7f45ead Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainColumn

type DomainColumn struct {
	ColumnInfo *rete.TableColumnNode
	Predicate  *bridgego.Resource
}

type DomainTable

type DomainTable struct {
	TableInfo      *rete.TableNode
	ClassResource  *bridgego.Resource
	Columns        []DomainColumn
	DomainKeysInfo *schema.HeadersAndDomainKeysInfo
}

func NewDomainTable

func NewDomainTable(dbpool *pgxpool.Pool, tableInfo *rete.TableNode) (*DomainTable, error)

func (*DomainTable) DomainHeaders

func (domainTable *DomainTable) DomainHeaders() *[]string

func (*DomainTable) UpdateDomainTableSchema

func (tableSpec *DomainTable) UpdateDomainTableSchema(dbpool *pgxpool.Pool, dropExisting bool) error

type JetStoreProperties

type JetStoreProperties map[string]string

type OutputTableSpecs

type OutputTableSpecs map[string]*DomainTable

func DomainTableDefinitions

func DomainTableDefinitions(dbpool *pgxpool.Pool, tableMap map[string]*rete.TableNode) (OutputTableSpecs, error)

DomainTableDefinitions: Wrap the rete.TableNode into Domain Table Definition, including Domain Keys definition returns a mapping of the output domain tables with their column specs

Jump to

Keyboard shortcuts

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