public class MultiOperationRecord extends Object implements Record, Iterable<Op>
| Constructor and Description |
|---|
MultiOperationRecord() |
MultiOperationRecord(Iterable<Op> ops) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Op op) |
void |
deserialize(InputArchive archive,
String tag) |
boolean |
equals(Object o) |
Op.OpKind |
getOpKind()
Returns the kind of the operations contained by the record.
|
int |
hashCode() |
Iterator<Op> |
iterator() |
void |
serialize(OutputArchive archive,
String tag) |
int |
size() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic MultiOperationRecord()
public MultiOperationRecord(Iterable<Op> ops) throws IllegalArgumentException
IllegalArgumentExceptionpublic void add(Op op) throws IllegalArgumentException
IllegalArgumentExceptionpublic int size()
public Op.OpKind getOpKind()
public void serialize(OutputArchive archive, String tag) throws IOException
serialize in interface RecordIOExceptionpublic void deserialize(InputArchive archive, String tag) throws IOException
deserialize in interface RecordIOExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.