Coding in MariaDB

hi,

I have the following questions:

-What is the language used for coding in MariaDB?

-As the Oracle package doesn't exist, how MariaDB structure its code ?

-Is there a plugin which can call a Java proc in MariaDB , other than the UDF function (as MariaDB cannot call directly a java proc)?

Thanks

Answer Answered by Federico Razzoli in this comment.

-What is the language used for coding in MariaDB?

If you mean the server, it is written in C/C++.

UDFs must be written in C or a compatible language. Here you can see an example in Go: http://databaseblog.myname.nl/2015/10/a-mysql-udf-written-in-go.html

Stored procedures, functions and triggers must be written in procedural SQL.

-As the Oracle package doesn't exist, how MariaDB structure its code ?

Stored procedures are stored in a database, you can see the database as a namespace. There is no package.

-Is there a plugin which can call a Java proc in MariaDB , other than the UDF function (as MariaDB cannot call directly a java proc)?

No, currently there is no way to write a procedure in an external language. A community member is working on that, but I can't say if MariaDB is interested in this contribution, or when they will consider it.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.