public class AdvancedMemoryCache extends MemoryCache implements Serializable
getCommonProperties(Double, Integer)instanceIterator, instanceMap| Constructor and Description |
|---|
AdvancedMemoryCache() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCommonProperties(Double threshold,
Integer limit) |
static AdvancedMemoryCache |
loadFromFile(File file) |
addInstance, addProperty, addTriple, clone, containsInstance, containsUri, equals, getAllInstances, getAllProperties, getAllUris, getInstance, getNextInstance, getSample, hashCode, parseCSVtoRDFModel, replaceInstance, resetIterator, size, toStringpublic static AdvancedMemoryCache loadFromFile(File file) throws IOException
IOExceptionpublic String[] getCommonProperties(Double threshold, Integer limit)
threshold - a value between 0 and 1, specifying what fraction of the
instances must have this property for it to be counted as
common property. Set to 0 if you want no restriction on this.limit - a non-negative integer value, specifying the maximum amount of
properties to return. If there are more than limit after the
exclusion with threshold, the most common properties of those
are returned.Copyright © 2018. All rights reserved.