github.com/dolthub/go-mysql-server@v0.18.0/sql/analyzer/indexscanop_string.go (about) 1 // Code generated by "stringer -type=indexScanOp -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[indexScanOpEq-0] 12 _ = x[indexScanOpNullSafeEq-1] 13 _ = x[indexScanOpInSet-2] 14 _ = x[indexScanOpNotInSet-3] 15 _ = x[indexScanOpNotEq-4] 16 _ = x[indexScanOpGt-5] 17 _ = x[indexScanOpGte-6] 18 _ = x[indexScanOpLt-7] 19 _ = x[indexScanOpLte-8] 20 _ = x[indexScanOpAnd-9] 21 _ = x[indexScanOpOr-10] 22 _ = x[indexScanOpIsNull-11] 23 _ = x[indexScanOpIsNotNull-12] 24 _ = x[indexScanOpSpatialEq-13] 25 _ = x[indexScanOpFulltextEq-14] 26 } 27 28 const _indexScanOp_name = "=<=>=!=!=>>=<<=&&||IS NULLIS NOT NULLSpatialEqFulltextEq" 29 30 var _indexScanOp_index = [...]uint8{0, 1, 4, 5, 7, 9, 10, 12, 13, 15, 17, 19, 26, 37, 46, 56} 31 32 func (i indexScanOp) String() string { 33 if i >= indexScanOp(len(_indexScanOp_index)-1) { 34 return "indexScanOp(" + strconv.FormatInt(int64(i), 10) + ")" 35 } 36 return _indexScanOp_name[_indexScanOp_index[i]:_indexScanOp_index[i+1]] 37 }