Class: Aws::S3::Types::SelectParameters
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::SelectParameters
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Note:
When making an API call, you may pass SelectParameters data as a hash:
{
input_serialization: { # required
csv: {
file_header_info: "USE", # accepts USE, IGNORE, NONE
comments: "Comments",
quote_escape_character: "QuoteEscapeCharacter",
record_delimiter: "RecordDelimiter",
field_delimiter: "FieldDelimiter",
quote_character: "QuoteCharacter",
allow_quoted_record_delimiter: false,
},
compression_type: "NONE", # accepts NONE, GZIP, BZIP2
json: {
type: "DOCUMENT", # accepts DOCUMENT, LINES
},
parquet: {
},
},
expression_type: "SQL", # required, accepts SQL
expression: "Expression", # required
output_serialization: { # required
csv: {
quote_fields: "ALWAYS", # accepts ALWAYS, ASNEEDED
quote_escape_character: "QuoteEscapeCharacter",
record_delimiter: "RecordDelimiter",
field_delimiter: "FieldDelimiter",
quote_character: "QuoteCharacter",
},
json: {
record_delimiter: "RecordDelimiter",
},
},
}
Describes the parameters for Select job types.
Instance Attribute Summary collapse
-
#expression ⇒ String
The expression that is used to query the object.
-
#expression_type ⇒ String
The type of the provided expression (e.g., SQL).
-
#input_serialization ⇒ Types::InputSerialization
Describes the serialization format of the object.
-
#output_serialization ⇒ Types::OutputSerialization
Describes how the results of the Select job are serialized.
Instance Attribute Details
#expression ⇒ String
The expression that is used to query the object.
9291 9292 9293 9294 9295 9296 9297 |
# File 'lib/aws-sdk-s3/types.rb', line 9291 class SelectParameters < Struct.new( :input_serialization, :expression_type, :expression, :output_serialization) include Aws::Structure end |
#expression_type ⇒ String
The type of the provided expression (e.g., SQL).
9291 9292 9293 9294 9295 9296 9297 |
# File 'lib/aws-sdk-s3/types.rb', line 9291 class SelectParameters < Struct.new( :input_serialization, :expression_type, :expression, :output_serialization) include Aws::Structure end |
#input_serialization ⇒ Types::InputSerialization
Describes the serialization format of the object.
9291 9292 9293 9294 9295 9296 9297 |
# File 'lib/aws-sdk-s3/types.rb', line 9291 class SelectParameters < Struct.new( :input_serialization, :expression_type, :expression, :output_serialization) include Aws::Structure end |
#output_serialization ⇒ Types::OutputSerialization
Describes how the results of the Select job are serialized.
9291 9292 9293 9294 9295 9296 9297 |
# File 'lib/aws-sdk-s3/types.rb', line 9291 class SelectParameters < Struct.new( :input_serialization, :expression_type, :expression, :output_serialization) include Aws::Structure end |