@Override public SimpleSystem close(String ...closeParams) throws Exception { dbConnection.close(); super.close(closeParams); return this; }
@Override public SimpleSystem close(String ... closeParams) throws Exception { /** * flush all caches */ for (String purpose:this.cacheMap.keySet()) { this.flushCache(purpose); } return this; }
public TripleStoreSystem() { super.setName("SiDIF TripleStore"); super.setVersion("0.0.8"); }
@Override public SimpleNode moveTo(String nodeQuery, String... keys) { XmlNode node; try { Document doc = docBuilder.parse(nodeQuery); node = new XmlNode(this,doc,doc.getDocumentElement()); super.optionalStartNode(node); } catch (SAXException | IOException e) { throw new RuntimeException(e); } return node; }
@Override public SimpleSystem connect(String... connectionParams) throws Exception { TinkerGraph tg=(TinkerGraph) super.graph(); tg.createIndex("hashCode", Vertex.class); return this; }