public interface QueryIndexPermutationInterface
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Flush all information to disk as needed and release resources.
|
int |
getBiggestSmallIndex()
Get the largest value of small index returned so far.
|
int |
getSmallestIndex()
Get the smallest value of small index returned so far.
|
void |
makeSmallIndices(Alignments.AlignmentEntry.Builder entry)
Give the entry a small index according to the entry query occurrence limit, or to the global prune limit.
|
Alignments.AlignmentEntry |
makeSmallIndices(Alignments.AlignmentEntry entry)
Give the entry a small index according to the entry query occurrence limit, or to the global prune limit.
|
int |
permutate(int queryIndex)
Permutate a query index and return the smaller value.
|
int |
permutate(int queryIndex,
int maxQueryIndexOccurrence)
Permutate a query index and return the smaller value.
|
void |
setBiggestSmallIndex(int value)
Set the largest value of small index returned so far.
|
void |
setPruneLimit(byte x)
Query indices will pruned from the permutation map after they have been requested x times.
|
void |
setSmallestIndex(int value)
Set the smallest value of small index returned so far.
|
Alignments.AlignmentEntry makeSmallIndices(Alignments.AlignmentEntry entry)
entry - alignment entry.void makeSmallIndices(Alignments.AlignmentEntry.Builder entry)
entry - alignment entry builder.int getSmallestIndex()
int getBiggestSmallIndex()
void setSmallestIndex(int value)
value - value for set.void setBiggestSmallIndex(int value)
value - value for set.int permutate(int queryIndex)
queryIndex - the large randomly distributed query index to permutate to a monotonically increasing value.int permutate(int queryIndex,
int maxQueryIndexOccurrence)
queryIndex - maxQueryIndexOccurrence - the maximum number of times the queryIndex can be requested before it is pruned and written to disk.void setPruneLimit(byte x)
x - query index occurrence limit.void close()
Copyright © 2018 Campagne Laboratory. All rights reserved.