agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: bb23850 <bb23850@gmail.com>
To: pgsql-sql@postgresql.org
Subject: How to use external java libraries in Database
Date: Mon, 9 Jan 2017 04:20:53 -0700 (MST)
Message-ID: <1483960853041-5938143.post@n3.nabble.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
Hi,
I am trying to use Apache.Commons or Cern Colt libraries in my database.
Both these libraries are written Java and are available as .jar files. Is it
possible to pull those libraries into Postgres and use the methods in SQL as
functions.
For example I want to use cern.jet.stat.Descriptive.harmonicMean in SQL as
follows:
select harmonicMean(100, 1000);
Please suggest me how to do this.
thanks and regards
BB23850
--
View this message in context: http://postgresql.nabble.com/How-to-use-external-java-libraries-in-Database-tp5938143.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
view thread (2+ messages) latest in thread
Message-ID: <1483960853041-5938143.post@n3.nabble.com>
Permalink: ../1483960853041-5938143.post@n3.nabble.com/
Also on: postgresql.org/message-id/1483960853041-5938143.post@n3.nabble.com
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: bb23850@gmail.com
Subject: Re: How to use external java libraries in Database
In-Reply-To: <1483960853041-5938143.post@n3.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox