All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.umlg.runtime.adaptor.UmlgAdminGraph Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
package org.umlg.runtime.adaptor;

import org.apache.tinkerpop.gremlin.structure.Graph;

/**
 * Created by pieter on 2014/04/28.
 */
public interface UmlgAdminGraph {

    Graph getReadOnlyGraph();

//    /**
//     * Adds in a singleton super duper node. Represents the application/model.
//     * Attached to the root node is each concrete classes meta class.
//     */
//    void addRoot();
//
//    /**
//     * For blueprint's implementation that recycle ids, vertexes are not removed but instead attached to a deletion node.
//     * The deletion node is attached to the root node.
//     */
//    void addDeletionNode();
//
//    //Used for auditing
//    void incrementTransactionCount();
//
//    //Used for auditing
//    long getTransactionCount();

    long countVertices();

    long countEdges();

    /**
     * Shutdown the db and delete the data files.
     * Remove this instance from the threadvar
     */
    void drop();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy