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