Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedStore ¶
type CachedStore struct {
// contains filtered or unexported fields
}
CachedStore store that get metadata from cache
func NewCachedStore ¶
func NewCachedStore(cacheExpirationSeconds int, source protocol.MetadataStore) *CachedStore
func (*CachedStore) GetMetadata ¶
func (c *CachedStore) GetMetadata(urn string) (*meta.TableSpec, error)
func (*CachedStore) GetUniqueConstraints ¶
func (c *CachedStore) GetUniqueConstraints(urn string) ([]string, error)
type FieldCache ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store store to get table metadata
func NewStore ¶
func NewStore(client bqiface.Client, constraintStore protocol.ConstraintStore) *Store
NewStore is constructor of MetadataStore
func (*Store) GetMetadata ¶
GetMetadata to get metadata
type TableCache ¶
type TableCache struct { ProjectName string DatasetName string TableName string PartitionField string RequirePartitionFilter bool TimePartitioningType meta.TimePartitioning Labels map[string]string Fields []*FieldCache }
Click to show internal directories.
Click to hide internal directories.