orientdb - Understanding OrientGraphFactory -


I do not fully understand the Orient Graphfeure class. Many questions:

1) What is the role of the holiday letter? I can not see any use and / or examples.

  extends the public category OrientGraphFactory ... {Public Boolean isLeveGraphsOpen () {return leaveGraphsOpen; } Open Public Zero Set Levegraph (Open Boolean Skip graph) {this.leaveGraphsOpen = leaveGraphsOpen; }}  

2) Why two public getDatabase () methods? For this, Graph Databases

3) I only want to auto-in our application to create the database in "special time" while setting the "mode". There is only one factory to achieve this goal:

  last boolean autoCreate = false; this.factory = new OrientGraphFactory {url} {@Override Public ODatabaseDocumentTx getDatabase (Boolean iCreate, Boolean IOpen) {return super.getDatabase (autoCreate, iOpen);}} .setupPool (1, 5); // Default: No Pool (Examples Demand Have been created)  

The right way to do this is feeling pretty ugly: (

It is not supported outside of the box, so your solutions work and should be amazing using the object orientation.


Comments