Class: Aws::Glue::Types::ColumnStatisticsData

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 ColumnStatisticsData data as a hash:

{
  type: "BOOLEAN", # required, accepts BOOLEAN, DATE, DECIMAL, DOUBLE, LONG, STRING, BINARY
  boolean_column_statistics_data: {
    number_of_trues: 1, # required
    number_of_falses: 1, # required
    number_of_nulls: 1, # required
  },
  date_column_statistics_data: {
    minimum_value: Time.now,
    maximum_value: Time.now,
    number_of_nulls: 1, # required
    number_of_distinct_values: 1, # required
  },
  decimal_column_statistics_data: {
    minimum_value: {
      unscaled_value: "data", # required
      scale: 1, # required
    },
    maximum_value: {
      unscaled_value: "data", # required
      scale: 1, # required
    },
    number_of_nulls: 1, # required
    number_of_distinct_values: 1, # required
  },
  double_column_statistics_data: {
    minimum_value: 1.0,
    maximum_value: 1.0,
    number_of_nulls: 1, # required
    number_of_distinct_values: 1, # required
  },
  long_column_statistics_data: {
    minimum_value: 1,
    maximum_value: 1,
    number_of_nulls: 1, # required
    number_of_distinct_values: 1, # required
  },
  string_column_statistics_data: {
    maximum_length: 1, # required
    average_length: 1.0, # required
    number_of_nulls: 1, # required
    number_of_distinct_values: 1, # required
  },
  binary_column_statistics_data: {
    maximum_length: 1, # required
    average_length: 1.0, # required
    number_of_nulls: 1, # required
  },
}

Contains the individual types of column statistics data. Only one data object should be set and indicated by the Type attribute.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#binary_column_statistics_dataTypes::BinaryColumnStatisticsData

Binary column statistics data.



1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1930

class ColumnStatisticsData < Struct.new(
  :type,
  :boolean_column_statistics_data,
  :date_column_statistics_data,
  :decimal_column_statistics_data,
  :double_column_statistics_data,
  :long_column_statistics_data,
  :string_column_statistics_data,
  :binary_column_statistics_data)
  SENSITIVE = []
  include Aws::Structure
end

#boolean_column_statistics_dataTypes::BooleanColumnStatisticsData

Boolean column statistics data.



1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1930

class ColumnStatisticsData < Struct.new(
  :type,
  :boolean_column_statistics_data,
  :date_column_statistics_data,
  :decimal_column_statistics_data,
  :double_column_statistics_data,
  :long_column_statistics_data,
  :string_column_statistics_data,
  :binary_column_statistics_data)
  SENSITIVE = []
  include Aws::Structure
end

#date_column_statistics_dataTypes::DateColumnStatisticsData

Date column statistics data.



1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1930

class ColumnStatisticsData < Struct.new(
  :type,
  :boolean_column_statistics_data,
  :date_column_statistics_data,
  :decimal_column_statistics_data,
  :double_column_statistics_data,
  :long_column_statistics_data,
  :string_column_statistics_data,
  :binary_column_statistics_data)
  SENSITIVE = []
  include Aws::Structure
end

#decimal_column_statistics_dataTypes::DecimalColumnStatisticsData

Decimal column statistics data.



1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1930

class ColumnStatisticsData < Struct.new(
  :type,
  :boolean_column_statistics_data,
  :date_column_statistics_data,
  :decimal_column_statistics_data,
  :double_column_statistics_data,
  :long_column_statistics_data,
  :string_column_statistics_data,
  :binary_column_statistics_data)
  SENSITIVE = []
  include Aws::Structure
end

#double_column_statistics_dataTypes::DoubleColumnStatisticsData

Double column statistics data.



1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1930

class ColumnStatisticsData < Struct.new(
  :type,
  :boolean_column_statistics_data,
  :date_column_statistics_data,
  :decimal_column_statistics_data,
  :double_column_statistics_data,
  :long_column_statistics_data,
  :string_column_statistics_data,
  :binary_column_statistics_data)
  SENSITIVE = []
  include Aws::Structure
end

#long_column_statistics_dataTypes::LongColumnStatisticsData

Long column statistics data.



1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1930

class ColumnStatisticsData < Struct.new(
  :type,
  :boolean_column_statistics_data,
  :date_column_statistics_data,
  :decimal_column_statistics_data,
  :double_column_statistics_data,
  :long_column_statistics_data,
  :string_column_statistics_data,
  :binary_column_statistics_data)
  SENSITIVE = []
  include Aws::Structure
end

#string_column_statistics_dataTypes::StringColumnStatisticsData

String column statistics data.



1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1930

class ColumnStatisticsData < Struct.new(
  :type,
  :boolean_column_statistics_data,
  :date_column_statistics_data,
  :decimal_column_statistics_data,
  :double_column_statistics_data,
  :long_column_statistics_data,
  :string_column_statistics_data,
  :binary_column_statistics_data)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of column statistics data.

Returns:

  • (String)


1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1930

class ColumnStatisticsData < Struct.new(
  :type,
  :boolean_column_statistics_data,
  :date_column_statistics_data,
  :decimal_column_statistics_data,
  :double_column_statistics_data,
  :long_column_statistics_data,
  :string_column_statistics_data,
  :binary_column_statistics_data)
  SENSITIVE = []
  include Aws::Structure
end