store

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

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TableStore

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

TableStore is a wrapper around the store

func NewTableStore

func NewTableStore(objectStoreClient *client.ObjectStoreClient) *TableStore

NewTableStore returns a new table store

func (*TableStore) GetFileSubPath

func (s *TableStore) GetFileSubPath(owner *ent.Owner, kaskadaTable *ent.KaskadaTable, fileType string) string

returns tables/<owner_id>/table-id/data/file-id.file-type

func (*TableStore) GetPrepareOutputURI

func (s *TableStore) GetPrepareOutputURI(owner *ent.Owner, kaskadaTable *ent.KaskadaTable, KaskadaFile *ent.KaskadaFile, prepareVersion int32, slicePlanHash []byte) string

returns the tables/<owner_id>/table-id/prepared/prepare-version/hash(slice_plan)/file_id/

func (*TableStore) GetTableSubPath

func (s *TableStore) GetTableSubPath(owner *ent.Owner, kaskadaTable *ent.KaskadaTable) string

returns tables/<owner_id>/table-id

Jump to

Keyboard shortcuts

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