i can't find how to list all databases in java..

89 views
Skip to first unread message

Ankit Jain

unread,
Dec 15, 2014, 6:27:35 AM12/15/14
to orient-...@googlegroups.com
hello i have a drop down list..i checked up all classes and methods in javadocs..but cant find it....can someone tell me how can i list all databases or show up all databases available ...can i also filter them upon their type like graph or document.....??

Enrico Risa

unread,
Dec 15, 2014, 7:19:30 AM12/15/14
to orient-...@googlegroups.com
Hi Ankit

you Should use  OServerAdmin class

like this

final OServerAdmin admin = new OServerAdmin("remote:localhost").connect("root", "root");
final Map<String, String> list = admin.listDatabases();

Enrico

2014-12-15 12:27 GMT+01:00 Ankit Jain <foran...@gmail.com>:
hello i have a drop down list..i checked up all classes and methods in javadocs..but cant find it....can someone tell me how can i list all databases or show up all databases available ...can i also filter them upon their type like graph or document.....??

--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ankit Jain

unread,
Dec 15, 2014, 8:36:09 AM12/15/14
to orient-...@googlegroups.com, enric...@gmail.com
dear sir,
whats the method to find out the java class containing that command or method if i know about console command??

Ankit Jain

unread,
Dec 15, 2014, 8:36:56 AM12/15/14
to orient-...@googlegroups.com, enric...@gmail.com
http://www.orientechnologies.com/javadoc/latest/

on the above page i can't find oserveradmin class and package...!!!


On Monday, 15 December 2014 17:49:30 UTC+5:30, Enrico Risa wrote:

Luigi Dell'Aquila

unread,
Dec 15, 2014, 9:28:44 AM12/15/14
to orient-...@googlegroups.com, enric...@gmail.com
Hi,

OServetAdmin is in package com.orientechnologies.orient.client.remote
Apparently all the client package is missing in the javadoc, thank you for reporting this, we will fix it as soon as possible

Luigi

Ankit Jain

unread,
Dec 15, 2014, 9:38:15 AM12/15/14
to orient-...@googlegroups.com
i cant find orient-commons.jar ??where is it??

Ankit Jain

unread,
Dec 15, 2014, 9:53:04 AM12/15/14
to orient-...@googlegroups.com, enric...@gmail.com
we can find out that from jar file..can u tell in which jar it is??

Enrico Risa

unread,
Dec 15, 2014, 9:58:47 AM12/15/14
to orient-...@googlegroups.com
Why are you looking for orient-commons.jar ? 

Ankit Jain

unread,
Dec 15, 2014, 10:02:14 AM12/15/14
to orient-...@googlegroups.com, enric...@gmail.com
because it has to be included "always" as written in manual..

Ankit Jain

unread,
Dec 15, 2014, 10:04:32 AM12/15/14
to orient-...@googlegroups.com
from where should i see now all methods of client package till u update that on website??

You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/xaiUmKtXpuI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Ankit Jain

Ankit Jain

unread,
Dec 16, 2014, 11:21:01 PM12/16/14
to orient-...@googlegroups.com, enric...@gmail.com
reply to my posts...2 days no reply

Luigi Dell'Aquila

unread,
Dec 17, 2014, 1:51:37 AM12/17/14
to orient-...@googlegroups.com, enric...@gmail.com
Hi,

sorry, I saw this email only now, don't know why my email client did not show it...
We updated the javadocs on the website, now you can find all the information there.

orientdb-commons.jar is no more present in the distribution, it was merged with orientdb-core. Maybe some pages in the documentation are outdated, I'm going to check them

Regards

Luigi

Ankit Jain

unread,
Dec 17, 2014, 1:52:23 AM12/17/14
to orient-...@googlegroups.com
ok.

--

---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/xaiUmKtXpuI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Ankit Jain

Ankit Jain

unread,
Dec 17, 2014, 1:55:08 AM12/17/14
to orient-...@googlegroups.com
ok..
--
Ankit Jain

Ankit Jain

unread,
Dec 17, 2014, 2:32:17 AM12/17/14
to orient-...@googlegroups.com
i cant find
com.orientechnologies.orient.client.remote

package and classes..u told u have updated...?
--
Ankit Jain

Luigi Dell'Aquila

unread,
Dec 17, 2014, 3:08:47 AM12/17/14
to orient-...@googlegroups.com
Are you pointing at this?


I see it there, maybe you have a cached version...

Luigi

Ankit Jain

unread,
Dec 17, 2014, 6:41:19 AM12/17/14
to orient-...@googlegroups.com
i cant see it on right as well upper left division

Ankit Jain

unread,
Dec 17, 2014, 6:49:39 AM12/17/14
to orient-...@googlegroups.com
i have remove cached and typed client after prssing ctrl+f..but cant find
com.orientechnologies.orient.client.remote

can u give screenshot??
--
Ankit Jain

Ankit Jain

unread,
Dec 17, 2014, 7:37:59 AM12/17/14
to orient-...@googlegroups.com
its not updated...
--
Ankit Jain

Stuart McCulloch

unread,
Dec 17, 2014, 7:42:24 AM12/17/14
to orient-...@googlegroups.com

Ankit Jain

unread,
Dec 17, 2014, 7:46:36 AM12/17/14
to orient-...@googlegroups.com
On Wed, Dec 17, 2014 at 12:21 PM, Luigi Dell'Aquila <luigi.de...@gmail.com> wrote:

--

---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/xaiUmKtXpuI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Ankit Jain

Ankit Jain

unread,
Dec 17, 2014, 7:49:23 AM12/17/14
to orient-...@googlegroups.com
why doesnt that show up on upper left division where all packages are shown???
--
Ankit Jain

Stuart McCulloch

unread,
Dec 17, 2014, 8:09:08 AM12/17/14
to orient-...@googlegroups.com
On Wednesday, 17 December 2014 at 12:49, Ankit Jain wrote:
why doesnt that show up on upper left division where all packages are shown??
It does, that’s where I found that link (see attached screenshot) 
Screen Shot 2014-12-17 at 13.07.10.png

Ankit Jain

unread,
Dec 19, 2014, 8:12:24 AM12/19/14
to orient-...@googlegroups.com

Ankit Jain

unread,
Dec 20, 2014, 1:07:08 AM12/20/14
to orient-...@googlegroups.com
whats the class to access my documents inside a cluster??
--
Ankit Jain

Curtis Mosters

unread,
Dec 20, 2014, 4:57:51 AM12/20/14
to orient-...@googlegroups.com
Afaik it's now in the core or somewhere else.

Ankit Jain

unread,
Dec 20, 2014, 6:14:52 AM12/20/14
to orient-...@googlegroups.com
how can i populate jtable with records from orientdb??

--

---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/xaiUmKtXpuI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Ankit Jain

Ankit Jain

unread,
Dec 24, 2014, 3:48:14 AM12/24/14
to orient-...@googlegroups.com
i have methods to populate jtable from mysql ..that technique uses resultset object which retreives rows...but there are no rows inside orientdb document database....so can someone tell me how can i populate jtable from orientdb upon jbutton click....
i have created a gui frame in which a button and a table exist....
--
Ankit Jain
Reply all
Reply to author
Forward
0 new messages