Class: Trino::Client::ModelVersions::V316::SchemaTableName=Base.new(:schema,:table)
- Inherits:
-
Object
- Object
- Trino::Client::ModelVersions::V316::SchemaTableName=Base.new(:schema,:table)
- Defined in:
- lib/trino/client/model_versions/316.rb
Class Method Summary collapse
Class Method Details
.decode(hash) ⇒ Object
1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 |
# File 'lib/trino/client/model_versions/316.rb', line 1799 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 |