public static class ThriftSourceProtocol.appendBatch_args extends Object implements org.apache.thrift.TBase<ThriftSourceProtocol.appendBatch_args,ThriftSourceProtocol.appendBatch_args._Fields>, Serializable, Cloneable, Comparable<ThriftSourceProtocol.appendBatch_args>
Modifier and Type | Class and Description |
---|---|
static class |
ThriftSourceProtocol.appendBatch_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<ThriftFlumeEvent> |
events |
static Map<ThriftSourceProtocol.appendBatch_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
appendBatch_args() |
appendBatch_args(List<ThriftFlumeEvent> events) |
appendBatch_args(ThriftSourceProtocol.appendBatch_args other)
Performs a deep copy on other.
|
public List<ThriftFlumeEvent> events
public static final Map<ThriftSourceProtocol.appendBatch_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public appendBatch_args()
public appendBatch_args(List<ThriftFlumeEvent> events)
public appendBatch_args(ThriftSourceProtocol.appendBatch_args other)
public ThriftSourceProtocol.appendBatch_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftSourceProtocol.appendBatch_args,ThriftSourceProtocol.appendBatch_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftSourceProtocol.appendBatch_args,ThriftSourceProtocol.appendBatch_args._Fields>
public int getEventsSize()
public Iterator<ThriftFlumeEvent> getEventsIterator()
public void addToEvents(ThriftFlumeEvent elem)
public List<ThriftFlumeEvent> getEvents()
public ThriftSourceProtocol.appendBatch_args setEvents(List<ThriftFlumeEvent> events)
public void unsetEvents()
public boolean isSetEvents()
public void setEventsIsSet(boolean value)
public void setFieldValue(ThriftSourceProtocol.appendBatch_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftSourceProtocol.appendBatch_args,ThriftSourceProtocol.appendBatch_args._Fields>
public Object getFieldValue(ThriftSourceProtocol.appendBatch_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftSourceProtocol.appendBatch_args,ThriftSourceProtocol.appendBatch_args._Fields>
public boolean isSet(ThriftSourceProtocol.appendBatch_args._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftSourceProtocol.appendBatch_args,ThriftSourceProtocol.appendBatch_args._Fields>
public boolean equals(ThriftSourceProtocol.appendBatch_args that)
public int compareTo(ThriftSourceProtocol.appendBatch_args other)
compareTo
in interface Comparable<ThriftSourceProtocol.appendBatch_args>
public ThriftSourceProtocol.appendBatch_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftSourceProtocol.appendBatch_args,ThriftSourceProtocol.appendBatch_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftSourceProtocol.appendBatch_args,ThriftSourceProtocol.appendBatch_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ThriftSourceProtocol.appendBatch_args,ThriftSourceProtocol.appendBatch_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.