class Presto::QueryResult

Included Modules

Defined in:

presto/presto_types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def columns : Array(PrestoColumn) | Nil #

[View source]
def columns=(columns : Array(PrestoColumn) | Nil) #

[View source]
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.


[View source]
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.


[View source]
def error : QueryError | Nil #

[View source]
def error=(error : QueryError | Nil) #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def info_uri : String | Nil #

[View source]
def info_uri=(info_uri : String | Nil) #

[View source]
def next_uri : String | Nil #

[View source]
def next_uri=(next_uri : String | Nil) #

[View source]
def partial_cancel_uri : String | Nil #

[View source]
def partial_cancel_uri=(partial_cancel_uri : String | Nil) #

[View source]
def stats : StatementStats #

[View source]
def stats=(stats : StatementStats) #

[View source]
def update_count : Int64 | Nil #

[View source]
def update_count=(update_count : Int64 | Nil) #

[View source]
def update_type : String | Nil #

[View source]
def update_type=(update_type : String | Nil) #

[View source]
def warnings : Array(PrestoWarning) | Nil #

[View source]
def warnings=(warnings : Array(PrestoWarning) | Nil) #

[View source]