Class AccumuloSingleIDRetriever<OP extends InputOutput<Iterable<? extends ElementId>,Iterable<? extends Element>> & GraphFilters>
- java.lang.Object
-
- uk.gov.gchq.gaffer.accumulostore.retriever.AccumuloRetriever<OP,Element>
-
- uk.gov.gchq.gaffer.accumulostore.retriever.AccumuloItemRetriever<OP,ElementId>
-
- uk.gov.gchq.gaffer.accumulostore.retriever.impl.AccumuloSingleIDRetriever<OP>
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<Element>
- Direct Known Subclasses:
AccumuloElementsRetriever
public class AccumuloSingleIDRetriever<OP extends InputOutput<Iterable<? extends ElementId>,Iterable<? extends Element>> & GraphFilters> extends AccumuloItemRetriever<OP,ElementId>
This allows queries for all data related to the providedElementId
s.
-
-
Constructor Summary
Constructors Constructor Description AccumuloSingleIDRetriever(AccumuloStore store, OP operation, User user)
AccumuloSingleIDRetriever(AccumuloStore store, OP operation, User user, boolean includeMatchedVertex, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
Use of the varargs parameter here will mean the usual default iterators wont be applied, (Edge Direction,Edge/Entity TypeDefinition and View Filtering) To apply them pass them directly to the varargs via calling your keyPackage.getIteratorFactory() and either getElementFilterIteratorSetting and/Or getEdgeEntityDirectionFilterIteratorSettingAccumuloSingleIDRetriever(AccumuloStore store, OP operation, User user, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings)
-
Method Summary
-
Methods inherited from class uk.gov.gchq.gaffer.accumulostore.retriever.AccumuloItemRetriever
iterator
-
Methods inherited from class uk.gov.gchq.gaffer.accumulostore.retriever.AccumuloRetriever
close, doPostFilter, doTransformation
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
AccumuloSingleIDRetriever
public AccumuloSingleIDRetriever(AccumuloStore store, OP operation, User user) throws IteratorSettingException, StoreException
-
AccumuloSingleIDRetriever
public AccumuloSingleIDRetriever(AccumuloStore store, OP operation, User user, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings) throws StoreException
- Throws:
StoreException
-
AccumuloSingleIDRetriever
public AccumuloSingleIDRetriever(AccumuloStore store, OP operation, User user, boolean includeMatchedVertex, org.apache.accumulo.core.client.IteratorSetting... iteratorSettings) throws StoreException
Use of the varargs parameter here will mean the usual default iterators wont be applied, (Edge Direction,Edge/Entity TypeDefinition and View Filtering) To apply them pass them directly to the varargs via calling your keyPackage.getIteratorFactory() and either getElementFilterIteratorSetting and/Or getEdgeEntityDirectionFilterIteratorSetting- Parameters:
store
- the accumulo storeoperation
- the get operationuser
- the user executing the operationincludeMatchedVertex
- true if the matched vertex field should be setiteratorSettings
- the iterator settings- Throws:
StoreException
- if any store issues occur
-
-