Documentation ¶
Index ¶
- func AssignDataSetDataIdentityHashes(dataSetData []data.Datum) ([]string, error)
- func GenerateIdentityHash(identityFields []string) (string, error)
- type BaseDeduplicator
- func (b *BaseDeduplicator) AddDataSetData(ctx context.Context, dataSetData []data.Datum) error
- func (b *BaseDeduplicator) DeduplicateDataSet(ctx context.Context) error
- func (b *BaseDeduplicator) DeleteDataSet(ctx context.Context) error
- func (b *BaseDeduplicator) Name() string
- func (b *BaseDeduplicator) RegisterDataSet(ctx context.Context) error
- func (b *BaseDeduplicator) Version() string
- type BaseFactory
- func (b *BaseFactory) CanDeduplicateDataSet(dataSet *upload.Upload) (bool, error)
- func (b *BaseFactory) IsRegisteredWithDataSet(dataSet *upload.Upload) (bool, error)
- func (b *BaseFactory) NewDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, ...) (data.Deduplicator, error)
- func (b *BaseFactory) NewRegisteredDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, ...) (data.Deduplicator, error)
- type DelegateFactory
- func (d *DelegateFactory) CanDeduplicateDataSet(dataSet *upload.Upload) (bool, error)
- func (d *DelegateFactory) IsRegisteredWithDataSet(dataSet *upload.Upload) (bool, error)
- func (d *DelegateFactory) NewDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, ...) (data.Deduplicator, error)
- func (d *DelegateFactory) NewRegisteredDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, ...) (data.Deduplicator, error)
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignDataSetDataIdentityHashes ¶ added in v1.28.0
func GenerateIdentityHash ¶ added in v1.5.0
Types ¶
type BaseDeduplicator ¶ added in v1.5.0
type BaseDeduplicator struct {
// contains filtered or unexported fields
}
func NewBaseDeduplicator ¶ added in v1.5.0
func NewBaseDeduplicator(name string, version string, logger log.Logger, dataSession storeDEPRECATED.DataSession, dataSet *upload.Upload) (*BaseDeduplicator, error)
func (*BaseDeduplicator) AddDataSetData ¶ added in v1.28.0
func (*BaseDeduplicator) DeduplicateDataSet ¶ added in v1.28.0
func (b *BaseDeduplicator) DeduplicateDataSet(ctx context.Context) error
func (*BaseDeduplicator) DeleteDataSet ¶ added in v1.28.0
func (b *BaseDeduplicator) DeleteDataSet(ctx context.Context) error
func (*BaseDeduplicator) Name ¶ added in v1.5.0
func (b *BaseDeduplicator) Name() string
func (*BaseDeduplicator) RegisterDataSet ¶ added in v1.28.0
func (b *BaseDeduplicator) RegisterDataSet(ctx context.Context) error
func (*BaseDeduplicator) Version ¶ added in v1.8.0
func (b *BaseDeduplicator) Version() string
type BaseFactory ¶ added in v1.5.0
type BaseFactory struct { Factory // contains filtered or unexported fields }
func NewBaseFactory ¶ added in v1.5.0
func NewBaseFactory(name string, version string) (*BaseFactory, error)
func (*BaseFactory) CanDeduplicateDataSet ¶ added in v1.28.0
func (b *BaseFactory) CanDeduplicateDataSet(dataSet *upload.Upload) (bool, error)
func (*BaseFactory) IsRegisteredWithDataSet ¶ added in v1.28.0
func (b *BaseFactory) IsRegisteredWithDataSet(dataSet *upload.Upload) (bool, error)
func (*BaseFactory) NewDeduplicatorForDataSet ¶ added in v1.28.0
func (b *BaseFactory) NewDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, dataSet *upload.Upload) (data.Deduplicator, error)
func (*BaseFactory) NewRegisteredDeduplicatorForDataSet ¶ added in v1.28.0
func (b *BaseFactory) NewRegisteredDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, dataSet *upload.Upload) (data.Deduplicator, error)
type DelegateFactory ¶ added in v1.4.0
type DelegateFactory struct {
// contains filtered or unexported fields
}
func NewDelegateFactory ¶ added in v1.4.0
func NewDelegateFactory(factories []Factory) (*DelegateFactory, error)
func (*DelegateFactory) CanDeduplicateDataSet ¶ added in v1.28.0
func (d *DelegateFactory) CanDeduplicateDataSet(dataSet *upload.Upload) (bool, error)
func (*DelegateFactory) IsRegisteredWithDataSet ¶ added in v1.28.0
func (d *DelegateFactory) IsRegisteredWithDataSet(dataSet *upload.Upload) (bool, error)
func (*DelegateFactory) NewDeduplicatorForDataSet ¶ added in v1.28.0
func (d *DelegateFactory) NewDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, dataSet *upload.Upload) (data.Deduplicator, error)
func (*DelegateFactory) NewRegisteredDeduplicatorForDataSet ¶ added in v1.28.0
func (d *DelegateFactory) NewRegisteredDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, dataSet *upload.Upload) (data.Deduplicator, error)
type Factory ¶
type Factory interface { CanDeduplicateDataSet(dataSet *upload.Upload) (bool, error) NewDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, dataSet *upload.Upload) (data.Deduplicator, error) IsRegisteredWithDataSet(dataSet *upload.Upload) (bool, error) NewRegisteredDeduplicatorForDataSet(logger log.Logger, dataSession storeDEPRECATED.DataSession, dataSet *upload.Upload) (data.Deduplicator, error) }
func NewContinuousFactory ¶ added in v1.20.0
func NewHashDeactivateOldFactory ¶ added in v1.5.0
func NewTruncateFactory ¶ added in v1.4.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.