public interface DBWorker
void setCommitSize(int commitSize)
ExecutorService getThreadPool()
int getCommitSize()
ArrayList<Document> search(HashMap<String,String> matchC, String table) throws IdentizaException
IdentizaExceptionRelationshipType getRelType(String arg0)
String getID()
String getNodeSingleRelationship(String node, String arg0, String arg1, Date when)
boolean isActive()
void shutdown()
void clear(Collection<String> tableNames)
long getTableCount(String tableName)
void sync(HashMap<String,ArrayList<MatchIndexInterface>> tableIndexes)
void writeSequence(String tabletype, long seq, long seqM)
ArrayList<String> getNodeRelationships(String node, String reltype, String dir, Date when)
void putSchedule(Document job)
void addMessage(Document d)
List<com.google.gson.JsonObject> getSuspended(int p)
void checkIndexes()
Document createOrUpdateNode(String keyName, String keyValue, Document values, String tabletype, boolean keychanged, boolean isHistory, String username)
void clearTableCount()
ArrayList<String> getKeyList(String selectiveField, String selectiveValue, String indexName, int maxNodes)
Collection<Document> getFileListeners(String type, String listenerID)
Collection<Document> getFileListeners(String type, String listenerID, String schema, String project, String group)
void addListener(String type, Document doc, String name, String projectName, String groupName)
void deleteListener(Document doc, String schemaName, String projectName, String groupName)
Collection<Document> analyseBy(List<PurposeColumn> purposeColumns)
Collection<Document> analyseBy(String tableName)
void releaseRecord(String threadID, CommitItem item)
DBWorkerBatch createBatchDB()
void deleteMessage(Document d)
ISchemaMeta getSchDoc()
void setSchDoc(ISchemaMeta schDoc)
Collection<Result> findFuzzy(Document filter)
Collection<Result> findFuzzy(String searchText)
ArrayList<Document> getNodes(String tableName, String keyName, String keyValue, int maxBucketSize)
Map<String,Document> find(String tableName, int startRow, int rowCount, Document _where, Document _sort)
Document createNodeRelationshipTo(String node, String table1, String otherid, String table2, String reltype, Map<String,Object> values, Date when)
node - table1 - otherid - table2 - reltype - values - when - ArrayList<String> findShortestPath(ArrayList<String> validTables, String rec1id, String rec2id, Date when)
validTables - rec1id - rec2id - when - void setRelProperties(String rel, Document vals, Date when)
rel - vals - when - Collection<Result> find(Document filter)
filter - void createStore(String storeName)
storeName - void resolveTask(int action,
Document task,
Document resolution)
action - task - resolution - List<Document> getTasks(Document document, int start, int pagesize, IUser user)
document - start - pagesize - user - List<Document> getTasks(String nodeID, int startpage, int endpage, int pagesize, String[] table, String limits, String type, IUser user)
nodeID - startpage - endpage - pagesize - table - limits - type - user - String connect(String projectName, String groupName, String collectionName, IUser user) throws Exception
projectName - groupName - collectionName - Exceptionvoid updateWorkFlow(Document doc)
doc - void updateFlow(Document doc)
Copyright © 2021. All rights reserved.