Documentation
¶
Index ¶
- Constants
- type BigTableAdminClient
- type BigTableClient
- type BigTableTable
- type Extractor
- func (e *Extractor) Extract(ctx context.Context, query model.ExtractorQuery, result any) (error, bool)
- func (e *Extractor) ExtractFromSink(ctx context.Context, query model.ExtractorQuery, result *[]*model.Transformed) (error, bool)
- func (e *Extractor) SendToSource(ctx context.Context, eventData any) (string, error)
- func (e *Extractor) StreamExtract(ctx context.Context, reportEvent model.ProcessEventFunc, err *error, ...)
- type Loader
- type Query
- type QueryType
- type RowKeyValue
Constants ¶
View Source
const ( PreDefinedRowKeyTimestampIso = "timestampIso" PreDefinedRowKeyUuid = "uuid" PreDefinedRowKeyInvertedTimestamp = "invertedTimestamp" PreDefinedRowKeyKeysInMap = "keysInMap" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigTableAdminClient ¶
type BigTableAdminClient interface {
Tables(ctx context.Context) ([]string, error)
CreateTable(ctx context.Context, table string) error
TableInfo(ctx context.Context, table string) (*bigtable.TableInfo, error)
CreateColumnFamily(ctx context.Context, table, family string) error
SetGCPolicy(ctx context.Context, table, family string, policy bigtable.GCPolicy) error
}
type BigTableClient ¶
type BigTableTable ¶
type Extractor ¶
type Extractor struct {
// contains filtered or unexported fields
}
func NewExtractor ¶
func NewExtractor( spec model.Spec, client BigTableClient, adminClient BigTableAdminClient) (*Extractor, error)
func (*Extractor) ExtractFromSink ¶
func (e *Extractor) ExtractFromSink(ctx context.Context, query model.ExtractorQuery, result *[]*model.Transformed) (error, bool)
func (*Extractor) SendToSource ¶
func (*Extractor) StreamExtract ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func NewLoader ¶
func NewLoader( ctx context.Context, spec *model.Spec, id string, client BigTableClient, adminClient BigTableAdminClient) (*Loader, error)
func (*Loader) StreamLoad ¶
The GEIST BigTable Loader implementation only supports a single input Transformed object, since using the EventSplit transform doesn't make sense in this case.
type RowKeyValue ¶
Click to show internal directories.
Click to hide internal directories.