class MonetDB::Client
- MonetDB::Client
- Reference
- Object
Direct Known Subclasses
Defined in:
monetdb.crConstructors
Instance Method Summary
- #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 : String
- #db=(db : String)
- #db=(db : String)
- #db? : String
- #destroy
- #disconnect
- #error_str
- #established : Bool
- #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 : String
- #host=(host : String)
- #host=(host : String)
- #host? : String
- #is_connected?
- #lang : String
- #lang=(lang : String)
- #mapiuri : String
- #mid : MonetDBMAPI::Mapi
- #new_handle
- #next_result(hdl)
- #password : String
- #password=(password : String)
- #password=(password : String)
- #password? : String
- #ping : Bool
- #ping?
- #port : Int32
- #port=(port : Int32)
- #port=(port : Int32)
- #port? : Int32
- #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 : String
- #schema=(schema : String)
- #schema=(schema : String)
- #schema? : String
- #seek_row(hdl, rowne : Int32, whence : Int32)
- #setAutocommit(autocommit : Bool)
- #timeout(time : Int32)
- #trace(flag : Bool)
- #username : String
- #username=(username : String)
- #username=(username : String)
- #username? : String
Constructor Detail
Instance Method Detail
def 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")