Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var g = require("gremlin"),
T = g.Tokens,
//Compare = g.Compare,
Direction = g.Direction,
Type = g.ClassTypes;
/*Titan specific Enums >>>>>*/
var TTC = g.java.import("com.thinkaurelius.titan.graphdb.types.TitanTypeClass");
var UniqCon = g.java.import("com.thinkaurelius.titan.core.TypeMaker$UniquenessConsistency");
/*Titan specific Enums <<<<<*/
//console.log(TTC.LABEL.toString());
//console.log(TTC.KEY.toString());
//console.log(UniqCon.LOCK.toString());
//console.log(UniqCon.NO_LOCK.toString());
var BaseConfiguration = g.java.import('org.apache.commons.configuration.BaseConfiguration');
conf = new BaseConfiguration();
conf.setPropertySync("storage.backend","cassandra");
conf.setPropertySync("storage.hostname","127.0.0.1");