github.com/dolthub/go-mysql-server@v0.18.0/sql/analyzer/ruleid_string.go (about)

     1  // Code generated by "stringer -type=RuleId -linecomment"; DO NOT EDIT.
     2  
     3  package analyzer
     4  
     5  import "strconv"
     6  
     7  func _() {
     8  	// An "invalid array index" compiler error signifies that the constant values have changed.
     9  	// Re-run the stringer command to generate them again.
    10  	var x [1]struct{}
    11  	_ = x[applyDefaultSelectLimitId-0]
    12  	_ = x[validateOffsetAndLimitId-1]
    13  	_ = x[validateStarExpressionsId-2]
    14  	_ = x[validateCreateTableId-3]
    15  	_ = x[validateAlterTableId-4]
    16  	_ = x[validateExprSemId-5]
    17  	_ = x[resolveVariablesId-6]
    18  	_ = x[resolveNamedWindowsId-7]
    19  	_ = x[resolveSetVariablesId-8]
    20  	_ = x[resolveViewsId-9]
    21  	_ = x[liftCtesId-10]
    22  	_ = x[resolveCtesId-11]
    23  	_ = x[liftRecursiveCtesId-12]
    24  	_ = x[resolveDatabasesId-13]
    25  	_ = x[resolveTablesId-14]
    26  	_ = x[loadStoredProceduresId-15]
    27  	_ = x[validateDropTablesId-16]
    28  	_ = x[pruneDropTablesId-17]
    29  	_ = x[setTargetSchemasId-18]
    30  	_ = x[resolveCreateLikeId-19]
    31  	_ = x[parseColumnDefaultsId-20]
    32  	_ = x[resolveDropConstraintId-21]
    33  	_ = x[validateDropConstraintId-22]
    34  	_ = x[loadCheckConstraintsId-23]
    35  	_ = x[assignCatalogId-24]
    36  	_ = x[resolveAnalyzeTablesId-25]
    37  	_ = x[resolveCreateSelectId-26]
    38  	_ = x[resolveSubqueriesId-27]
    39  	_ = x[setViewTargetSchemaId-28]
    40  	_ = x[resolveUnionsId-29]
    41  	_ = x[resolveDescribeQueryId-30]
    42  	_ = x[checkUniqueTableNamesId-31]
    43  	_ = x[resolveTableFunctionsId-32]
    44  	_ = x[resolveDeclarationsId-33]
    45  	_ = x[resolveColumnDefaultsId-34]
    46  	_ = x[validateColumnDefaultsId-35]
    47  	_ = x[validateCreateTriggerId-36]
    48  	_ = x[validateCreateProcedureId-37]
    49  	_ = x[resolveCreateProcedureId-38]
    50  	_ = x[loadInfoSchemaId-39]
    51  	_ = x[validateReadOnlyDatabaseId-40]
    52  	_ = x[validateReadOnlyTransactionId-41]
    53  	_ = x[validateDatabaseSetId-42]
    54  	_ = x[validatePrivilegesId-43]
    55  	_ = x[reresolveTablesId-44]
    56  	_ = x[setInsertColumnsId-45]
    57  	_ = x[validateJoinComplexityId-46]
    58  	_ = x[applyBinlogReplicaControllerId-47]
    59  	_ = x[applyEventSchedulerId-48]
    60  	_ = x[resolveUsingJoinsId-49]
    61  	_ = x[resolveOrderbyLiteralsId-50]
    62  	_ = x[resolveFunctionsId-51]
    63  	_ = x[flattenTableAliasesId-52]
    64  	_ = x[pushdownSortId-53]
    65  	_ = x[pushdownGroupbyAliasesId-54]
    66  	_ = x[pushdownSubqueryAliasFiltersId-55]
    67  	_ = x[qualifyColumnsId-56]
    68  	_ = x[resolveColumnsId-57]
    69  	_ = x[validateCheckConstraintId-58]
    70  	_ = x[resolveBarewordSetVariablesId-59]
    71  	_ = x[replaceCountStarId-60]
    72  	_ = x[expandStarsId-61]
    73  	_ = x[transposeRightJoinsId-62]
    74  	_ = x[resolveHavingId-63]
    75  	_ = x[mergeUnionSchemasId-64]
    76  	_ = x[flattenAggregationExprsId-65]
    77  	_ = x[reorderProjectionId-66]
    78  	_ = x[resolveSubqueryExprsId-67]
    79  	_ = x[replaceCrossJoinsId-68]
    80  	_ = x[moveJoinCondsToFilterId-69]
    81  	_ = x[moveFiltersToJoinCondId-70]
    82  	_ = x[simplifyFiltersId-71]
    83  	_ = x[pushNotFiltersId-72]
    84  	_ = x[optimizeDistinctId-73]
    85  	_ = x[hoistOutOfScopeFiltersId-74]
    86  	_ = x[unnestInSubqueriesId-75]
    87  	_ = x[unnestExistsSubqueriesId-76]
    88  	_ = x[finalizeSubqueriesId-77]
    89  	_ = x[finalizeUnionsId-78]
    90  	_ = x[loadTriggersId-79]
    91  	_ = x[loadEventsId-80]
    92  	_ = x[processTruncateId-81]
    93  	_ = x[resolveAlterColumnId-82]
    94  	_ = x[resolveGeneratorsId-83]
    95  	_ = x[removeUnnecessaryConvertsId-84]
    96  	_ = x[stripTableNameInDefaultsId-85]
    97  	_ = x[foldEmptyJoinsId-86]
    98  	_ = x[optimizeJoinsId-87]
    99  	_ = x[generateIndexScansId-88]
   100  	_ = x[matchAgainstId-89]
   101  	_ = x[pushFiltersId-90]
   102  	_ = x[applyIndexesFromOuterScopeId-91]
   103  	_ = x[pruneTablesId-92]
   104  	_ = x[fixupAuxiliaryExprsId-93]
   105  	_ = x[assignExecIndexesId-94]
   106  	_ = x[inlineSubqueryAliasRefsId-95]
   107  	_ = x[eraseProjectionId-96]
   108  	_ = x[flattenDistinctId-97]
   109  	_ = x[replaceAggId-98]
   110  	_ = x[replaceIdxSortId-99]
   111  	_ = x[insertTopNId-100]
   112  	_ = x[applyHashInId-101]
   113  	_ = x[resolveInsertRowsId-102]
   114  	_ = x[resolvePreparedInsertId-103]
   115  	_ = x[applyTriggersId-104]
   116  	_ = x[applyProceduresId-105]
   117  	_ = x[assignRoutinesId-106]
   118  	_ = x[modifyUpdateExprsForJoinId-107]
   119  	_ = x[applyRowUpdateAccumulatorsId-108]
   120  	_ = x[wrapWithRollbackId-109]
   121  	_ = x[applyFKsId-110]
   122  	_ = x[validateResolvedId-111]
   123  	_ = x[validateOrderById-112]
   124  	_ = x[validateGroupById-113]
   125  	_ = x[validateSchemaSourceId-114]
   126  	_ = x[validateIndexCreationId-115]
   127  	_ = x[validateOperandsId-116]
   128  	_ = x[validateCaseResultTypesId-117]
   129  	_ = x[validateIntervalUsageId-118]
   130  	_ = x[validateExplodeUsageId-119]
   131  	_ = x[validateSubqueryColumnsId-120]
   132  	_ = x[validateUnionSchemasMatchId-121]
   133  	_ = x[validateAggregationsId-122]
   134  	_ = x[validateDeleteFromId-123]
   135  	_ = x[cacheSubqueryResultsId-124]
   136  	_ = x[cacheSubqueryAliasesInJoinsId-125]
   137  	_ = x[backtickDefaulColumnValueNamesId-126]
   138  	_ = x[AutocommitId-127]
   139  	_ = x[TrackProcessId-128]
   140  	_ = x[parallelizeId-129]
   141  	_ = x[clearWarningsId-130]
   142  }
   143  
   144  const _RuleId_name = "applyDefaultSelectLimitvalidateOffsetAndLimitvalidateStarExpressionsvalidateCreateTablevalidateAlterTablevalidateExprSemresolveVariablesresolveNamedWindowsresolveSetVariablesresolveViewsliftCtesresolveCtesliftRecursiveCtesresolveDatabasesresolveTablesloadStoredProceduresvalidateDropTablespruneDropTablessetTargetSchemasresolveCreateLikeparseColumnDefaultsresolveDropConstraintvalidateDropConstraintloadCheckConstraintsassignCatalogresolveAnalyzeTablesresolveCreateSelectresolveSubqueriessetViewTargetSchemaresolveUnionsresolveDescribeQuerycheckUniqueTableNamesresolveTableFunctionsresolveDeclarationsresolveColumnDefaultsvalidateColumnDefaultsvalidateCreateTriggervalidateCreateProcedureresolveCreateProcedureloadInfoSchemavalidateReadOnlyDatabasevalidateReadOnlyTransactionvalidateDatabaseSetvalidatePrivilegesreresolveTablessetInsertColumnsvalidateJoinComplexityapplyBinlogReplicaControllerapplyEventSchedulerresolveUsingJoinsresolveOrderbyLiteralsresolveFunctionsflattenTableAliasespushdownSortpushdownGroupbyAliasespushdownSubqueryAliasFiltersqualifyColumnsresolveColumnsvalidateCheckConstraintresolveBarewordSetVariablesreplaceCountStarexpandStarstransposeRightJoinsresolveHavingmergeUnionSchemasflattenAggregationExprsreorderProjectionresolveSubqueryExprsreplaceCrossJoinsmoveJoinCondsToFiltermoveFiltersToJoinCondsimplifyFilterspushNotFiltersoptimizeDistincthoistOutOfScopeFiltersunnestInSubqueriesunnestExistsSubqueriesfinalizeSubqueriesfinalizeUnionsloadTriggersloadEventsprocessTruncateresolveAlterColumnresolveGeneratorsremoveUnnecessaryConvertsstripTableNamesFromColumnDefaultsfoldEmptyJoinsoptimizeJoinsgenerateIndexScansmatchAgainstpushFiltersapplyIndexesFromOuterScopepruneTablesfixupAuxiliaryExprsassignExecIndexesinlineSubqueryAliasRefseraseProjectionflattenDistinctreplaceAggreplaceIdxSortinsertTopNapplyHashInresolveInsertRowsresolvePreparedInsertapplyTriggersapplyProceduresassignRoutinesmodifyUpdateExprsForJoinapplyRowUpdateAccumulatorsrollback triggersapplyFKsvalidateResolvedvalidateOrderByvalidateGroupByvalidateSchemaSourcevalidateIndexCreationvalidateOperandsvalidateCaseResultTypesvalidateIntervalUsagevalidateExplodeUsagevalidateSubqueryColumnsvalidateUnionSchemasMatchvalidateAggregationsvalidateDeleteFromcacheSubqueryResultscacheSubqueryAliasesInJoinsbacktickDefaulColumnValueNamesaddAutocommitNodetrackProcessparallelizeclearWarnings"
   145  
   146  var _RuleId_index = [...]uint16{0, 23, 45, 68, 87, 105, 120, 136, 155, 174, 186, 194, 205, 222, 238, 251, 271, 289, 304, 320, 337, 356, 377, 399, 419, 432, 452, 471, 488, 507, 520, 540, 561, 582, 601, 622, 644, 665, 688, 710, 724, 748, 775, 794, 812, 827, 843, 865, 893, 912, 929, 951, 967, 986, 998, 1020, 1048, 1062, 1076, 1099, 1126, 1142, 1153, 1172, 1185, 1202, 1225, 1242, 1262, 1279, 1300, 1321, 1336, 1350, 1366, 1388, 1406, 1428, 1446, 1460, 1472, 1482, 1497, 1515, 1532, 1557, 1590, 1604, 1617, 1635, 1647, 1658, 1684, 1695, 1714, 1731, 1754, 1769, 1784, 1794, 1808, 1818, 1829, 1846, 1867, 1880, 1895, 1909, 1933, 1959, 1976, 1984, 2000, 2015, 2030, 2050, 2071, 2087, 2110, 2131, 2151, 2174, 2199, 2219, 2237, 2257, 2284, 2314, 2331, 2343, 2354, 2367}
   147  
   148  func (i RuleId) String() string {
   149  	if i < 0 || i >= RuleId(len(_RuleId_index)-1) {
   150  		return "RuleId(" + strconv.FormatInt(int64(i), 10) + ")"
   151  	}
   152  	return _RuleId_name[_RuleId_index[i]:_RuleId_index[i+1]]
   153  }