⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 algebra.mal

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 MAL
📖 第 1 页 / 共 3 页
字号:
#line 608 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"module aggr;command count( b:bat[:any_1,:any] ) :int address ALGcount_batcomment "Return the current size (in number of elements) in a BAT.";command count ( b:bat[:any_1,:any], ignore_nils:bit ) :int address ALGcount_nilcomment "Return the number of elements currently in a BAT ignores 		BUNs with nil-tail iff ignore_nils==TRUE.";command count_no_nil ( b:bat[:any_1,:any_2]) :intaddress ALGcount_no_nilcomment "Return the number of elements currently 	in a BAT ignoring BUNs with nil-tail";#line 624 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command histogram ( b:bat[:any_1,:any_2]) :bat[:any_2,:int] address ALGhistogramcomment "Produce a BAT containing the histogram over the tail values.";#line 634 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command cardinality( b:bat[:any_1,:any_2] ) :lng address ALGcardcomment "Return the cardinality of the BAT tail values.";#line 645 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command min(b:bat[:any_1,:any_2]):any_2 address ALGminanycomment "Return the lowest tail value or nil.";command max(b:bat[:any_1,:any_2]):any_2 address ALGmaxanycomment "Return the highest tail value or nil.";#line 664 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 657 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command sum (b:bat[:any_1,:sht] ) :sht address ALGsum_sht_shtcomment "Gives the sum of all tail values";command product(b:bat[:any_1,:sht] ) :sht address ALGprod_sht_shtcomment "Gives the product of all tail values";#line 664 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 657 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command sum (b:bat[:any_1,:sht] ) :int address ALGsum_sht_intcomment "Gives the sum of all tail values";command product(b:bat[:any_1,:sht] ) :int address ALGprod_sht_intcomment "Gives the product of all tail values";#line 665 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 657 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command sum (b:bat[:any_1,:sht] ) :lng address ALGsum_sht_lngcomment "Gives the sum of all tail values";command product(b:bat[:any_1,:sht] ) :lng address ALGprod_sht_lngcomment "Gives the product of all tail values";#line 666 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 657 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command sum (b:bat[:any_1,:int] ) :int address ALGsum_int_intcomment "Gives the sum of all tail values";command product(b:bat[:any_1,:int] ) :int address ALGprod_int_intcomment "Gives the product of all tail values";#line 667 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 657 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command sum (b:bat[:any_1,:int] ) :lng address ALGsum_int_lngcomment "Gives the sum of all tail values";command product(b:bat[:any_1,:int] ) :lng address ALGprod_int_lngcomment "Gives the product of all tail values";#line 668 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 657 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command sum (b:bat[:any_1,:lng] ) :lng address ALGsum_lng_lngcomment "Gives the sum of all tail values";command product(b:bat[:any_1,:lng] ) :lng address ALGprod_lng_lngcomment "Gives the product of all tail values";#line 669 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 657 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command sum (b:bat[:any_1,:flt] ) :flt address ALGsum_flt_fltcomment "Gives the sum of all tail values";command product(b:bat[:any_1,:flt] ) :flt address ALGprod_flt_fltcomment "Gives the product of all tail values";#line 670 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 657 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command sum (b:bat[:any_1,:flt] ) :dbl address ALGsum_flt_dblcomment "Gives the sum of all tail values";command product(b:bat[:any_1,:flt] ) :dbl address ALGprod_flt_dblcomment "Gives the product of all tail values";#line 671 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 657 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command sum (b:bat[:any_1,:dbl] ) :dbl address ALGsum_dbl_dblcomment "Gives the sum of all tail values";command product(b:bat[:any_1,:dbl] ) :dbl address ALGprod_dbl_dblcomment "Gives the product of all tail values";#line 672 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 679 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 675 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command avg (b:bat[:any_1,:sht] ) :dbl address ALGavg_shtcomment "Gives the avg of all tail values";#line 679 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 675 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command avg (b:bat[:any_1,:int] ) :dbl address ALGavg_intcomment "Gives the avg of all tail values";#line 680 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 675 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command avg (b:bat[:any_1,:lng] ) :dbl address ALGavg_lngcomment "Gives the avg of all tail values";#line 681 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 675 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command avg (b:bat[:any_1,:flt] ) :dbl address ALGavg_fltcomment "Gives the avg of all tail values";#line 682 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 675 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command avg (b:bat[:any_1,:dbl] ) :dbl address ALGavg_dblcomment "Gives the avg of all tail values";#line 683 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 696 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 689 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 686 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command max ( b:bat[:any_1,:sht] ) :sht address ALGmax_sht comment "Give the highest tail value.";#line 689 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 686 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command max ( b:bat[:any_1,:int] ) :int address ALGmax_int comment "Give the highest tail value.";#line 690 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 686 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command max ( b:bat[:any_1,:flt] ) :flt address ALGmax_flt comment "Give the highest tail value.";#line 691 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 686 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command max ( b:bat[:any_1,:dbl] ) :dbl address ALGmax_dbl comment "Give the highest tail value.";#line 692 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 686 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command max ( b:bat[:any_1,:lng] ) :lng address ALGmax_lng comment "Give the highest tail value.";#line 693 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 696 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 689 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 686 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command min ( b:bat[:any_1,:sht] ) :sht address ALGmin_sht comment "Give the lowest tail value. ";#line 689 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 686 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command min ( b:bat[:any_1,:int] ) :int address ALGmin_int comment "Give the lowest tail value. ";#line 690 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 686 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command min ( b:bat[:any_1,:flt] ) :flt address ALGmin_flt comment "Give the lowest tail value. ";#line 691 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 686 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command min ( b:bat[:any_1,:dbl] ) :dbl address ALGmin_dbl comment "Give the lowest tail value. ";#line 692 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 686 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"command min ( b:bat[:any_1,:lng] ) :lng address ALGmin_lng comment "Give the lowest tail value. ";#line 693 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 697 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"#line 702 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/algebra.mx"module algebra;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -