Skip to content

raghulin/QuotientCube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d599b63 · Feb 20, 2012

History

11 Commits
Feb 20, 2012
Feb 20, 2012
Feb 20, 2012
Feb 10, 2012
Feb 20, 2012
Feb 20, 2012
Feb 10, 2012

Repository files navigation

How to build:

>make 
NOTE: edit Makefile and change include directory for MySQL

Install run:

cp cube_udf.so /usr/lib/mysql/plugin

#DROP FUNCTION ccube_query;
CREATE FUNCTION ccube_query RETURNS STRING SONAME 'ccube_udf.so';
#DROP FUNCTION ccube;
CREATE AGGREGATE FUNCTION ccube RETURNS INTEGER SONAME 'ccube_udf.so';
select ccube(M1,M2,M3,D) from QT;
select ccube_query("*");

Tests:

CPPUnit tests are included in cppunit folder.

References:

Reference papers for QC Tree are included in include folder.

About

MySQL UDF for creating a quotient cube.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published