Package org.aksw.jenax.arq.util.tuple
Class TupleFinderMapper<ID,IC,OD,OC>
java.lang.Object
org.aksw.jenax.arq.util.tuple.TupleFinderMapper<ID,IC,OD,OC>
- All Implemented Interfaces:
org.aksw.commons.tuple.finder.TupleFinder<ID,IC>
public class TupleFinderMapper<ID,IC,OD,OC>
extends Object
implements org.aksw.commons.tuple.finder.TupleFinder<ID,IC>
An TupleFinder that delegates to another one by means of converting all tuples back and forth.
For example, can provide a Quad view over a backing
Tuple<NodeId>.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <ID,IC, OD, OC>
org.aksw.commons.tuple.finder.TupleFinder<ID,IC> wrap(org.aksw.commons.tuple.finder.TupleFinder<OD, OC> backend, com.google.common.base.Converter<IC, OC> componentConverter, org.aksw.commons.tuple.bridge.TupleBridge<ID, IC> inBridge) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.tuple.finder.TupleFinder
contains, contains, find, find, getDimension
-
Field Details
-
backend
-
componentConverter
-
inBridge
-
-
Constructor Details
-
TupleFinderMapper
-
-
Method Details
-
wrap
public static <ID,IC, org.aksw.commons.tuple.finder.TupleFinder<ID,OD, OC> IC> wrap(org.aksw.commons.tuple.finder.TupleFinder<OD, OC> backend, com.google.common.base.Converter<IC, OC> componentConverter, org.aksw.commons.tuple.bridge.TupleBridge<ID, IC> inBridge) -
getTupleBridge
-
find
-