I tried to use orient.getDatabase() and orient.getGraph() as described in
documentation with no use. It always raise error: non instance of graph or
no instance in db accordingly.
What worked was the db object which is said by documentation to be for
version 1.5 and before while I am using
Hi all!
I'm using OrientDB 2.0.5 release now and encountered one problem with my
hook.
I have recursively linked object structure, which my hook need to process,
and i've wrote simple demo showing problem below:
abstract class AbstractClass {
@OVersion
private Object version;
Hi,
We are currently using the Object API to load some big objects using
detachAll. So big that performance is impacted due to the way we set up our
relations. Getting a single object may result in getting an enormous object
tree/graph, while most of the time only a partial tree/graph is
Phil, I think it is easy to accomplish by adding property on the edge.
Let us say you have Person ---tagged--- Resource, where tagged is edge.
You could add tag_type property (link to tag vertex) on this edge class.
Alternatively, if finding what resources are tagged with which particular
tag
Hello,
I'm trying to use the memoize function with orientdb like described at :
http://gremlindocs.com/#transform/memoize
= My request looks like this
g.v('xx:x').out('out_one').as('vertex_of_interest').out('out_two').memoize('out_one').first_out_attribute
It returns always null, unless when i
i had getting an error
com.orientechnologies.orient.server.distributed.ODistributedException:
Error on creating cluster 'pu_node2' in class 'pu'
while creting any class in in-memory database want a solution on this.
--
---
You received this message because you are subscribed to
You live and you learn, turns out at least on the import OrientDB cannot
handle a property of a node/vertex named id. Is that known to be reserved
or something? I changed it to our_id and the import worked flawlessly
after that.
Saad
On Tuesday, March 17, 2015 at 7:48:06 PM UTC-4, Saad
Luigi,
If my classes all extend from V or E (which they do, as is expected for
graphs), then how can these records be secured? I could add those 4
properties to the V and E base classes, but I assume that the security
infrastructure expects there to be a class called ORestricted in the
object
Hi Phil,
I may just be missing something, but here's a simple example of what I'm
thinking.
select from (select expand(in(AppliedTag)) from (select
expand(out(HasTag)) from Resource where Id=Resource1) where Id=Red)
where Name = Bob
This will return Bob after selecting Resource1 and then
Hi,
I am trying to create a function to filter record to negate an expression.
I am starting with a simple test and that already fails. I'm trying to test
this:
SELECT FROM Foo WHERE NOT(num = :myParam)
where myParam is some integer and num is filled with integer.
Here's my function:
Thanks Ata, yes that would work if it's possible to add a link property to
an edge.
On Wednesday, March 18, 2015 at 11:04:36 AM UTC+1, a...@yakyn.com wrote:
Phil, I think it is easy to accomplish by adding property on the edge.
Let us say you have Person ---tagged--- Resource, where tagged
Hi Colin,
That's the least I can do. Thank you for your replies, and for your help
and for your time!
I have tried replacing factory.getTx() with directly instantiating an
OrientGraph every time that I need it and repeating experiments from
yesterday (7 runs, each time uploading 50
Hi Patrick,
you can just let V and E extend ORestricted ;-)
Luigi
2015-03-18 13:52 GMT+01:00 Patrick Hoeffel patrick.hoef...@gmail.com:
Luigi,
If my classes all extend from V or E (which they do, as is expected for
graphs), then how can these records be secured? I could add those 4
With the data in my diagram would this not also return Bob if he applied
the red tag only to Resource2 and not Resource1 ?
He tagged Resource1 only with blue.
On Wednesday, March 18, 2015 at 3:11:12 PM UTC+1, Colin wrote:
Hi Phil,
I may just be missing something, but here's a simple example
Hello,
I've been using gremlin for a while with Orientdb , however I noticed that
I can get queries answered even faster with Orient SQL.
is it possible to translate the following gremlin script into OSQL:
Graph:
User --- Likes --- Item
Goal:
Find top 15 similar items to item x and filter
No, because the inner most select specifies Resource1 as a starting point.
-Colin
Orient Technologies
The Company behind OrientDB
On Wednesday, March 18, 2015 at 9:28:22 AM UTC-5, Phil wrote:
With the data in my diagram would this not also return Bob if he applied
the red tag only to
Sorry for the delay. I actually didn't see you had responded.
Just change your query to this:
select from (select expand(file_link) from folder) where file_name = file1
Regards,
-Colin
Orient Technologies
The Company behind OrientDB
On Tuesday, March 17, 2015 at 2:01:21 PM UTC-5, Ghosty
Hello Colin,
Well so far I made a proxy class which ensures that the client can set only
the DB schema defined properties. In other words i have made something like
this:
Pseudo code:
interface Step {
int getOrderIndex();
String getDescription()
}
class StepImpl extends ODocument
Hi Colin,
I've put together a quick test of this and it does indeed return Bob even
if he did not apply the Red tag to Resource1.
Attached are 2 files:
1) I run test_db_schema.sql as an argument to the console.sh script to
create the database and schema.
2) I then start the console, connect to
Hi Ivan,
Interesting findings!
Would you object to sending me your code (privately), so I can look over
both the reading and the writing implementation?
Thanks!
-Colin
Orient Technologies
The Company behind OrientDB
On Wednesday, March 18, 2015 at 9:10:59 AM UTC-5, Ivan Jovanovic wrote:
20 matches
Mail list logo