public class NFFTStrategy extends Strategy
Constructor and Description |
---|
NFFTStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
compareFingerprints(java.io.File reference,
java.io.File other) |
boolean |
hasResource(java.lang.String resource)
Are there fingerprints for this resource already stored in the database?
|
boolean |
isStorageAvailable() |
void |
monitor(java.lang.String query,
int maxNumberOfResults,
QueryResultHandler handler) |
void |
printStorageStatistics()
Print some storage statistics.
|
void |
query(java.lang.String query,
int maxNumberOfResults,
QueryResultHandler handler) |
double |
store(java.lang.String resource,
java.lang.String description)
Store an audio file in the data store.
|
void |
sync(java.lang.String reference,
java.lang.String[] others) |
getInstance
public double store(java.lang.String resource, java.lang.String description)
Strategy
public void query(java.lang.String query, int maxNumberOfResults, QueryResultHandler handler)
public void monitor(java.lang.String query, int maxNumberOfResults, QueryResultHandler handler)
public boolean hasResource(java.lang.String resource)
Strategy
hasResource
in class Strategy
resource
- The name of the resource.public boolean isStorageAvailable()
isStorageAvailable
in class Strategy
public void compareFingerprints(java.io.File reference, java.io.File other)
public void sync(java.lang.String reference, java.lang.String[] others)
public void printStorageStatistics()
Strategy
printStorageStatistics
in class Strategy