Documentation ¶
Index ¶
- type VisibilityQueryValidator
- func (qv *VisibilityQueryValidator) ValidateCountRequestForQuery(countRequest *workflowservice.CountWorkflowExecutionsRequest, indexName string) error
- func (qv *VisibilityQueryValidator) ValidateListRequestForQuery(listRequest *workflowservice.ListWorkflowExecutionsRequest, indexName string) error
- func (qv *VisibilityQueryValidator) ValidateScanRequestForQuery(listRequest *workflowservice.ScanWorkflowExecutionsRequest, indexName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VisibilityQueryValidator ¶
type VisibilityQueryValidator struct {
// contains filtered or unexported fields
}
VisibilityQueryValidator for sql query validation
func NewQueryValidator ¶
func NewQueryValidator(searchAttributesProvider searchattribute.Provider) *VisibilityQueryValidator
NewQueryValidator create VisibilityQueryValidator
func (*VisibilityQueryValidator) ValidateCountRequestForQuery ¶
func (qv *VisibilityQueryValidator) ValidateCountRequestForQuery(countRequest *workflowservice.CountWorkflowExecutionsRequest, indexName string) error
ValidateCountRequestForQuery validate that search attributes in countRequest query is legal, and add prefix for custom keys
func (*VisibilityQueryValidator) ValidateListRequestForQuery ¶
func (qv *VisibilityQueryValidator) ValidateListRequestForQuery(listRequest *workflowservice.ListWorkflowExecutionsRequest, indexName string) error
ValidateListRequestForQuery validate that search attributes in listRequest query is legal, and add prefix for custom keys
func (*VisibilityQueryValidator) ValidateScanRequestForQuery ¶
func (qv *VisibilityQueryValidator) ValidateScanRequestForQuery(listRequest *workflowservice.ScanWorkflowExecutionsRequest, indexName string) error
Click to show internal directories.
Click to hide internal directories.