Package com.thinkaurelius.titan.graphdb.transaction

Examples of com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx


    public StandardTitanTx newTransaction(TransactionConfiguration configuration) {
        if (!isOpen) ExceptionFactory.graphShutdown();
        try {
            IndexSerializer.IndexInfoRetriever retriever = indexSerializer.getIndexInforRetriever();
            StandardTitanTx tx = new StandardTitanTx(this, configuration, backend.beginTransaction(configuration,retriever));
            retriever.setTransaction(tx);
            return tx;
        } catch (StorageException e) {
            throw new TitanException("Could not start new transaction", e);
        }
View Full Code Here


    public EdgeSerializer(Serializer serializer) {
        this.serializer = serializer;
    }

    public InternalRelation readRelation(final InternalVertex vertex, final Entry data) {
        StandardTitanTx tx = vertex.tx();
        RelationCache relation = readRelation(vertex.getID(), data, true, tx);
        return readRelation(vertex,relation,data,tx);
    }
View Full Code Here

TOP

Related Classes of com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx

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.