You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::S3::Types::SelectParameters

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SelectParameters as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#expressionString

The expression that is used to query the object.

Returns:

  • (String)

    The expression that is used to query the object.

#expression_typeString

The type of the provided expression (for example, SQL).

Possible values:

  • SQL

Returns:

  • (String)

    The type of the provided expression (for example, SQL).

#input_serializationTypes::InputSerialization

Describes the serialization format of the object.

Returns:

#output_serializationTypes::OutputSerialization

Describes how the results of the Select job are serialized.

Returns: