public abstract class PermutatedMinsFiller extends Object
Constants.CHECK_DUPLICITY_LEVEL
).Modifier and Type | Method and Description |
---|---|
void |
computeDocumentMins(DocumentPermutatedMins result,
Sequence<Token> terms,
long documentUID,
int documentDBRevision)
Computes the permutated mins values for given sequence of tokens of a document
and fills it into the result under the identificator documentID.
|
static PermutatedMinsFiller |
createNew()
Ensures that the right child is created according to the duplicity checking
algorithm level set in
Constants.CHECK_DUPLICITY_LEVEL . |
static PermutatedMinsFiller |
createNew(long seed)
Ensures that the right child is created according to the duplicity checking
algorithm level set in
Constants.CHECK_DUPLICITY_LEVEL . |
long |
getSeed() |
public static PermutatedMinsFiller createNew(long seed)
Constants.CHECK_DUPLICITY_LEVEL
.public static PermutatedMinsFiller createNew()
Constants.CHECK_DUPLICITY_LEVEL
.public long getSeed()
public void computeDocumentMins(DocumentPermutatedMins result, Sequence<Token> terms, long documentUID, int documentDBRevision) throws DuplicityCheckingException
result
- instance of DocumentPermutatedMins to be filled with resultsterms
- sequence of tokens of the documentdocumentUID
- identificator of the documentdocumentDBRevision
- revision number of the document in the document databaseDuplicityCheckingException
- if the created DocumentPermutatedMins is emptyCopyright © 2016 Egothor. All Rights Reserved.