Class CreateMsStatistics
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract<MsDatabase>
org.pgcodekeeper.core.parsers.antlr.ms.statement.MsParserAbstract
org.pgcodekeeper.core.parsers.antlr.ms.statement.CreateMsStatistics
Parser for Microsoft SQL CREATE STATISTICS statements.
Handles statistics creation on table columns including filter conditions
and various statistics options like SAMPLE, NORECOMPUTE, AUTO_DROP, and INCREMENTAL.
-
Constructor Summary
ConstructorsConstructorDescriptionCreateMsStatistics(TSQLParser.Create_statisticsContext ctx, MsDatabase db, ISettings settings) Creates a parser for Microsoft SQL CREATE STATISTICS statements. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses a database object from the current context.Methods inherited from class org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract
fillOptionParams, fillOptionParams, getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
CreateMsStatistics
public CreateMsStatistics(TSQLParser.Create_statisticsContext ctx, MsDatabase db, ISettings settings) Creates a parser for Microsoft SQL CREATE STATISTICS statements.- Parameters:
ctx- the ANTLR parse tree context for the CREATE STATISTICS statementdb- the Microsoft SQL database schema being processedsettings- parsing configuration settings
-
-
Method Details
-
parseObject
public void parseObject()Description copied from class:ParserAbstractParses a database object from the current context. Must be implemented by concrete subclasses to handle specific object types.- Specified by:
parseObjectin classParserAbstract<MsDatabase>
-