unsubscribe
--
---
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-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit
Paul ...
You should check out OrientDb Hooks (http://orientdb.com/docs/2.1/Hook.html)
which function like triggers in traditional databases.
- Craig -
On Jul 11, 2016 18:10, "Paul I Bloom" wrote:
> After I create a record, I would like to use the value from one of the
>
The version of Gremlin that ships with OrientDB is 2.6.0; you're trying to
use features from Gremlin 3, which is not supported with OrientDB.
- Craig -
On Nov 20, 2015 08:28, "subhash padala" wrote:
>
>
> Am trying to render the graph from OrientDB through the Gremlin
>
>
> *About the Authors*Ian Robinson is the co-author of REST in Practice
> (O'Reilly Media, 2010). Ian is an engineer at Neo Technology, working on a
> distributed version of the Neo4j database. Prior to joining the engineering
> team, Ian served as Neo's Director of Customer Success, managing
For now. Leads disappear if you stop and rest on your laurels.
- Craig -
On Oct 25, 2015 07:51, "scott molinari"
wrote:
> Thanks Craig. So, we could say, Tinkerpop has a good bit more of a head
> start than Open Cypher?
>
> Scott
>
> --
>
> ---
> You received this
As the saying goes, the wonderful thing about standards is that there are
so many to choose from.
Having a standardized query language has been very good for relational
databases, because it means that (1) developers can (theoretically)
retarget their applications to a newer/better RDBMS with
Seems reasonable.
I'm trying to picture how having 30K+ classes is a serious limit. I've seen
ontologies that had a couple thousand classes, but those were usually
through kitchen-sink-level of including other data schemas, with most of
those classes unpopulated by data. I'm pretty sure I could
Simon ...
AFAIK, you either use LW edges or HW edges -- there is no in-between; You
choose when you create the database before you create your classes.
Admittedly, I haven't played with trying to create a graph with both LW and
HW edges.
Orient Studio will work with either style of edges. The
I use the following shell script to download the binary and source for each
release:
#! /bin/bash
release=${1}
storage=${HOME}/Software/orientdb
binary="http://orientdb.com/download.php;
source="https://github.com/orientechnologies/orientdb/archive;
# Community release
wget -O
Simon ...
Are you using light-weight edges, or heavy-weight edges for your
application?
OrientDB represents LW edges as properties of the nodes they link, whereas
HW edges are represented as unique objects and the nodes link to the the
edges, which maintain the links to the opposite nodes. An
That's a good answer, why did you delete it from StackOverflow, where the
question was originally asked?
- Craig -
On Oct 14, 2015 04:58, wrote:
> Hi, try this code
>
> OrientGraphFactory ogf = new OrientGraphFactory(
>
Something to keep in mind about StackOverflow is that there are certain
types of questions that will get closed immediately: questions that require
value comparisons between various products; SO is only for technical
questions with measurable answers (How do I do X?), not conversations.
What ever
Valery ...
Gremlin is a Domain Specific Language (DSL) written in Groovy, which
compiles to bytecode on the JVM, just like Java, but it is not compiled to
Java.
- Craig -
On Fri, Sep 18, 2015 at 3:49 PM, Valery T wrote:
> Does Gremlin connector for OrientDb convert
The SQL API is written on top of the Java document API. The Graph API is
also written on top of the Java document API. Thus, in general, using the
document API should be faster, if you're using it optimally, but that may
involve a lot more coding.
Depending on what you're doing, it may be easier
Nandan ...
Graph.shutdown() effectively closes a connection (the OrientGraph object)
-- use it early and often, but only when you're done with the connection.
Graph.drop() will remove the database from memory, disk, etcetera -- only
use with caution!
In my unit tests, I create an in-memory
http://orientdb.com/download/
https://github.com/orientechnologies/orientdb/issues?q=milestone%3A2.0.11+is%3Aclosed
Why no announcement here, release notes, etcetera?
- Craig -
--
---
You received this message because you are subscribed to the Google Groups
OrientDB group.
To unsubscribe
Chaitanya ...
We have a custom OrientGraphDatabase object that we inject with Spring.
The OrientGraphDatabase owns the OrientGraphFactory and returns
transactional or non-transactional graphs for other components.
- Craig -
On Sat, Jun 20, 2015 at 1:26 PM, Chaitanya chaitanya9...@gmail.com
I believe we've got a shutdown hook hanging off the entire application that
cleans up, but don't quote me.
On Mon, Jun 22, 2015 at 12:52 PM, Enrico Risa enrico.r...@gmail.com wrote:
Then you don't want to close it manually?
2015-06-22 18:46 GMT+02:00 W. Craig Trader craig.tra...@gmail.com
of lightweight edges, Orient should iterate over all vertices, but
for each one it could consider only the out_A field, which is smaller.
What do you think about it?
Cheers,
Riccardo
2015-06-17 13:22 GMT+02:00 W. Craig Trader craig.tra...@gmail.com:
To expand on this a little, all
Martin ...
The application that I'm building has a web front-end and a bunch of
backend processes that generate updates to the graph. Each update is
represented as a JSON document that defines the operations that will take
place (upsert, detach, delete), the nodes / edges that will be affected,
To expand on this a little, all edges are represented as hybrid entities.
In Riccardo's example, if you examine the properties of the nodes he
created, they will look like this:
select * from V where name = 'a'
++--+++--
#
Luca ...
How does this interact with the Graph API? We've already experienced
interesting ... quirks ... from converting our code from 1.7 to 2.0.
(Specifically, accessing graph objects after their associated graph is
closed.)
- Craig -
On Jun 10, 2015 04:36, Luca Garulli l.garu...@orientdb.com
As the person who asked the question that Luca so graciously answered, I
will note that:
1. I was asking about specific releases, and
2. OrientDB is currently openly testing 2.1rc3, in the same way that they
used candidate releases for 2.0, and as I would expect them to do in the
future. You can
Well, any language that doesn't run on the Java VM. So Groovy, jRuby,
Scala, Clojure would all be fine candidates to use plocal.
- Craig -
On Mon, Jun 8, 2015 at 2:01 PM, scott molinari
scottamolin...@googlemail.com wrote:
So, I would be correct in saying, if my application is written in any
in tinkerpop) into SQL+ queries in order to
leverage the claims of orient's speed.
If i'm wrong in this, let me know
On Mon, Jun 1, 2015 at 11:33 PM, W. Craig Trader craig.tra...@gmail.com
wrote:
Nick ...
Much like you told the SQL engine to use an index (select * from
Nick ...
Much like you told the SQL engine to use an index (select * from
INDEX:V.testProperty ...), you need to explicitly use indexes from the
graph API, as follows:
*Java:*
OrientVertex result = g.getVertices( V.testProperty,
cbc6b219-9df3-44c5-90b2-ab7a6bd9bf7e ).iterator().next();
In OrientDB 1.7, it was possible to write code like this:
OrientGraph g = factory.getTx()
def vertex = g.getVertices( ... )
g.shutdown()
def record = vertex.getRecord()
def json = record.toJSON( fetchPlan )
This would get a JSON representation of the vertex (and other data,
depending on the
For a concrete example that does this, see
http://github.com/wcraigtrader/ogp, which I built to measure the
performance of edge lookups.
- Craig -
--
---
You received this message because you are subscribed to the Google Groups
OrientDB group.
To unsubscribe from this group and stop
You want to check the GitHub issues:
Milestone 2.0.8:
https://github.com/orientechnologies/orientdb/issues?q=milestone%3A2.0.8
Milestone 2.0.9:
https://github.com/orientechnologies/orientdb/issues?q=milestone%3A2.0.9
On Tue, May 19, 2015 at 8:28 AM, NY nysa...@gmail.com wrote:
Can't find
Hi!
The plocal: connector assumes single-connection control of the database. If
you're using the OrientDB server, then you want to use the remote:
connector.
- Craig -
On Fri, May 15, 2015 at 11:02 AM, Kalatheeswaran TM tmkra...@gmail.com
wrote:
Hi,
I am unable to connect to database from
Congratulations, you have found a 'quirk' AKA 'bug'.
You're creating indexes correctly, but Orient isn't actually using them,
courtesy of the bug.
In short, graph.addVertex() is creating the node, since it has no
properties. If you had set the individual properties one at a time, the
Instead of this:
person.createIndex(nameIdx, OClass.INDEX_TYPE.UNIQUE, name);
Try using this:
final Parameter?, ? UNIQUE_INDEX = new ParameterString, String(type,
UNIQUE_HASH_INDEX);
graph.createKeyIndex(name, Vertex.class, new ParameterString,
String(class, Person), UNIQUE_INDEX);
Which
Have a look at the code examples attached to this issue (
https://github.com/orientechnologies/orientdb/issues/4105). The example
code shows ways to locate an edge, in order to update its properties, but
once you've located it, you can delete it as well.
The simple (no indexes) implementation is
From a quick inspection of the source code
https://github.com/orientechnologies/orientdb/blob/master/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java,
it would appear that that method is intended for use with single-part keys
only. The only method that appears to
Try it again with 'SKIP 0 LIMIT 10' after the 'ORDER BY orderNbr DESC'
clause.
- Craig -
On Mon, Apr 27, 2015 at 3:14 PM, Thomas Müller oberinspec...@googlemail.com
wrote:
ORDER BY does not work anymore in OrientDB 2.1RC1... so it's not
implemented yet and not a bug to open a ticket?
The disk cache that messge refers to is the amount of memory available to
cache data that would normally be stored on disk, not the amount of disk
being used to cache data that would otherwise be in RAM. An in-memory
database uses no disk space (unless your OS pages your process to disk, in
which
Emanuel ...
Thanks for the response.
We're using ODatabaseListener, implementing the onBeforeTxCommit(),
onAfterTxCommit(), and onClose() methods.
- Craig -
On Wed, Apr 1, 2015 at 7:35 AM, Emanuel emanuele.tagliafe...@gmail.com
wrote:
It shoudl be ODatabaseDocumentTx, by the way which
Do you have any code samples for creating (1) composite indexes using the
Java API, and (2) indexes on edges using the Java API?
On Thu, Nov 6, 2014 at 9:08 AM, Luca Garulli l.garu...@gmail.com wrote:
Hi Adithyan,
The idea of supporting a countEdges() in OrientVertex is good. Could you
create
What you're missing is (1) initializing Gremlin, and (2) collecting
results. To initialize Gremlin, your code needs to execute the following
once (and preferably only once):
import com.tinkerpop.gremlin.groovy.Gremlin
Gremlin.load()
Once you've done that, you can run your query. Right now
David ...
In the short term, please share with the group.
- Craig -
On Fri, Mar 27, 2015 at 10:44 AM, David Carr dcarr...@gmail.com wrote:
Followup questions:
1. I'm using orientdb server version 2.0.5 so classes V and E are already
there by default as soon as I create the database. Can
Ivan ...
The problem that you're having is one that I had as well. The problem is
that when you call getProperty() on an embedded set or embedded list,
you're getting back a Java collection object (either a HashSet or
ArrayList), but it is not monitored by Orient in any way. You're making
41 matches
Mail list logo