Package com.orientechnologies.orient.core.db.ODatabase

Examples of com.orientechnologies.orient.core.db.ODatabase.ATTRIBUTES


    Logger.info ("DB now is on " + version + " level");
  }
 
  private void edgeAndClassOptimization(ODatabaseRecordTx db) {
    Logger.info("...enabling edges and vertexes optimization attributes..:");
    ATTRIBUTES attribute = ODatabase.ATTRIBUTES.CUSTOM;
    ((ODatabaseComplex<?>) db).setInternal(attribute,  "useLightweightEdges=false");
    ((ODatabaseComplex<?>) db).setInternal(attribute,  "useClassForEdgeLabel=false");
    ((ODatabaseComplex<?>) db).setInternal(attribute,  "useClassForVertexLabel=false");
    ((ODatabaseComplex<?>) db).setInternal(attribute,  "useVertexFieldsForEdgeLabels=false");
    Logger.info("...done...");
View Full Code Here

TOP

Related Classes of com.orientechnologies.orient.core.db.ODatabase.ATTRIBUTES

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.