com.entitystream.identiza.entity.resolve.match.Matchable, ICollection, Serializablepublic class Collection extends com.entitystream.identiza.entity.resolve.match.Indexable implements Serializable, ICollection, com.entitystream.identiza.entity.resolve.match.Matchable
| Constructor | Description |
|---|---|
Collection() |
|
Collection(Database parent,
Document collDoc) |
|
Collection(Database db,
Document collDoc,
boolean initialised) |
addHistoryRecord, addTask, addXRef, applyInheritanceFrom, calcGoldenRec, calcGoldenRec, calculateScore, doREST, eid, getCacheDefs, getCachePurposeColumns, getMatchKeyCombinations, getMatchKeys, getMatchKeys, getMatchRule, getXref, initialize, invoke, isPattern, isPrefixPattern, link, match, merge, mergeSort, processKey, sendpublic void createIndex(Document fields, Document options)
createIndex in interface ICollectionpublic void createUniqueIndex(Document fields)
createUniqueIndex in interface ICollectionpublic void createIndex(Document document)
createIndex in interface ICollectionpublic DBCursor find(Document filter)
find in interface ICollectionpublic Stream<Document> findStream(Document filter)
findStream in interface ICollectionpublic DBCursor find()
find in interface ICollectionpublic Document save(Document doc)
save in interface ICollectionpublic Document insertOne(Document doc)
insertOne in interface ICollectionpublic long count(Document query)
count in interface ICollectionpublic Document findOneAndReplace(Document filter, Document replacement, Document options)
findOneAndReplace in interface ICollectionpublic Document findOneAndReplace(Document filter, Document replacement)
findOneAndReplace in interface ICollectionpublic Document findOneAndUpdate(Document filter, Document amendments)
findOneAndUpdate in interface ICollectionpublic Document findOneAndUpdate(Document filter, Document amendments, Document options)
findOneAndUpdate in interface ICollectionpublic Document updateOne(Document filter, Document amendments)
updateOne in interface ICollectionpublic Document updateOne(Document filter, Document amendments, Document options)
updateOne in interface ICollectionpublic int updateMany(Document filter, Document amendments, Document options)
updateMany in interface ICollectionpublic int updateMany(Document filter, Document amendments)
updateMany in interface ICollectionpublic int insertMany(List<Document> listRecs)
insertMany in interface ICollectionpublic Document findOneAndDelete(Document filter)
findOneAndDelete in interface ICollectionpublic Document deleteOne(Document filter)
deleteOne in interface ICollectionpublic int deleteMany(Document filter)
deleteMany in interface ICollectionprotected String getName()
protected Collection getRelCollection()
protected Collection getTaskCollection()
public Stream<Document> aggregate(List<Document> pipeline, Document options)
aggregate in interface ICollectionpublic Stream<Document> aggregate(List<Document> pipeline)
aggregate in interface ICollectionpublic Stream<Document> aggregate(List<Document> in, List<Document> pipeline)
aggregate in interface ICollectionpublic Document aggregateMetadata(List<Document> in, List<Document> pipeline)
aggregateMetadata in interface ICollectionpublic Document aggregateMetadata(List<Document> pipeline)
aggregateMetadata in interface ICollectionpublic DBCursor listIndexes()
listIndexes in interface ICollectionpublic void rebuildIndex(String name)
rebuildIndex in interface ICollectionpublic void dropIndex(String name)
dropIndex in interface ICollectionpublic int saveMany(List<Document> records)
saveMany in interface ICollectionpublic void disconnect()
throws Exception
disconnect in interface ICollectionExceptionpublic void setExplaining(boolean explain)
setExplaining in interface ICollectionpublic DBCursor find(Document filter, Document explain)
find in interface ICollectionpublic DBCursor executeCommand(String command, User user, Session session)
executeCommand in interface ICollectionpublic void drop()
drop in interface ICollectionpublic <TResult> Iterable<TResult> distinct(String fieldName, Class<TResult> resultClass)
distinct in interface ICollectionpublic <TResult> Iterable<TResult> distinctRelationship(String fieldName, Class<TResult> resultClass)
distinctRelationship in interface ICollectionpublic Document getStandardised(String indexName, String id)
getStandardised in interface ICollectionpublic Document getIndexPrefixSubMap(String indexName, String key, boolean b)
getIndexPrefixSubMap in interface ICollectionpublic Document getDocument(Object pointer)
getDocument in interface ICollectionpublic Document keyCount(String indexName)
keyCount in interface ICollectionpublic Document conceptCount(String indexName)
conceptCount in interface ICollectionpublic ICollection getLocalCollection()
public void saveTable(Document def)
saveTable in interface ICollectionpublic void setAutoMatch(boolean a)
setAutoMatch in interface ICollectionpublic void addTrigger(String name)
addTrigger in interface ICollectionpublic String getCollectionName()
public void updateDefinition(Document doc)
updateDefinition in interface ICollectionpublic void updateDelta(Document doc)
updateDelta in interface ICollectionpublic void deleteTable(String def)
deleteTable in interface ICollectionpublic void saveConceptGroup(Document def)
saveConceptGroup in interface ICollectionpublic void deleteConceptGroup(String def)
deleteConceptGroup in interface ICollectionpublic void saveConcept(Document def)
saveConcept in interface ICollectionpublic void deleteConcept(String purposeName, String purposeColumn)
deleteConcept in interface ICollectionpublic void saveConceptMapping(Document def)
saveConceptMapping in interface ICollectionpublic void deleteConceptMapping(Document def)
deleteConceptMapping in interface ICollectionpublic void saveMatchRule(Document def)
saveMatchRule in interface ICollectionpublic void saveMatchRules(List<Document> defs)
saveMatchRules in interface ICollectionpublic void deleteMatchRule(long order)
deleteMatchRule in interface ICollectionpublic void saveFuzzyIndex(Document def)
saveFuzzyIndex in interface ICollectionpublic void saveFuzzyIndexes(List<Document> def)
saveFuzzyIndexes in interface ICollectionpublic void deleteFuzzyIndex(String name)
deleteFuzzyIndex in interface ICollectionpublic void removeFuzzy()
removeFuzzy in interface ICollectionpublic Document getDefinition()
getDefinition in interface ICollectionpublic Database getDatabase()
getDatabase in interface ICollectionpublic Document getTable(String def)
getTable in interface ICollectionpublic DBCursor peekQueue()
peekQueue in interface ICollectionpublic String getTrigger()
getTrigger in interface ICollectionpublic Map<Integer,ICollection> getReplicaConnections()
getReplicaConnections in interface ICollectionpublic Stream<Document> fuzzyMatch(Document fuzzyOptions, Stream<Document> in, Document options)
fuzzyMatch in interface ICollectionpublic Stream<Document> fuzzySearch(String textQuery, Stream<Document> in, Document options)
fuzzySearch in interface ICollectionpublic DBCursor findFuzzy(String textQuery)
findFuzzy in interface ICollectionpublic DBCursor findFuzzy(Document filter)
findFuzzy in interface ICollectionpublic Stream<Document> arrf(Document options, Stream<Document> in, Document goptions)
arrf in interface ICollectionpublic Stream<Document> classifierTree(Document definition, Stream<Document> in, Document options)
classifierTree in interface ICollectionpublic Stream<Object> evaluate(Document evalOptions, Stream<Document> in, Document options)
evaluate in interface ICollectionpublic Stream<Document> sort(Document object, Stream<Document> in, Document options)
sort in interface ICollectionpublic Stream compare(Document asDocument, Stream<Document> in, Document options)
compare in interface ICollectionpublic Stream<Document> classifierBuild(Document definition, Stream<Document> in, Document options)
classifierBuild in interface ICollectionpublic Stream<Document> classifierPredict(Document definition, Stream<Document> in, Document options)
classifierPredict in interface ICollectionprotected static Document toJSON(weka.core.Instance inst)
public Document fuzzyMatch(Document doc, List<com.entitystream.identiza.entity.resolve.metadata.IIndex> indexes)
fuzzyMatch in interface ICollectionpublic DBCursor findRelationships(Document filter)
findRelationships in interface ICollectionpublic DBCursor findTasks(Document filter)
findTasks in interface ICollectionpublic Document saveRelationship(Document relationship)
saveRelationship in interface ICollectionpublic Document saveTask(Document task)
saveTask in interface ICollectionpublic void resolveTask(Document taskData)
resolveTask in interface ICollectionresolveTask in interface com.entitystream.identiza.entity.resolve.match.MatchableresolveTask in class com.entitystream.identiza.entity.resolve.match.Indexablepublic DBCursor aggregateTasks(ArrayList<Document> andlist)
aggregateTasks in interface ICollectionpublic Document updateTask(String id, Document doc)
updateTask in interface ICollectionpublic Document updateRelationship(Document document, Document setUpdate, Document options)
updateRelationship in interface ICollectionpublic void deleteTasks(Document document)
deleteTasks in interface ICollectionpublic void deleteRelationships(Document document)
deleteRelationships in interface ICollectionpublic Stream<Document> limit(long limit, Stream<Document> in, Document options)
limit in interface ICollectionpublic Stream<Document> lookup(Document object, Stream<Document> in, Document options)
lookup in interface ICollectionpublic Stream<Document> join(Document object, Stream<Document> in, Document options)
join in interface ICollectionpublic Stream<Document> minus(Document object, Stream<Document> in, Document options)
minus in interface ICollectionpublic Stream<Document> skip(long skip, Stream<Document> in, Document options)
skip in interface ICollectionpublic Stream<Document> group(Document object, Stream<Document> in, Document options)
group in interface ICollectionpublic Stream bucket(Document bucketDef, Stream<Document> in, Document options)
bucket in interface ICollectionpublic void bucket_merge(Object definition, Document evaluatedDoc, Document bucketDoc, String bucketKey)
public void bucket_finalize(Object definition, Document bucketDoc, String bucketKey)
public Stream<Object> unwind(Document unwindOptions, Stream<Document> in, Document options)
unwind in interface ICollectionpublic Stream<Document> count(Document asDocument, Stream<Document> in, Document options)
count in interface ICollectionpublic Stream<Document> first(Document asDocument, Stream<Document> in, Document options)
first in interface ICollectionpublic Stream<Document> last(Document asDocument, Stream<Document> in, Document options)
last in interface ICollectionpublic Stream<Document> between(Document asDocument, Stream<Document> in, Document options)
between in interface ICollectionpublic Document validate(com.entitystream.identiza.entity.resolve.metadata.ITable table, Document doc)
public Stream<Document> validate(String options, Stream<Document> in, Document globalOptions)
validate in interface ICollectionpublic Stream<Document> task(Document options, Stream<Document> in, Document globalOptions)
task in interface ICollectionpublic Stream<Document> cluster(Document options, Stream<Document> in, Document globalOptions)
cluster in interface ICollectionpublic Stream<Document> out(String string, Stream<Document> in, Document options)
out in interface ICollectionpublic Stream<Document> writeRel(Document options, Stream<Document> in, Document goptions)
writeRel in interface ICollectionpublic Stream<Document> match(Document filter, Stream<Document> in, Document options)
match in interface ICollectionpublic Stream analyse(Document fuzzyOptions, Stream<Document> in, Document options)
analyse in interface ICollectionpublic Stream<Document> spinOut(Document spinOptions, Stream<Document> in, Document options)
spinOut in interface ICollectionpublic Stream<Document> getRelated(Document spinOptions, Stream<Document> in, Document options)
getRelated in interface ICollectionpublic DBCursor traverseTop(Document from, String relType)
traverseTop in interface ICollectionpublic Stream<Document> rematch(Document rematchOptions, Stream<Document> in, Document options)
rematch in interface ICollectionpublic Stream<Document> coerce(Document options, Stream<Document> in, Document globalOptions)
coerce in interface ICollectionpublic Map<Document,List<Document>> split(List<Document> splitter, Stream<Document> in, Document globalOptions)
split in interface ICollectionpublic Stream<Document> project(Document options, Stream<Document> in, Document globalOptions)
project in interface ICollectionpublic Stream<Document> script(Document scriptStatements, Stream<Document> in, Document metadata)
script in interface ICollectionpublic DBCursor getMatchTypes()
getMatchTypes in interface ICollectionpublic DBCursor getFlows()
getFlows in interface ICollectionpublic DBCursor getFlow(String name)
getFlow in interface ICollectionpublic DBCursor getBooks()
getBooks in interface ICollectionpublic Stream<Document> getDeltas()
getDeltas in interface ICollectionpublic Stream<Document> getNodes()
getNodes in interface ICollectionCopyright © 2020. All rights reserved.