Class: Trino::Client::ModelVersions::V303::SplitOperatorInfo=Base.new(:split_info)
- Inherits:
-
Object
- Object
- Trino::Client::ModelVersions::V303::SplitOperatorInfo=Base.new(:split_info)
- Defined in:
- lib/trino/client/model_versions/303.rb
Class Method Summary collapse
Class Method Details
.decode(hash) ⇒ Object
1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 |
# File 'lib/trino/client/model_versions/303.rb', line 1924 def decode(hash) unless hash.is_a?(Hash) raise TypeError, "Can't convert #{hash.class} to Hash" end obj = allocate obj.send(:initialize_struct, hash["splitInfo"], ) obj end |