Class TuplesToElements
-
- All Implemented Interfaces:
Serializable
,Function<Iterable<uk.gov.gchq.koryphe.tuple.Tuple<String>>,Iterable<Element>>
public class TuplesToElements extends uk.gov.gchq.koryphe.function.KorypheFunction<Iterable<uk.gov.gchq.koryphe.tuple.Tuple<String>>,Iterable<Element>> implements Serializable
ATuplesToElements
is a Function which generates Elements from an Iterable of Tuples.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TuplesToElements()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<Element>
apply(Iterable<uk.gov.gchq.koryphe.tuple.Tuple<String>> tuples)
TuplesToElements
element(ElementTupleDefinition elementDef)
TuplesToElements
elements(List<ElementTupleDefinition> elementDef)
List<ElementTupleDefinition>
getElements()
boolean
getUseGroupMapping()
void
setElements(List<ElementTupleDefinition> elements)
void
setUseGroupMapping(boolean useGroupMapping)
TuplesToElements
useGroupMapping(boolean useGroupMapping)
-
-
-
Method Detail
-
getElements
public List<ElementTupleDefinition> getElements()
-
setElements
public void setElements(List<ElementTupleDefinition> elements)
-
element
public TuplesToElements element(ElementTupleDefinition elementDef)
-
elements
public TuplesToElements elements(List<ElementTupleDefinition> elementDef)
-
getUseGroupMapping
public boolean getUseGroupMapping()
-
setUseGroupMapping
public void setUseGroupMapping(boolean useGroupMapping)
-
useGroupMapping
public TuplesToElements useGroupMapping(boolean useGroupMapping)
-
-