Class: Aws::Glue::Types::ViewDefinitionInput

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

Overview

A structure containing details for creating or updating an Glue view.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#definer ⇒ String

The definer of a view in SQL.

Returns:

  • (String)


36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#is_managed ⇒ Boolean

Specifies whether the materialized view is managed by Glue.

Returns:

  • (Boolean)


36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#is_protected ⇒ Boolean

You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.

Returns:

  • (Boolean)


36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#last_refresh_type ⇒ String

The type of the materialized view's last refresh. Valid values: Full, Incremental.

Returns:

  • (String)


36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#refresh_seconds ⇒ Integer

Auto refresh interval in seconds for the materialized view. If not specified, the view will not automatically refresh.

Returns:

  • (Integer)


36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#representations ⇒ Array<Types::ViewRepresentationInput>

A list of structures that contains the dialect of the view, and the query that defines the view.

Returns:



36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#spark_pipeline_info ⇒ Hash<String,String>

A map of key-value pairs containing Spark Declarative Pipelines (SDP) information for the materialized view.

Returns:

  • (Hash<String,String>)


36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#sub_object_version_ids ⇒ Array<Integer>

List of the Apache Iceberg table versions referenced by the materialized view.

Returns:

  • (Array<Integer>)


36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#sub_objects ⇒ Array<String>

A list of base table ARNs that make up the view.

Returns:

  • (Array<String>)


36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#sub_objects_statistics ⇒ Array<Types::SubObjectStatistics>

Statistics for each sub-object referenced by the materialized view, such as the source type, Glue version ID, and the partition, file, and byte counts. Each entry describes one sub-object, identified by its source type.

Returns:



36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#view_version_id ⇒ Integer

The ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.

Returns:

  • (Integer)


36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end

#view_version_token ⇒ String

The version ID of the Apache Iceberg table.

Returns:

  • (String)


36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 36791

class ViewDefinitionInput < Struct.new(
  :is_protected,
  :is_managed,
  :definer,
  :representations,
  :view_version_id,
  :view_version_token,
  :refresh_seconds,
  :last_refresh_type,
  :sub_objects,
  :sub_object_version_ids,
  :sub_objects_statistics,
  :spark_pipeline_info)
  SENSITIVE = []
  include Aws::Structure
end