[orientdb] Re: Java API and sub-queries question

2015-03-26 Thread MrFT
2.0.5 Query is correct (you can check for yourself on the GratefulDeadConcerts database). Op donderdag 26 maart 2015 22:36:56 UTC+1 schreef Colin: > > Hi, > > Which version of OrientDB are you using? > > Also, have you experimented with your desired result set using the console > to verify

[orientdb] Re: Java API and sub-queries question

2015-03-26 Thread Colin
Hi, Which version of OrientDB are you using? Also, have you experimented with your desired result set using the console to verify your query? -Colin Orient Technologies The Company behind OrientDB On Thursday, March 26, 2015 at 4:58:38 AM UTC-5, MrFT wrote: > > I am trying to understand the

[orientdb] How (or at what layer) do you deal with null vs empty collections

2015-03-26 Thread mindplay.dk
Suppose a Person has a list of Tools - I just learned that an empty collection is not the same as a NULL value, so there are two ways in which person.tools could be empty. My first thought was, set a default value of [] for the Person.tools property, but there's no such thing as default values

Re: [orientdb] chat system with orientdb

2015-03-26 Thread Luca Garulli
Hi Aris, Actually we used OrientDB under out Support System for client where we have chat room, one per client. The best way we found to model this is by creating one class/cluster per chat. Example: Chat_clent10 Chat_clent11 Chat_clent12 ... Since chat message are naturally ordered by date, and

Re: [orientdb] OrientDB in android

2015-03-26 Thread Al Corbin
I don't think there is a v2 port of the orientdb-android application, but I was able to get the api to work. I included the following dependency: compile 'com.wu-man:blueprints-android-orient-graph:2.1.0.2' I used the following code to create the db: OrientGraph graph = new OrientGraph( "local:"

[orientdb] chat system with orientdb

2015-03-26 Thread Aris Alexis
hi, i am building a social network with many features and my main db is orient. would you also use orient for the chat system ? I know people are biased here haha :) but my questions is if the site grows a lot, wouldn't cassandra be a more logical solution since messages are not data that is v

[orientdb] Creating/deleting edges changes vertex versions - OrientDB 2.0

2015-03-26 Thread BK
Creating/deleting edges causes the version numbers of the connected vertices to change, and based on Andrey Lomakin's posts, this has been the behavior for a while (I'm using v2.0). From his responses to similar questions, I've tried setting ridBag.embeddedToSbtreeBonsaiThreshold to -1 as a pr

[orientdb] JavaScript API Documentation

2015-03-26 Thread Omega Silva
Hi all, Is there any documentation available for JavaScript API? If so can someone be kind enough to provide me a URL pls? Thanks Omega -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails

[orientdb] interesting question (unanswered) on stackoverflow: does OrientDB support hypergraphs

2015-03-26 Thread MrFT
http://stackoverflow.com/questions/28781749/am-i-supposed-to-be-able-to-create-edges-between-two-edges-and-or-an-edge-and-a Am I supposed to be able to create edges between two edges and/or an edge and a node in OrientDB?

[orientdb] Java API and sub-queries question

2015-03-26 Thread MrFT
I am trying to understand the JAVA API when they have sub-queries String query = "select name, $sungbyrecord as x_sungby from V " + "let $sungby = outE()[ @class = 'sung_by' ], " + "$sungbyrecord = list( (select in.name from $sungby ) ) " + "where name='HEY BO DIDDLEY'"; ODatabaseDocumentTx da