|
| 1 | +package ast |
| 2 | + |
| 3 | +// CreateFullTextStopListStatement represents CREATE FULLTEXT STOPLIST statement |
| 4 | +type CreateFullTextStopListStatement struct { |
| 5 | + Name *Identifier `json:"Name,omitempty"` |
| 6 | + IsSystemStopList bool `json:"IsSystemStopList"` |
| 7 | + DatabaseName *Identifier `json:"DatabaseName,omitempty"` |
| 8 | + SourceStopListName *Identifier `json:"SourceStopListName,omitempty"` |
| 9 | + Owner *Identifier `json:"Owner,omitempty"` |
| 10 | +} |
| 11 | + |
| 12 | +func (s *CreateFullTextStopListStatement) node() {} |
| 13 | +func (s *CreateFullTextStopListStatement) statement() {} |
| 14 | + |
| 15 | +// AlterFullTextStopListStatement represents ALTER FULLTEXT STOPLIST statement |
| 16 | +type AlterFullTextStopListStatement struct { |
| 17 | + Name *Identifier `json:"Name,omitempty"` |
| 18 | + Action *FullTextStopListAction `json:"Action,omitempty"` |
| 19 | +} |
| 20 | + |
| 21 | +func (s *AlterFullTextStopListStatement) node() {} |
| 22 | +func (s *AlterFullTextStopListStatement) statement() {} |
| 23 | + |
| 24 | +// FullTextStopListAction represents an action in ALTER FULLTEXT STOPLIST |
| 25 | +type FullTextStopListAction struct { |
| 26 | + IsAdd bool `json:"IsAdd"` |
| 27 | + IsAll bool `json:"IsAll"` |
| 28 | + StopWord *StringLiteral `json:"StopWord,omitempty"` |
| 29 | + LanguageTerm *IdentifierOrValueExpression `json:"LanguageTerm,omitempty"` |
| 30 | +} |
| 31 | + |
| 32 | +func (a *FullTextStopListAction) node() {} |
| 33 | + |
| 34 | +// DropFullTextStopListStatement represents DROP FULLTEXT STOPLIST statement |
| 35 | +type DropFullTextStopListStatement struct { |
| 36 | + Name *Identifier `json:"Name,omitempty"` |
| 37 | + IsIfExists bool `json:"IsIfExists"` |
| 38 | +} |
| 39 | + |
| 40 | +func (s *DropFullTextStopListStatement) node() {} |
| 41 | +func (s *DropFullTextStopListStatement) statement() {} |
| 42 | + |
| 43 | +// DropFullTextCatalogStatement represents DROP FULLTEXT CATALOG statement |
| 44 | +type DropFullTextCatalogStatement struct { |
| 45 | + Name *Identifier `json:"Name,omitempty"` |
| 46 | +} |
| 47 | + |
| 48 | +func (s *DropFullTextCatalogStatement) node() {} |
| 49 | +func (s *DropFullTextCatalogStatement) statement() {} |
| 50 | + |
| 51 | +// DropFulltextIndexStatement represents DROP FULLTEXT INDEX statement |
| 52 | +type DropFulltextIndexStatement struct { |
| 53 | + OnName *SchemaObjectName `json:"OnName,omitempty"` |
| 54 | +} |
| 55 | + |
| 56 | +func (s *DropFulltextIndexStatement) node() {} |
| 57 | +func (s *DropFulltextIndexStatement) statement() {} |
0 commit comments