@@ -41,8 +41,8 @@ type CSVFileHeaderInfo string
41
41
// Constants for file header info.
42
42
const (
43
43
CSVFileHeaderInfoNone CSVFileHeaderInfo = "NONE"
44
- CSVFileHeaderInfoIgnore = "IGNORE"
45
- CSVFileHeaderInfoUse = "USE"
44
+ CSVFileHeaderInfoIgnore CSVFileHeaderInfo = "IGNORE"
45
+ CSVFileHeaderInfoUse CSVFileHeaderInfo = "USE"
46
46
)
47
47
48
48
// SelectCompressionType - is the parameter for what type of compression is
@@ -52,15 +52,15 @@ type SelectCompressionType string
52
52
// Constants for compression types under select API.
53
53
const (
54
54
SelectCompressionNONE SelectCompressionType = "NONE"
55
- SelectCompressionGZIP = "GZIP"
56
- SelectCompressionBZIP = "BZIP2"
55
+ SelectCompressionGZIP SelectCompressionType = "GZIP"
56
+ SelectCompressionBZIP SelectCompressionType = "BZIP2"
57
57
58
58
// Non-standard compression schemes, supported by MinIO hosts:
59
59
60
- SelectCompressionZSTD = "ZSTD" // Zstandard compression.
61
- SelectCompressionLZ4 = "LZ4" // LZ4 Stream
62
- SelectCompressionS2 = "S2" // S2 Stream
63
- SelectCompressionSNAPPY = "SNAPPY" // Snappy stream
60
+ SelectCompressionZSTD SelectCompressionType = "ZSTD" // Zstandard compression.
61
+ SelectCompressionLZ4 SelectCompressionType = "LZ4" // LZ4 Stream
62
+ SelectCompressionS2 SelectCompressionType = "S2" // S2 Stream
63
+ SelectCompressionSNAPPY SelectCompressionType = "SNAPPY" // Snappy stream
64
64
)
65
65
66
66
// CSVQuoteFields - is the parameter for how CSV fields are quoted.
@@ -69,7 +69,7 @@ type CSVQuoteFields string
69
69
// Constants for csv quote styles.
70
70
const (
71
71
CSVQuoteFieldsAlways CSVQuoteFields = "Always"
72
- CSVQuoteFieldsAsNeeded = "AsNeeded"
72
+ CSVQuoteFieldsAsNeeded CSVQuoteFields = "AsNeeded"
73
73
)
74
74
75
75
// QueryExpressionType - is of what syntax the expression is, this should only
@@ -87,7 +87,7 @@ type JSONType string
87
87
// Constants for JSONTypes.
88
88
const (
89
89
JSONDocumentType JSONType = "DOCUMENT"
90
- JSONLinesType = "LINES"
90
+ JSONLinesType JSONType = "LINES"
91
91
)
92
92
93
93
// ParquetInputOptions parquet input specific options
@@ -378,8 +378,8 @@ type SelectObjectType string
378
378
// Constants for input data types.
379
379
const (
380
380
SelectObjectTypeCSV SelectObjectType = "CSV"
381
- SelectObjectTypeJSON = "JSON"
382
- SelectObjectTypeParquet = "Parquet"
381
+ SelectObjectTypeJSON SelectObjectType = "JSON"
382
+ SelectObjectTypeParquet SelectObjectType = "Parquet"
383
383
)
384
384
385
385
// preludeInfo is used for keeping track of necessary information from the
@@ -416,7 +416,7 @@ type messageType string
416
416
417
417
const (
418
418
errorMsg messageType = "error"
419
- commonMsg = "event"
419
+ commonMsg messageType = "event"
420
420
)
421
421
422
422
// eventType represents the type of event.
@@ -425,9 +425,9 @@ type eventType string
425
425
// list of event-types returned by Select API.
426
426
const (
427
427
endEvent eventType = "End"
428
- recordsEvent = "Records"
429
- progressEvent = "Progress"
430
- statsEvent = "Stats"
428
+ recordsEvent eventType = "Records"
429
+ progressEvent eventType = "Progress"
430
+ statsEvent eventType = "Stats"
431
431
)
432
432
433
433
// contentType represents content type of event.
0 commit comments