Documentation ¶
Index ¶
- type QueryConverter
- type VisibilityStore
- func (s *VisibilityStore) Close()
- func (s *VisibilityStore) CountWorkflowExecutions(ctx context.Context, request *manager.CountWorkflowExecutionsRequest) (*manager.CountWorkflowExecutionsResponse, error)
- func (s *VisibilityStore) DeleteWorkflowExecution(ctx context.Context, request *manager.VisibilityDeleteWorkflowExecutionRequest) error
- func (s *VisibilityStore) GetIndexName() string
- func (s *VisibilityStore) GetName() string
- func (s *VisibilityStore) GetWorkflowExecution(ctx context.Context, request *manager.GetWorkflowExecutionRequest) (*store.InternalGetWorkflowExecutionResponse, error)
- func (s *VisibilityStore) ListWorkflowExecutions(ctx context.Context, request *manager.ListWorkflowExecutionsRequestV2) (*store.InternalListWorkflowExecutionsResponse, error)
- func (s *VisibilityStore) RecordWorkflowExecutionClosed(ctx context.Context, ...) error
- func (s *VisibilityStore) RecordWorkflowExecutionStarted(ctx context.Context, ...) error
- func (s *VisibilityStore) ScanWorkflowExecutions(ctx context.Context, request *manager.ListWorkflowExecutionsRequestV2) (*store.InternalListWorkflowExecutionsResponse, error)
- func (s *VisibilityStore) UpsertWorkflowExecution(ctx context.Context, request *store.InternalUpsertWorkflowExecutionRequest) error
- func (s *VisibilityStore) ValidateCustomSearchAttributes(searchAttributes map[string]any) (map[string]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryConverter ¶ added in v1.20.0
type QueryConverter struct {
// contains filtered or unexported fields
}
func NewQueryConverter ¶ added in v1.20.0
func NewQueryConverter( pluginName string, namespaceName namespace.Name, namespaceID namespace.ID, saTypeMap searchattribute.NameTypeMap, saMapper searchattribute.Mapper, queryString string, ) *QueryConverter
func (*QueryConverter) BuildCountStmt ¶ added in v1.20.0
func (c *QueryConverter) BuildCountStmt() (*sqlplugin.VisibilitySelectFilter, error)
func (*QueryConverter) BuildSelectStmt ¶ added in v1.20.0
func (c *QueryConverter) BuildSelectStmt( pageSize int, nextPageToken []byte, ) (*sqlplugin.VisibilitySelectFilter, error)
type VisibilityStore ¶ added in v1.20.0
type VisibilityStore struct {
// contains filtered or unexported fields
}
func NewSQLVisibilityStore ¶
func NewSQLVisibilityStore( cfg config.SQL, r resolver.ServiceResolver, searchAttributesProvider searchattribute.Provider, searchAttributesMapperProvider searchattribute.MapperProvider, logger log.Logger, metricsHandler metrics.Handler, ) (*VisibilityStore, error)
NewSQLVisibilityStore creates an instance of VisibilityStore
func (*VisibilityStore) Close ¶ added in v1.20.0
func (s *VisibilityStore) Close()
func (*VisibilityStore) CountWorkflowExecutions ¶ added in v1.20.0
func (s *VisibilityStore) CountWorkflowExecutions( ctx context.Context, request *manager.CountWorkflowExecutionsRequest, ) (*manager.CountWorkflowExecutionsResponse, error)
func (*VisibilityStore) DeleteWorkflowExecution ¶ added in v1.20.0
func (s *VisibilityStore) DeleteWorkflowExecution( ctx context.Context, request *manager.VisibilityDeleteWorkflowExecutionRequest, ) error
func (*VisibilityStore) GetIndexName ¶ added in v1.20.0
func (s *VisibilityStore) GetIndexName() string
func (*VisibilityStore) GetName ¶ added in v1.20.0
func (s *VisibilityStore) GetName() string
func (*VisibilityStore) GetWorkflowExecution ¶ added in v1.20.0
func (s *VisibilityStore) GetWorkflowExecution( ctx context.Context, request *manager.GetWorkflowExecutionRequest, ) (*store.InternalGetWorkflowExecutionResponse, error)
func (*VisibilityStore) ListWorkflowExecutions ¶ added in v1.20.0
func (s *VisibilityStore) ListWorkflowExecutions( ctx context.Context, request *manager.ListWorkflowExecutionsRequestV2, ) (*store.InternalListWorkflowExecutionsResponse, error)
func (*VisibilityStore) RecordWorkflowExecutionClosed ¶ added in v1.20.0
func (s *VisibilityStore) RecordWorkflowExecutionClosed( ctx context.Context, request *store.InternalRecordWorkflowExecutionClosedRequest, ) error
func (*VisibilityStore) RecordWorkflowExecutionStarted ¶ added in v1.20.0
func (s *VisibilityStore) RecordWorkflowExecutionStarted( ctx context.Context, request *store.InternalRecordWorkflowExecutionStartedRequest, ) error
func (*VisibilityStore) ScanWorkflowExecutions ¶ added in v1.20.0
func (s *VisibilityStore) ScanWorkflowExecutions( ctx context.Context, request *manager.ListWorkflowExecutionsRequestV2, ) (*store.InternalListWorkflowExecutionsResponse, error)
func (*VisibilityStore) UpsertWorkflowExecution ¶ added in v1.20.0
func (s *VisibilityStore) UpsertWorkflowExecution( ctx context.Context, request *store.InternalUpsertWorkflowExecutionRequest, ) error
func (*VisibilityStore) ValidateCustomSearchAttributes ¶ added in v1.21.3
Click to show internal directories.
Click to hide internal directories.