Package uk.gov.gchq.gaffer.operation.io
Interface MultiElementIdInput
-
- All Superinterfaces:
AutoCloseable
,Closeable
,Input<Iterable<? extends ElementId>>
,MultiInput<ElementId>
,Operation
- All Known Implementing Classes:
GetElements
,GetJavaRDDOfElements
,GetRDDOfElements
public interface MultiElementIdInput extends MultiInput<ElementId>
MultiElementIdInput
operations are Gaffer operations which consume multipleElementId
s.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
MultiElementIdInput.Builder<OP extends MultiElementIdInput,B extends MultiElementIdInput.Builder<OP,?>>
-
Nested classes/interfaces inherited from interface uk.gov.gchq.gaffer.operation.Operation
Operation.BaseBuilder<OP extends Operation,B extends Operation.BaseBuilder<OP,?>>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Object[]
createInputArray()
default void
setInput(ElementId[] input)
default void
setInputFromVerticesAndIds(Object... input)
Sets the input from an array of vertices and element ids.-
Methods inherited from interface uk.gov.gchq.gaffer.operation.io.MultiInput
getInput, setInput
-
Methods inherited from interface uk.gov.gchq.gaffer.operation.Operation
_getNullOrOptions, addOption, containsOption, getOption, getOption, getOptions, setOptions, shallowClone, validate, validateRequiredFieldPresent
-
-
-
-
Method Detail
-
setInputFromVerticesAndIds
default void setInputFromVerticesAndIds(Object... input)
Sets the input from an array of vertices and element ids. Vertices are wrapped in an EntitySeed object.- Parameters:
input
- the input array to set.
-
createInputArray
default Object[] createInputArray()
- Specified by:
createInputArray
in interfaceMultiInput<ElementId>
-
setInput
default void setInput(ElementId[] input)
- Specified by:
setInput
in interfaceMultiInput<ElementId>
-
-