-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfulltext_stoplist_statement.go
More file actions
58 lines (46 loc) · 2.2 KB
/
fulltext_stoplist_statement.go
File metadata and controls
58 lines (46 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package ast
// CreateFullTextStopListStatement represents CREATE FULLTEXT STOPLIST statement
type CreateFullTextStopListStatement struct {
Name *Identifier `json:"Name,omitempty"`
IsSystemStopList bool `json:"IsSystemStopList"`
DatabaseName *Identifier `json:"DatabaseName,omitempty"`
SourceStopListName *Identifier `json:"SourceStopListName,omitempty"`
Owner *Identifier `json:"Owner,omitempty"`
}
func (s *CreateFullTextStopListStatement) node() {}
func (s *CreateFullTextStopListStatement) statement() {}
// AlterFullTextStopListStatement represents ALTER FULLTEXT STOPLIST statement
type AlterFullTextStopListStatement struct {
Name *Identifier `json:"Name,omitempty"`
Action *FullTextStopListAction `json:"Action,omitempty"`
}
func (s *AlterFullTextStopListStatement) node() {}
func (s *AlterFullTextStopListStatement) statement() {}
// FullTextStopListAction represents an action in ALTER FULLTEXT STOPLIST
type FullTextStopListAction struct {
IsAdd bool `json:"IsAdd"`
IsAll bool `json:"IsAll"`
StopWord *StringLiteral `json:"StopWord,omitempty"`
LanguageTerm *IdentifierOrValueExpression `json:"LanguageTerm,omitempty"`
}
func (a *FullTextStopListAction) node() {}
// DropFullTextStopListStatement represents DROP FULLTEXT STOPLIST statement
type DropFullTextStopListStatement struct {
Name *Identifier `json:"Name,omitempty"`
IsIfExists bool `json:"IsIfExists"`
}
func (s *DropFullTextStopListStatement) node() {}
func (s *DropFullTextStopListStatement) statement() {}
// DropFullTextCatalogStatement represents DROP FULLTEXT CATALOG statement
type DropFullTextCatalogStatement struct {
Name *Identifier `json:"Name,omitempty"`
IsIfExists bool `json:"IsIfExists"`
}
func (s *DropFullTextCatalogStatement) node() {}
func (s *DropFullTextCatalogStatement) statement() {}
// DropFulltextIndexStatement represents DROP FULLTEXT INDEX statement
type DropFulltextIndexStatement struct {
OnName *SchemaObjectName `json:"OnName,omitempty"`
}
func (s *DropFulltextIndexStatement) node() {}
func (s *DropFulltextIndexStatement) statement() {}