amazonka-glue-2.0: Amazon Glue SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glue.Types.GlueTable

Description

 
Synopsis

Documentation

data GlueTable Source #

The database and table in the Glue Data Catalog that is used for input or output data.

See: newGlueTable smart constructor.

Constructors

GlueTable' 

Fields

  • additionalOptions :: Maybe (HashMap Text Text)

    Additional options for the table. Currently there are two keys supported:

    • pushDownPredicate: to filter on partitions without having to list and read all the files in your dataset.
    • catalogPartitionPredicate: to use server-side partition pruning using partition indexes in the Glue Data Catalog.
  • catalogId :: Maybe Text

    A unique identifier for the Glue Data Catalog.

  • connectionName :: Maybe Text

    The name of the connection to the Glue Data Catalog.

  • databaseName :: Text

    A database name in the Glue Data Catalog.

  • tableName :: Text

    A table name in the Glue Data Catalog.

Instances

Instances details
FromJSON GlueTable Source # 
Instance details

Defined in Amazonka.Glue.Types.GlueTable

ToJSON GlueTable Source # 
Instance details

Defined in Amazonka.Glue.Types.GlueTable

Generic GlueTable Source # 
Instance details

Defined in Amazonka.Glue.Types.GlueTable

Associated Types

type Rep GlueTable :: Type -> Type #

Read GlueTable Source # 
Instance details

Defined in Amazonka.Glue.Types.GlueTable

Show GlueTable Source # 
Instance details

Defined in Amazonka.Glue.Types.GlueTable

NFData GlueTable Source # 
Instance details

Defined in Amazonka.Glue.Types.GlueTable

Methods

rnf :: GlueTable -> () #

Eq GlueTable Source # 
Instance details

Defined in Amazonka.Glue.Types.GlueTable

Hashable GlueTable Source # 
Instance details

Defined in Amazonka.Glue.Types.GlueTable

type Rep GlueTable Source # 
Instance details

Defined in Amazonka.Glue.Types.GlueTable

type Rep GlueTable = D1 ('MetaData "GlueTable" "Amazonka.Glue.Types.GlueTable" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GlueTable'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "additionalOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "connectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGlueTable Source #

Create a value of GlueTable with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:additionalOptions:GlueTable', glueTable_additionalOptions - Additional options for the table. Currently there are two keys supported:

  • pushDownPredicate: to filter on partitions without having to list and read all the files in your dataset.
  • catalogPartitionPredicate: to use server-side partition pruning using partition indexes in the Glue Data Catalog.

$sel:catalogId:GlueTable', glueTable_catalogId - A unique identifier for the Glue Data Catalog.

$sel:connectionName:GlueTable', glueTable_connectionName - The name of the connection to the Glue Data Catalog.

$sel:databaseName:GlueTable', glueTable_databaseName - A database name in the Glue Data Catalog.

$sel:tableName:GlueTable', glueTable_tableName - A table name in the Glue Data Catalog.

glueTable_additionalOptions :: Lens' GlueTable (Maybe (HashMap Text Text)) Source #

Additional options for the table. Currently there are two keys supported:

  • pushDownPredicate: to filter on partitions without having to list and read all the files in your dataset.
  • catalogPartitionPredicate: to use server-side partition pruning using partition indexes in the Glue Data Catalog.

glueTable_catalogId :: Lens' GlueTable (Maybe Text) Source #

A unique identifier for the Glue Data Catalog.

glueTable_connectionName :: Lens' GlueTable (Maybe Text) Source #

The name of the connection to the Glue Data Catalog.

glueTable_databaseName :: Lens' GlueTable Text Source #

A database name in the Glue Data Catalog.

glueTable_tableName :: Lens' GlueTable Text Source #

A table name in the Glue Data Catalog.