class

MonetDB::Client

Inherits Reference < Object

Constructors

new

Instance methods

cache_freeup(hdl, percentage : Int32)
cache_limit(limit : Int32)
cache_shuffle(hdl, percentage : Int32)
clear_params(hdl)
close_handle(hdl)
commit

Helper method commit just the same as mero.query("COMMIT;")

connect(host : String, username : String, password : String, schema : String, port : Int32 = @port, lang : String = @lang)

Overload to allow easy connect conn = MonetDB::Client.new conn.connect("localhost", "monetdb", "monetdb", "myschema")

connect
db
db=(db : String)
db=(db : String)
db?
destroy
disconnect
error_str
established
execute(hdl)
explain(fd)
explain_query(hdl, fd)
explain_result(hdl, fd)
fetch_all_rows(hdl)
fetch_field(hdl, fnr : Int32)
fetch_field_array(hdl)
fetch_line(hdl)
fetch_row(hdl)
get_active
get_autocommit
get_dbname
get_digits(hdl, fnr : Int32)
get_field_count(hdl) : LibC::Int
get_from
get_host
get_lang
get_last_id(hdl) : MonetDBMAPI::MapiInt64
get_len(hdl, fnr : Int32)
get_mapi_version
get_monet_version
get_motd
get_name(hdl, fnr : Int32)
get_query(hdl, fnr : Int32)
get_query_type(hdl)
get_row_count(hdl) : MonetDBMAPI::MapiInt64
get_scale(hdl, fnr : Int32)
get_table(hdl, fnr : Int32)
get_tableid(hdl)
get_to
get_trace
get_type(hdl, fnr : Int32)
get_uri
get_user
host
host=(host : String)
host=(host : String)
host?
is_connected?
lang
lang=(lang : String)
mapiuri
mid
new_handle
next_result(hdl)
password
password=(password : String)
password=(password : String)
password?
ping
ping?
port
port=(port : Int32)
port=(port : Int32)
port?
query(cmd : String)
query_array(cmd : String, val : String)
query_done(hdl)
query_handle(hdl, cmd : String)
query_part(hdl, cmd : String, size : Int32)
query_prep
quick_query(cmd : String, fd : Pointer(File))
quick_query_array(cmd : String, val : String, fd : Pointer(File))
read_response(hdl)
release_id(id : Int32)
result_error(hdl)
rows_affected(hdl)
schema
schema=(schema : String)
schema=(schema : String)
schema?
seek_row(hdl, rowne : Int32, whence : Int32)
setAutocommit(autocommit : Bool)
timeout(time : Int32)
trace(flag : Bool)
username
username=(username : String)
username=(username : String)
username?