class MonetDB::Client

Direct Known Subclasses

Defined in:

monetdb.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def cache_freeup(hdl, percentage : Int32) #

[View source]
def cache_limit(limit : Int32) #

[View source]
def cache_shuffle(hdl, percentage : Int32) #

[View source]
def clear_params(hdl) #

[View source]
def close_handle(hdl) #

[View source]
def commit #

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


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


[View source]
def connect #

[View source]
def db : String #

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

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

[View source]
def db? : String #

[View source]
def destroy #

[View source]
def disconnect #

[View source]
def error_str #

[View source]
def established : Bool #

[View source]
def execute(hdl) #

[View source]
def explain(fd) #

[View source]
def explain_query(hdl, fd) #

[View source]
def explain_result(hdl, fd) #

[View source]
def fetch_all_rows(hdl) #

[View source]
def fetch_field(hdl, fnr : Int32) #

[View source]
def fetch_field_array(hdl) #

[View source]
def fetch_line(hdl) #

[View source]
def fetch_row(hdl) #

[View source]
def get_active #

[View source]
def get_autocommit #

[View source]
def get_dbname #

[View source]
def get_digits(hdl, fnr : Int32) #

[View source]
def get_field_count(hdl) : LibC::Int #

[View source]
def get_from #

[View source]
def get_host #

[View source]
def get_lang #

[View source]
def get_last_id(hdl) : MonetDBMAPI::MapiInt64 #

[View source]
def get_len(hdl, fnr : Int32) #

[View source]
def get_mapi_version #

[View source]
def get_monet_version #

[View source]
def get_motd #

[View source]
def get_name(hdl, fnr : Int32) #

[View source]
def get_query(hdl, fnr : Int32) #

[View source]
def get_query_type(hdl) #

[View source]
def get_row_count(hdl) : MonetDBMAPI::MapiInt64 #

[View source]
def get_scale(hdl, fnr : Int32) #

[View source]
def get_table(hdl, fnr : Int32) #

[View source]
def get_tableid(hdl) #

[View source]
def get_to #

[View source]
def get_trace #

[View source]
def get_type(hdl, fnr : Int32) #

[View source]
def get_uri #

[View source]
def get_user #

[View source]
def host : String #

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

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

[View source]
def host? : String #

[View source]
def is_connected? #

[View source]
def lang : String #

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

[View source]
def mapiuri : String #

[View source]
def mid : MonetDBMAPI::Mapi #

[View source]
def new_handle #

[View source]
def next_result(hdl) #

[View source]
def password : String #

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

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

[View source]
def password? : String #

[View source]
def ping : Bool #

[View source]
def ping? #

[View source]
def port : Int32 #

[View source]
def port=(port : Int32) #

[View source]
def port=(port : Int32) #

[View source]
def port? : Int32 #

[View source]
def query(cmd : String) #

[View source]
def query_array(cmd : String, val : String) #

[View source]
def query_done(hdl) #

[View source]
def query_handle(hdl, cmd : String) #

[View source]
def query_part(hdl, cmd : String, size : Int32) #

[View source]
def query_prep #

[View source]
def quick_query(cmd : String, fd : Pointer(File)) #

[View source]
def quick_query_array(cmd : String, val : String, fd : Pointer(File)) #

[View source]
def read_response(hdl) #

[View source]
def release_id(id : Int32) #

[View source]
def result_error(hdl) #

[View source]
def rows_affected(hdl) #

[View source]
def schema : String #

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

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

[View source]
def schema? : String #

[View source]
def seek_row(hdl, rowne : Int32, whence : Int32) #

[View source]
def setAutocommit(autocommit : Bool) #

[View source]
def timeout(time : Int32) #

[View source]
def trace(flag : Bool) #

[View source]
def username : String #

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

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

[View source]
def username? : String #

[View source]