Class: Trino::Client::ModelVersions::V316::SplitOperatorInfo=Base.new(:split_info)
- Inherits:
-
Object
- Object
- Trino::Client::ModelVersions::V316::SplitOperatorInfo=Base.new(:split_info)
- Defined in:
- lib/trino/client/model_versions/316.rb
Class Method Summary collapse
Class Method Details
.decode(hash) ⇒ Object
1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 |
# File 'lib/trino/client/model_versions/316.rb', line 1940 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 |