OrientDB

OrientDB import edges only using ETL tool

 ̄綄美尐妖づ 提交于 2019-12-10 11:29:39
问题 I already used the OETL to insert all my Vertex to the graph. Now I have a file that outlines the edges at the following way: node_1,rel_type,node_2 11000001,relation_A,10208879 11000001,relation_A,10198662 11000001,relation_B,10159927 11000001,relation_C,10165779 How can I import it using the OrientDB OETL tool? I tried the following: "transformers": [ { "csv": {} }, { "command" : { "command" : "create edge ${rel_type} from (select flatten(@rid) from V where node_id= ${node_1}) to (select

Building Web App Using OrientDB JavaScript API

与世无争的帅哥 提交于 2019-12-10 10:55:01
问题 I'm having a bit of difficulty in figuring out how to get the OrientDB JavaScript API to work in a web app. I tried searching into the source code of the OrientDB Studio web app and was able to notice that they use the orientdb JavaScript API along with some AngularJS, which looks very fascinating, but then I tried on my side by creating a simple web page that imported the orientdb-api.js and the jquery library, and it did not work. Here is the content of my web page: <!DOCTYPE html> <html>

First time OrientDB user regarding security in REST api

允我心安 提交于 2019-12-09 21:02:35
问题 I am new to OrientDB. I am going thorugh the REST apis and I am not able to understand the security of the apis. I dont have much experience with backend development (i am a front end developer) so please help me clarify some points here : As I can see all the GET requests are open, as in, if I know the url & the record or class name I can simply type it in the web browser & anyone can access all the records. How does this data is protected ?? How does access tokens or session works with the

orientdb: passing an Array to a query using 'IN' on an OType.LINKLIST field

瘦欲@ 提交于 2019-12-09 12:58:08
问题 I'm trying to pass an array of Category POJOs to the query using IN in the SQL: public ShareObject[] search(String name, Category[] categories) { ... OSQLSynchQuery<ODocument> query = new OSQLSynchQuery<ODocument>("SELECT FROM ShareObject WHERE name LIKE ? AND categories IN ?"); List<ODocument> result = db.command(query).execute(name, categories); This will return an empty list. If I change the SQL to the following I get a result: "SELECT FROM ShareObject WHERE name LIKE ? AND categories IN [

batch orientdb sql in php

喜夏-厌秋 提交于 2019-12-08 12:54:41
问题 i want this in php how can i do. I does not find any library which supports batch sql in php my one of main reason of choosing orient db is its batch features but for php i found nothing please help. I have downloaded doctrine/odm as well AntonTerekhov_OrientDB-PHP from GitHub I am able run this batch sql from studio:- let $u=select from person where id=1 let $f=select expand(out(Friend)) from $u[0] let $a=create vertex posts set created_by=$u[0],text="Hello............lllll" let $pbedge

How to execute Gremlin against OrientDB using orientjs?

橙三吉。 提交于 2019-12-08 04:30:24
问题 In Node, what is the correct way to execute Gremlin queries against a database? My current attempt using the Official Node OrientDB Driver: const { ODatabase } = require('orientjs'); const db = new ODatabase({...}); db.query('g.V()') .then(console.log, console.error); And I get: OrientDB.RequestError: Cannot find a command executor for the command request: sql.g.V() DB name="mynevo" at child.Operation.parseError (.../orientjs/lib/transport/binary/protocol33/operation.js:864:13) However, when

Edge properties clobbering vertex properties in OrientDB from ETL

和自甴很熟 提交于 2019-12-08 02:04:30
问题 This is a follow-up to another question I had posted regarding importing a simple database into OrientDB using ETL that had both edge and vertex properties with dates on both. Here's my data: vertices.csv : label,data,date v01,0.1234,2015-01-01 v02,0.5678,2015-01-02 v03,0.9012,2015-01-03 edges.csv : u,v,weight,date v01,v02,12.4,2015-06-17 v02,v03,17.9,2015-09-14 For brevity, I'll add just the updated commonEdges.json file using the edits from the other question. The other JSON files are

OrientDB System Requirements

主宰稳场 提交于 2019-12-08 00:44:29
问题 What are the minimum reasonable memory and CPU requirements for OrientDB in a light-use production scenario with a relatively small database? I realize that "the more the better" is probably the answer, but I'm really just looking for a starting point based on anyone's real-world experience (i.e. "less than X just isn't workable"). 来源: https://stackoverflow.com/questions/37038403/orientdb-system-requirements

Orientdb as a document-graph database

你。 提交于 2019-12-08 00:27:23
问题 I am using Neo4j and trying to find out the advantages of Orient as document-graph db over Neo4j. How does it work in Orientdb to have features of a document database in a graphbdb? is the database in both mode (graph and document) using the same datasource? if so, then is it possible to edit data in documentdb and show it as a graphdb? I worked with Orientdb and it seems that you can have your database either as graphdb or as documentdb, so I don't get the point of having both databases