summaryrefslogtreecommitdiff
path: root/vendor/github.com/minio/minio-go/v7/api-select.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-01-16 10:29:47 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-16 10:29:47 +0100
commitfe3e9ede521a580dcc2e1ec918ebb53e78898885 (patch)
treeb79d4ed648bdf20fcb36406266cda5ac5cddf58e /vendor/github.com/minio/minio-go/v7/api-select.go
parent[chore]: Bump golang.org/x/oauth2 from 0.3.0 to 0.4.0 (#1347) (diff)
downloadgotosocial-fe3e9ede521a580dcc2e1ec918ebb53e78898885.tar.xz
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.44 to 7.0.47 (#1348)
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.44 to 7.0.47. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.44...v7.0.47) --- updated-dependencies: - dependency-name: github.com/minio/minio-go/v7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/api-select.go')
-rw-r--r--vendor/github.com/minio/minio-go/v7/api-select.go32
1 files changed, 16 insertions, 16 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/api-select.go b/vendor/github.com/minio/minio-go/v7/api-select.go
index 5d47d7ec5..628d967ff 100644
--- a/vendor/github.com/minio/minio-go/v7/api-select.go
+++ b/vendor/github.com/minio/minio-go/v7/api-select.go
@@ -41,8 +41,8 @@ type CSVFileHeaderInfo string
// Constants for file header info.
const (
CSVFileHeaderInfoNone CSVFileHeaderInfo = "NONE"
- CSVFileHeaderInfoIgnore = "IGNORE"
- CSVFileHeaderInfoUse = "USE"
+ CSVFileHeaderInfoIgnore CSVFileHeaderInfo = "IGNORE"
+ CSVFileHeaderInfoUse CSVFileHeaderInfo = "USE"
)
// SelectCompressionType - is the parameter for what type of compression is
@@ -52,15 +52,15 @@ type SelectCompressionType string
// Constants for compression types under select API.
const (
SelectCompressionNONE SelectCompressionType = "NONE"
- SelectCompressionGZIP = "GZIP"
- SelectCompressionBZIP = "BZIP2"
+ SelectCompressionGZIP SelectCompressionType = "GZIP"
+ SelectCompressionBZIP SelectCompressionType = "BZIP2"
// Non-standard compression schemes, supported by MinIO hosts:
- SelectCompressionZSTD = "ZSTD" // Zstandard compression.
- SelectCompressionLZ4 = "LZ4" // LZ4 Stream
- SelectCompressionS2 = "S2" // S2 Stream
- SelectCompressionSNAPPY = "SNAPPY" // Snappy stream
+ SelectCompressionZSTD SelectCompressionType = "ZSTD" // Zstandard compression.
+ SelectCompressionLZ4 SelectCompressionType = "LZ4" // LZ4 Stream
+ SelectCompressionS2 SelectCompressionType = "S2" // S2 Stream
+ SelectCompressionSNAPPY SelectCompressionType = "SNAPPY" // Snappy stream
)
// CSVQuoteFields - is the parameter for how CSV fields are quoted.
@@ -69,7 +69,7 @@ type CSVQuoteFields string
// Constants for csv quote styles.
const (
CSVQuoteFieldsAlways CSVQuoteFields = "Always"
- CSVQuoteFieldsAsNeeded = "AsNeeded"
+ CSVQuoteFieldsAsNeeded CSVQuoteFields = "AsNeeded"
)
// QueryExpressionType - is of what syntax the expression is, this should only
@@ -87,7 +87,7 @@ type JSONType string
// Constants for JSONTypes.
const (
JSONDocumentType JSONType = "DOCUMENT"
- JSONLinesType = "LINES"
+ JSONLinesType JSONType = "LINES"
)
// ParquetInputOptions parquet input specific options
@@ -378,8 +378,8 @@ type SelectObjectType string
// Constants for input data types.
const (
SelectObjectTypeCSV SelectObjectType = "CSV"
- SelectObjectTypeJSON = "JSON"
- SelectObjectTypeParquet = "Parquet"
+ SelectObjectTypeJSON SelectObjectType = "JSON"
+ SelectObjectTypeParquet SelectObjectType = "Parquet"
)
// preludeInfo is used for keeping track of necessary information from the
@@ -416,7 +416,7 @@ type messageType string
const (
errorMsg messageType = "error"
- commonMsg = "event"
+ commonMsg messageType = "event"
)
// eventType represents the type of event.
@@ -425,9 +425,9 @@ type eventType string
// list of event-types returned by Select API.
const (
endEvent eventType = "End"
- recordsEvent = "Records"
- progressEvent = "Progress"
- statsEvent = "Stats"
+ recordsEvent eventType = "Records"
+ progressEvent eventType = "Progress"
+ statsEvent eventType = "Stats"
)
// contentType represents content type of event.