aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/apache/arrow/go/v13/parquet/version_string.go
blob: ab01aa485a1af5a4aa0fede8ecf2f672954b5d18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Code generated by "stringer -type=Version -linecomment"; DO NOT EDIT.

package parquet

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[V1_0-0]
	_ = x[V2_4-1]
	_ = x[V2_6-2]
}

const _Version_name = "v1.0v2.4v2.6"

var _Version_index = [...]uint8{0, 4, 8, 12}

func (i Version) String() string {
	if i < 0 || i >= Version(len(_Version_index)-1) {
		return "Version(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _Version_name[_Version_index[i]:_Version_index[i+1]]
}