Class EntityIdExtractor
- java.lang.Object
-
- uk.gov.gchq.gaffer.operation.data.generator.EntityIdExtractor
-
- All Implemented Interfaces:
Function<Iterable<? extends Element>,Iterable<? extends EntityId>>
,ObjectGenerator<EntityId>
,OneToOneObjectGenerator<EntityId>
public class EntityIdExtractor extends Object implements OneToOneObjectGenerator<EntityId>
GeneratesElementId
s from andElement
s. getObject(Element) is not supported withEntity
s - anIllegalArgumentException
will be thrown if this is attempted.
-
-
Constructor Summary
Constructors Constructor Description EntityIdExtractor()
EntityIdExtractor(IdentifierType edgeIdentifierToExtract)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityId
_apply(Element element)
IdentifierType
getEdgeIdentifierToExtract()
void
setEdgeIdentifierToExtract(IdentifierType edgeIdentifierToExtract)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.gov.gchq.gaffer.data.generator.OneToOneObjectGenerator
apply
-
-
-
-
Constructor Detail
-
EntityIdExtractor
public EntityIdExtractor()
-
EntityIdExtractor
public EntityIdExtractor(IdentifierType edgeIdentifierToExtract)
-
-
Method Detail
-
getEdgeIdentifierToExtract
public IdentifierType getEdgeIdentifierToExtract()
-
setEdgeIdentifierToExtract
public void setEdgeIdentifierToExtract(IdentifierType edgeIdentifierToExtract)
-
-