Class: Trino::Client::ModelVersions::V351::SchemaTableName=Base.new(:schema,:table)
- Inherits:
-
Object
- Object
- Trino::Client::ModelVersions::V351::SchemaTableName=Base.new(:schema,:table)
- Defined in:
- lib/trino/client/model_versions/351.rb
Class Method Summary collapse
Class Method Details
.decode(hash) ⇒ Object
1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 |
# File 'lib/trino/client/model_versions/351.rb', line 1918 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["schema"], hash["table"], ) obj end |