agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Rob Sargent <robjsargent@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: How to use external java libraries in Database
Date: Mon, 9 Jan 2017 08:54:00 -0700
Message-ID: <da256e99-25a6-194f-8cf2-0f1106ff9f1f@gmail.com> (raw)
In-Reply-To: <1483960853041-5938143.post@n3.nabble.com>
References: <1483960853041-5938143.post@n3.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
On 01/09/2017 04:20 AM, bb23850 wrote:
> 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.
>
>
https://tada.github.io/pljava/
--
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)
Message-ID: <da256e99-25a6-194f-8cf2-0f1106ff9f1f@gmail.com>
Permalink: ../da256e99-25a6-194f-8cf2-0f1106ff9f1f@gmail.com/
Also on: postgresql.org/message-id/da256e99-25a6-194f-8cf2-0f1106ff9f1f@gmail.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: robjsargent@gmail.com
Subject: Re: How to use external java libraries in Database
In-Reply-To: <da256e99-25a6-194f-8cf2-0f1106ff9f1f@gmail.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