Class: Aws::Glue::Types::JDBCConnectorSource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass JDBCConnectorSource data as a hash:

{
  name: "NodeName", # required
  connection_name: "EnclosedInStringProperty", # required
  connector_name: "EnclosedInStringProperty", # required
  connection_type: "EnclosedInStringProperty", # required
  additional_options: {
    filter_predicate: "EnclosedInStringProperty",
    partition_column: "EnclosedInStringProperty",
    lower_bound: 1,
    upper_bound: 1,
    num_partitions: 1,
    job_bookmark_keys: ["EnclosedInStringProperty"],
    job_bookmark_keys_sort_order: "EnclosedInStringProperty",
    data_type_mapping: {
      "ARRAY" => "DATE", # accepts DATE, STRING, TIMESTAMP, INT, FLOAT, LONG, BIGDECIMAL, BYTE, SHORT, DOUBLE
    },
  },
  connection_table: "EnclosedInStringPropertyWithQuote",
  query: "SqlQuery",
  output_schemas: [
    {
      columns: [
        {
          name: "GlueStudioColumnNameString", # required
          type: "ColumnTypeString",
        },
      ],
    },
  ],
}

Specifies a connector to a JDBC data source.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_optionsTypes::JDBCConnectorOptions

Additional connection options for the connector.



14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 14525

class JDBCConnectorSource < Struct.new(
  :name,
  :connection_name,
  :connector_name,
  :connection_type,
  :additional_options,
  :connection_table,
  :query,
  :output_schemas)
  SENSITIVE = []
  include Aws::Structure
end

#connection_nameString

The name of the connection that is associated with the connector.

Returns:

  • (String)


14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 14525

class JDBCConnectorSource < Struct.new(
  :name,
  :connection_name,
  :connector_name,
  :connection_type,
  :additional_options,
  :connection_table,
  :query,
  :output_schemas)
  SENSITIVE = []
  include Aws::Structure
end

#connection_tableString

The name of the table in the data source.

Returns:

  • (String)


14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 14525

class JDBCConnectorSource < Struct.new(
  :name,
  :connection_name,
  :connector_name,
  :connection_type,
  :additional_options,
  :connection_table,
  :query,
  :output_schemas)
  SENSITIVE = []
  include Aws::Structure
end

#connection_typeString

The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data store.

Returns:

  • (String)


14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 14525

class JDBCConnectorSource < Struct.new(
  :name,
  :connection_name,
  :connector_name,
  :connection_type,
  :additional_options,
  :connection_table,
  :query,
  :output_schemas)
  SENSITIVE = []
  include Aws::Structure
end

#connector_nameString

The name of a connector that assists with accessing the data store in Glue Studio.

Returns:

  • (String)


14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 14525

class JDBCConnectorSource < Struct.new(
  :name,
  :connection_name,
  :connector_name,
  :connection_type,
  :additional_options,
  :connection_table,
  :query,
  :output_schemas)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the data source.

Returns:

  • (String)


14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 14525

class JDBCConnectorSource < Struct.new(
  :name,
  :connection_name,
  :connector_name,
  :connection_type,
  :additional_options,
  :connection_table,
  :query,
  :output_schemas)
  SENSITIVE = []
  include Aws::Structure
end

#output_schemasArray<Types::GlueSchema>

Specifies the data schema for the custom JDBC source.

Returns:



14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 14525

class JDBCConnectorSource < Struct.new(
  :name,
  :connection_name,
  :connector_name,
  :connection_type,
  :additional_options,
  :connection_table,
  :query,
  :output_schemas)
  SENSITIVE = []
  include Aws::Structure
end

#queryString

The table or SQL query to get the data from. You can specify either ConnectionTable or query, but not both.

Returns:

  • (String)


14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 14525

class JDBCConnectorSource < Struct.new(
  :name,
  :connection_name,
  :connector_name,
  :connection_type,
  :additional_options,
  :connection_table,
  :query,
  :output_schemas)
  SENSITIVE = []
  include Aws::Structure
end