Class: Google::Apis::LanguageV2::XpsDataStats
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsDataStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb
Overview
The data statistics of a series of values that share the same DataType.
Instance Attribute Summary collapse
-
#array_stats ⇒ Google::Apis::LanguageV2::XpsArrayStats
The data statistics of a series of ARRAY values.
-
#category_stats ⇒ Google::Apis::LanguageV2::XpsCategoryStats
The data statistics of a series of CATEGORY values.
-
#distinct_value_count ⇒ Fixnum
The number of distinct values.
-
#float64_stats ⇒ Google::Apis::LanguageV2::XpsFloat64Stats
The data statistics of a series of FLOAT64 values.
-
#null_value_count ⇒ Fixnum
The number of values that are null.
-
#string_stats ⇒ Google::Apis::LanguageV2::XpsStringStats
The data statistics of a series of STRING values.
-
#struct_stats ⇒ Google::Apis::LanguageV2::XpsStructStats
The data statistics of a series of STRUCT values.
-
#timestamp_stats ⇒ Google::Apis::LanguageV2::XpsTimestampStats
The data statistics of a series of TIMESTAMP values.
-
#valid_value_count ⇒ Fixnum
The number of values that are valid.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsDataStats
constructor
A new instance of XpsDataStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsDataStats
Returns a new instance of XpsDataStats.
1762 1763 1764 |
# File 'lib/google/apis/language_v2/classes.rb', line 1762 def initialize(**args) update!(**args) end |
Instance Attribute Details
#array_stats ⇒ Google::Apis::LanguageV2::XpsArrayStats
The data statistics of a series of ARRAY values.
Corresponds to the JSON property arrayStats
1720 1721 1722 |
# File 'lib/google/apis/language_v2/classes.rb', line 1720 def array_stats @array_stats end |
#category_stats ⇒ Google::Apis::LanguageV2::XpsCategoryStats
The data statistics of a series of CATEGORY values.
Corresponds to the JSON property categoryStats
1725 1726 1727 |
# File 'lib/google/apis/language_v2/classes.rb', line 1725 def category_stats @category_stats end |
#distinct_value_count ⇒ Fixnum
The number of distinct values.
Corresponds to the JSON property distinctValueCount
1730 1731 1732 |
# File 'lib/google/apis/language_v2/classes.rb', line 1730 def distinct_value_count @distinct_value_count end |
#float64_stats ⇒ Google::Apis::LanguageV2::XpsFloat64Stats
The data statistics of a series of FLOAT64 values.
Corresponds to the JSON property float64Stats
1735 1736 1737 |
# File 'lib/google/apis/language_v2/classes.rb', line 1735 def float64_stats @float64_stats end |
#null_value_count ⇒ Fixnum
The number of values that are null.
Corresponds to the JSON property nullValueCount
1740 1741 1742 |
# File 'lib/google/apis/language_v2/classes.rb', line 1740 def null_value_count @null_value_count end |
#string_stats ⇒ Google::Apis::LanguageV2::XpsStringStats
The data statistics of a series of STRING values.
Corresponds to the JSON property stringStats
1745 1746 1747 |
# File 'lib/google/apis/language_v2/classes.rb', line 1745 def string_stats @string_stats end |
#struct_stats ⇒ Google::Apis::LanguageV2::XpsStructStats
The data statistics of a series of STRUCT values.
Corresponds to the JSON property structStats
1750 1751 1752 |
# File 'lib/google/apis/language_v2/classes.rb', line 1750 def struct_stats @struct_stats end |
#timestamp_stats ⇒ Google::Apis::LanguageV2::XpsTimestampStats
The data statistics of a series of TIMESTAMP values.
Corresponds to the JSON property timestampStats
1755 1756 1757 |
# File 'lib/google/apis/language_v2/classes.rb', line 1755 def @timestamp_stats end |
#valid_value_count ⇒ Fixnum
The number of values that are valid.
Corresponds to the JSON property validValueCount
1760 1761 1762 |
# File 'lib/google/apis/language_v2/classes.rb', line 1760 def valid_value_count @valid_value_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 |
# File 'lib/google/apis/language_v2/classes.rb', line 1767 def update!(**args) @array_stats = args[:array_stats] if args.key?(:array_stats) @category_stats = args[:category_stats] if args.key?(:category_stats) @distinct_value_count = args[:distinct_value_count] if args.key?(:distinct_value_count) @float64_stats = args[:float64_stats] if args.key?(:float64_stats) @null_value_count = args[:null_value_count] if args.key?(:null_value_count) @string_stats = args[:string_stats] if args.key?(:string_stats) @struct_stats = args[:struct_stats] if args.key?(:struct_stats) @timestamp_stats = args[:timestamp_stats] if args.key?(:timestamp_stats) @valid_value_count = args[:valid_value_count] if args.key?(:valid_value_count) end |