class Presto::QueryResult
- Presto::QueryResult
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
Defined in:
presto/presto_types.crConstructors
Instance Method Summary
- #columns : Array(PrestoColumn) | Nil
- #columns=(columns : Array(PrestoColumn) | Nil)
-
#data : Array(JSON::Any | Nil)
Data is left as JSON::Any because the serialization in Crystal types will happen lazily at the time the row is read.
-
#data=(data : Array(JSON::Any | Nil))
Data is left as JSON::Any because the serialization in Crystal types will happen lazily at the time the row is read.
- #error : QueryError | Nil
- #error=(error : QueryError | Nil)
- #id : String
- #id=(id : String)
- #info_uri : String | Nil
- #info_uri=(info_uri : String | Nil)
- #next_uri : String | Nil
- #next_uri=(next_uri : String | Nil)
- #partial_cancel_uri : String | Nil
- #partial_cancel_uri=(partial_cancel_uri : String | Nil)
- #stats : StatementStats
- #stats=(stats : StatementStats)
- #update_count : Int64 | Nil
- #update_count=(update_count : Int64 | Nil)
- #update_type : String | Nil
- #update_type=(update_type : String | Nil)
- #warnings : Array(PrestoWarning) | Nil
- #warnings=(warnings : Array(PrestoWarning) | Nil)
Constructor Detail
Instance Method Detail
def data : Array(JSON::Any | Nil)
#
Data is left as JSON::Any because the serialization in Crystal types will happen lazily at the time the row is read.
def data=(data : Array(JSON::Any | Nil))
#
Data is left as JSON::Any because the serialization in Crystal types will happen lazily at the time the row is read.