Class: Trino::Client::ModelVersions::V303::SchemaTableName=Base.new(:schema,:table)
- Inherits:
-
Object
- Object
- Trino::Client::ModelVersions::V303::SchemaTableName=Base.new(:schema,:table)
- Defined in:
- lib/trino/client/model_versions/303.rb
Class Method Summary collapse
Class Method Details
.decode(hash) ⇒ Object
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 |
# File 'lib/trino/client/model_versions/303.rb', line 1784 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 |