Re: How to use external java libraries in Database

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to use external java libraries in Database
Date: 2017-01-09 15:54:00
Message-ID: da256e99-25a6-194f-8cf2-0f1106ff9f1f@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Baxter Allen 2017-01-10 19:55:07 How to display multiple rows in 1 row
Previous Message bb23850 2017-01-09 11:20:53 How to use external java libraries in Database