Package org.aksw.sparqlify.database
Class PrefixIndex<T>
java.lang.Object
org.aksw.sparqlify.database.PrefixIndex<T>
- All Implemented Interfaces:
Index<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic <T> PrefixIndex<T>int[]getRoot()getStore()getTable()voidCollection<List<T>>voidlookup(List<Set<String>> prefixesList, int i, NavigableMap<String, Object> current, Collection<List<T>> result) voidlookup(Constraint... constraints) The constraints given as arguments are interpreted as conjunctions.voidlookupRemaining(Object tmp, int i, Collection<List<T>> result) Collection<List<T>>lookupSimple(List<String> prefixList) voidlookupSimple(List<String> prefixList, int i, Object tmp, Collection<List<T>> result) Collection<List<T>>lookupSimpleLonger(List<String> prefixList) voidlookupSimpleLonger(List<String> prefixList, int i, NavigableMap<String, Object> current, Collection<List<T>> result) voidbooleanOnly table should call this.toString()
-
Constructor Details
-
PrefixIndex
-
-
Method Details
-
index
-
add
-
lookup
The constraints given as arguments are interpreted as conjunctions. The set of prefixes within a constraint is interpreted as a disjunction.- Parameters:
constraints-
-
lookupSimple
-
lookupSimpleLonger
-
lookupSimple
-
lookupRemaining
-
lookup
-
attach
-
preAdd
Description copied from interface:IndexOnly table should call this. Return true to accept the row, false to reject it -
postAdd
-
getTable
-
getIndexColumns
public int[] getIndexColumns()- Specified by:
getIndexColumnsin interfaceIndex<T>
-
getIndexColumnNames
- Specified by:
getIndexColumnNamesin interfaceIndex<T>
-
toString
-
getRoot
-
getStore
-