Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) CreateTablesFromSchema(contents []byte, pkg factset.Package) error
- func (c *Client) DropDataFromTable(tableName string, product string) error
- func (c *Client) DropTablesWithProductAndBundle(product string, bundle string) error
- func (c *Client) GetPackageMetadata(pkg factset.Package) (factset.PackageMetadata, error)
- func (c *Client) LoadMetadataTables() error
- func (c *Client) LoadTable(filename, table string) error
- func (c *Client) UpdateLoadedPackageVersion(packageMetadata *factset.PackageMetadata) error
- func (c *Client) UpdateLoadedTableVersion(tableName string, version factset.PackageVersion, pkg factset.Package) error
Constants ¶
View Source
const (
MetadataTableCount = 2
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreateTablesFromSchema ¶
CreateTablesFromSchema Takes the semicolon delimited contents of the create table file and creates the tables.
func (*Client) DropDataFromTable ¶
func (*Client) DropTablesWithProductAndBundle ¶
TODO in future we should have versioning/namespacing for our schema tables so that they are only dropped after a successful reload
func (*Client) GetPackageMetadata ¶
func (*Client) LoadMetadataTables ¶
func (*Client) UpdateLoadedPackageVersion ¶
func (c *Client) UpdateLoadedPackageVersion(packageMetadata *factset.PackageMetadata) error
func (*Client) UpdateLoadedTableVersion ¶
Click to show internal directories.
Click to hide internal directories.