github.com/dolthub/go-mysql-server@v0.18.0/sql/plan/jointype_string.go (about) 1 // Code generated by "stringer -type=JoinType -linecomment"; DO NOT EDIT. 2 3 package plan 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[JoinTypeUnknown-0] 12 _ = x[JoinTypeCross-1] 13 _ = x[JoinTypeCrossHash-2] 14 _ = x[JoinTypeInner-3] 15 _ = x[JoinTypeSemi-4] 16 _ = x[JoinTypeAnti-5] 17 _ = x[JoinTypeLeftOuter-6] 18 _ = x[JoinTypeLeftOuterExcludeNulls-7] 19 _ = x[JoinTypeFullOuter-8] 20 _ = x[JoinTypeGroupBy-9] 21 _ = x[JoinTypeRightOuter-10] 22 _ = x[JoinTypeLookup-11] 23 _ = x[JoinTypeLeftOuterLookup-12] 24 _ = x[JoinTypeHash-13] 25 _ = x[JoinTypeLeftOuterHash-14] 26 _ = x[JoinTypeLeftOuterHashExcludeNulls-15] 27 _ = x[JoinTypeMerge-16] 28 _ = x[JoinTypeLeftOuterMerge-17] 29 _ = x[JoinTypeRangeHeap-18] 30 _ = x[JoinTypeLeftOuterRangeHeap-19] 31 _ = x[JoinTypeSemiHash-20] 32 _ = x[JoinTypeAntiHash-21] 33 _ = x[JoinTypeSemiLookup-22] 34 _ = x[JoinTypeAntiLookup-23] 35 _ = x[JoinTypeSemiMerge-24] 36 _ = x[JoinTypeAntiMerge-25] 37 _ = x[JoinTypeUsing-26] 38 _ = x[JoinTypeUsingLeft-27] 39 _ = x[JoinTypeUsingRight-28] 40 _ = x[JoinTypeLateralCross-29] 41 _ = x[JoinTypeLateralInner-30] 42 _ = x[JoinTypeLateralLeft-31] 43 _ = x[JoinTypeLateralRight-32] 44 } 45 46 const _JoinType_name = "UnknownJoinCrossJoinCrossHashJoinInnerJoinSemiJoinAntiJoinLeftOuterJoinLeftOuterJoinExcludingNullsFullOuterJoinGroupByJoinRightJoinLookupJoinLeftOuterLookupJoinHashJoinLeftOuterHashJoinLeftOuterHashJoinExcludeNullsMergeJoinLeftOuterMergeJoinRangeHeapJoinLeftOuterRangeHeapJoinSemiHashJoinAntiHashJoinSemiLookupJoinAntiLookupJoinSemiMergeJoinAntiMergeJoinNaturalJoinNaturalLeftJoinNaturalRightJoinLateralCrossJoinLateralInnerJoinLateralLeftJoinLateralLeftJoin" 47 48 var _JoinType_index = [...]uint16{0, 11, 20, 33, 42, 50, 58, 71, 98, 111, 122, 131, 141, 160, 168, 185, 214, 223, 241, 254, 276, 288, 300, 314, 328, 341, 354, 365, 380, 396, 412, 428, 443, 458} 49 50 func (i JoinType) String() string { 51 if i >= JoinType(len(_JoinType_index)-1) { 52 return "JoinType(" + strconv.FormatInt(int64(i), 10) + ")" 53 } 54 return _JoinType_name[_JoinType_index[i]:_JoinType_index[i+1]] 55 }