public class InMemoryOperationIterable extends Object implements ESCloseableIterable<ESOperation>
ESCloseableIterable for operations.
Calling close has no effect.| Constructor and Description |
|---|
InMemoryOperationIterable(List<ESOperation> operations)
Defaults constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this
Iterable. |
Iterable<ESOperation> |
iterable()
Returns an
Iterable that can be iterated over. |
public InMemoryOperationIterable(List<ESOperation> operations)
operations - the in-memory representation of the operationspublic Iterable<ESOperation> iterable()
Iterable that can be iterated over.iterable in interface ESCloseableIterable<ESOperation>Iterable to iterate overESCloseableIterable.iterable()public void close()
Iterable.close in interface ESCloseableIterable<ESOperation>ESCloseableIterable.close()Copyright © 2017. All rights reserved.