📄 mal_io.mal
字号:
#line 36 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/mal/mal_io.mx"module io;command stdin():bstreamaddress io_stdincomment "return the input stream to the database client";command stderr():streamsaddress io_stderrcomment "return the error stream for the database console";command stdout():streamsaddress io_stdoutcomment "return the output stream for the database client";pattern print(val:any_1,lst:any...):void address IOprint_valcomment "Print a MAL value tuple .";pattern print(b1:bat[:any_1,:any]...):void address IOtablecomment "BATs are printed with '#' for legend lines, and the BUNs on seperate lines between brackets, containing each to comma separated values (head and tail). If multiple BATs are passed for printing, print() performs an implicit natural join, producing a multi attribute table.";pattern ftable( filep:streams, b1:bat[:any_1,:any], b:bat[:any_1,:any]... ):voidaddress IOftable comment "Print an n-ary table to a file.";pattern print(order:int,b:bat[:any_1,:any], b2:bat[:any_1,:any]...):voidaddress IOotablecomment "The same as normal table print, but enforces to use the order of BAT number [1..argc] to do the printing.";pattern table(b1:bat[:any_1,:any], b2:bat[:any_1,:any]...):void address IOttablecomment "Print an n-ary table. Like print, but does not print oid column";pattern table(order:int, b1:bat[:any_1,:any], b2:bat[:any_1,:any]...):void address IOtotablecomment "Print an n-ary table.";pattern ftable(fp:streams, order:int, b1:bat[:any_1,:any], b:bat[:any_1,:any]...):voidaddress IOfotable comment "Print an n-ary table to a file.";pattern print(val:any_1):void address IOprint_valcomment "Print a MAL value tuple .";pattern print(val:bat[:any_1,:any_2]):void address IOprint_valcomment "Print a MAL value tuple .";pattern prompt(val:any_1):void address IOprompt_valcomment "Print a MAL value without brackets.";pattern printft(val:any_1):void address IOprint_ftcomment "Select default format ";command printf(format:str,val:bit):voidaddress IOprint_formatted_bit;command printf(format:str,val:chr):voidaddress IOprint_formatted_chr;command printf(format:str,val:int):voidaddress IOprint_formatted_int;command printf(format:str,val:sht):voidaddress IOprint_formatted_sht;command printf(format:str,val:oid):voidaddress IOprint_oid;command printf(format:str,val:lng):voidaddress IOprint_formatted_lng;command printf(format:str,val:flt):voidaddress IOprint_formatted_flt;command printf(format:str,val:dbl):voidaddress IOprint_formatted_dbl;command printf(val:str):voidaddress IOprint_str;command printf(format:str,val:str):voidaddress IOprint_formatted_str;command export(b:bat[:any_1,:any_2], filepath:str):bit address IOexportcomment "Export a BAT as ASCII to a file. If the 'filepath' is not absolute, it is put into the .../dbfarm/$DB directory. Success of failure is indicated.";command import(b:bat[:any_1,:any_2], filepath:str) :bat[:any_1,:any_2] address IOimportcomment "Import a BAT from an ASCII dump. The new tuples are *inserted* into the parameter BAT. You have to create it! Its signature must match the dump, else parsing errors will occur and FALSE is returned.";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -