Package com.thinkaurelius.titan.graphdb.relations

Examples of com.thinkaurelius.titan.graphdb.relations.StandardProperty


                if (key.isUnique(Direction.IN)) {
                    Preconditions.checkArgument(Iterables.isEmpty(getVertices(key, value)),
                            "The given value [%s] is already used as a property and the property key [%s] is defined as graph-unique", value, key.getName());
                }
            }
            StandardProperty prop = new StandardProperty(temporaryID.decrementAndGet(), key, (InternalVertex) vertex, value, ElementLifeCycle.New);
            if (config.hasAssignIDsImmediately()) graph.assignID(prop);
            connectRelation(prop);
            return prop;
        } finally {
            uniqueLock.unlock();
View Full Code Here

TOP

Related Classes of com.thinkaurelius.titan.graphdb.relations.StandardProperty

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.