Class TransformOneToManyIterable<I,O>
- java.lang.Object
- 
- uk.gov.gchq.gaffer.commonutil.iterable.TransformOneToManyIterable<I,O>
 
- 
- Type Parameters:
- I- The input iterable type.
- O- the output iterable type.
 - All Implemented Interfaces:
- Closeable,- AutoCloseable,- Iterable<O>
 
 public abstract class TransformOneToManyIterable<I,O> extends Object implements Closeable, Iterable<O> ATransformToMultiIterableallowsIterables to be lazily validated and transformed without loading the entire iterable into memory. The easiest way to use this class is to create an anonymous inner class. This class is very similar toTransformOneToManyIterableexcept that this class transforms one to many items.
- 
- 
Constructor SummaryConstructors Constructor Description TransformOneToManyIterable(Iterable<? extends I> input)Constructs anTransformOneToManyIterablewith the given inputIterableand no validation.TransformOneToManyIterable(Iterable<? extends I> input, Validator<I> validator)TransformOneToManyIterable(Iterable<? extends I> input, Validator<I> validator, boolean skipInvalid)TransformOneToManyIterable(Iterable<? extends I> input, Validator<I> validator, boolean skipInvalid, boolean autoClose)Constructs anTransformOneToManyIterablewith the given inputs
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Iterator<O>iterator()- 
Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Constructor Detail- 
TransformOneToManyIterablepublic TransformOneToManyIterable(Iterable<? extends I> input) Constructs anTransformOneToManyIterablewith the given inputIterableand no validation.- Parameters:
- input- the input- Iterable
 
 - 
TransformOneToManyIterablepublic TransformOneToManyIterable(Iterable<? extends I> input, Validator<I> validator) Constructs anTransformOneToManyIterablewith the given inputIterableandValidator. Invalid items will throw anIllegalArgumentExceptionto be thrown.
 - 
TransformOneToManyIterablepublic TransformOneToManyIterable(Iterable<? extends I> input, Validator<I> validator, boolean skipInvalid) 
 
- 
 
-