|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cloudera.flume.handlers.thrift.ThriftFlumeEvent
@Deprecated public class ThriftFlumeEvent
Nested Class Summary | |
---|---|
static class |
ThriftFlumeEvent._Fields
Deprecated. The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
ByteBuffer |
body
Deprecated. |
Map<String,ByteBuffer> |
fields
Deprecated. |
String |
host
Deprecated. |
static Map<ThriftFlumeEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
Deprecated. |
long |
nanos
Deprecated. |
Priority |
priority
Deprecated. |
long |
timestamp
Deprecated. |
Constructor Summary | |
---|---|
ThriftFlumeEvent()
Deprecated. |
|
ThriftFlumeEvent(long timestamp,
Priority priority,
ByteBuffer body,
long nanos,
String host,
Map<String,ByteBuffer> fields)
Deprecated. |
|
ThriftFlumeEvent(ThriftFlumeEvent other)
Deprecated. Performs a deep copy on other. |
Method Summary | |
---|---|
ByteBuffer |
bufferForBody()
Deprecated. |
void |
clear()
Deprecated. |
int |
compareTo(ThriftFlumeEvent other)
Deprecated. |
ThriftFlumeEvent |
deepCopy()
Deprecated. |
boolean |
equals(Object that)
Deprecated. |
boolean |
equals(ThriftFlumeEvent that)
Deprecated. |
ThriftFlumeEvent._Fields |
fieldForId(int fieldId)
Deprecated. |
byte[] |
getBody()
Deprecated. |
Map<String,ByteBuffer> |
getFields()
Deprecated. |
int |
getFieldsSize()
Deprecated. |
Object |
getFieldValue(ThriftFlumeEvent._Fields field)
Deprecated. |
String |
getHost()
Deprecated. |
long |
getNanos()
Deprecated. |
Priority |
getPriority()
Deprecated. |
long |
getTimestamp()
Deprecated. |
int |
hashCode()
Deprecated. |
boolean |
isSet(ThriftFlumeEvent._Fields field)
Deprecated. Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetBody()
Deprecated. Returns true if field body is set (has been assigned a value) and false otherwise |
boolean |
isSetFields()
Deprecated. Returns true if field fields is set (has been assigned a value) and false otherwise |
boolean |
isSetHost()
Deprecated. Returns true if field host is set (has been assigned a value) and false otherwise |
boolean |
isSetNanos()
Deprecated. Returns true if field nanos is set (has been assigned a value) and false otherwise |
boolean |
isSetPriority()
Deprecated. Returns true if field priority is set (has been assigned a value) and false otherwise |
boolean |
isSetTimestamp()
Deprecated. Returns true if field timestamp is set (has been assigned a value) and false otherwise |
void |
putToFields(String key,
ByteBuffer val)
Deprecated. |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
Deprecated. |
ThriftFlumeEvent |
setBody(byte[] body)
Deprecated. |
ThriftFlumeEvent |
setBody(ByteBuffer body)
Deprecated. |
void |
setBodyIsSet(boolean value)
Deprecated. |
ThriftFlumeEvent |
setFields(Map<String,ByteBuffer> fields)
Deprecated. |
void |
setFieldsIsSet(boolean value)
Deprecated. |
void |
setFieldValue(ThriftFlumeEvent._Fields field,
Object value)
Deprecated. |
ThriftFlumeEvent |
setHost(String host)
Deprecated. |
void |
setHostIsSet(boolean value)
Deprecated. |
ThriftFlumeEvent |
setNanos(long nanos)
Deprecated. |
void |
setNanosIsSet(boolean value)
Deprecated. |
ThriftFlumeEvent |
setPriority(Priority priority)
Deprecated. |
void |
setPriorityIsSet(boolean value)
Deprecated. |
ThriftFlumeEvent |
setTimestamp(long timestamp)
Deprecated. |
void |
setTimestampIsSet(boolean value)
Deprecated. |
String |
toString()
Deprecated. |
void |
unsetBody()
Deprecated. |
void |
unsetFields()
Deprecated. |
void |
unsetHost()
Deprecated. |
void |
unsetNanos()
Deprecated. |
void |
unsetPriority()
Deprecated. |
void |
unsetTimestamp()
Deprecated. |
void |
validate()
Deprecated. |
void |
write(org.apache.thrift.protocol.TProtocol oprot)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public long timestamp
public Priority priority
Priority
public ByteBuffer body
public long nanos
public String host
public Map<String,ByteBuffer> fields
public static final Map<ThriftFlumeEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public ThriftFlumeEvent()
public ThriftFlumeEvent(long timestamp, Priority priority, ByteBuffer body, long nanos, String host, Map<String,ByteBuffer> fields)
public ThriftFlumeEvent(ThriftFlumeEvent other)
Method Detail |
---|
public ThriftFlumeEvent deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftFlumeEvent,ThriftFlumeEvent._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftFlumeEvent,ThriftFlumeEvent._Fields>
public long getTimestamp()
public ThriftFlumeEvent setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public Priority getPriority()
Priority
public ThriftFlumeEvent setPriority(Priority priority)
Priority
public void unsetPriority()
public boolean isSetPriority()
public void setPriorityIsSet(boolean value)
public byte[] getBody()
public ByteBuffer bufferForBody()
public ThriftFlumeEvent setBody(byte[] body)
public ThriftFlumeEvent setBody(ByteBuffer body)
public void unsetBody()
public boolean isSetBody()
public void setBodyIsSet(boolean value)
public long getNanos()
public ThriftFlumeEvent setNanos(long nanos)
public void unsetNanos()
public boolean isSetNanos()
public void setNanosIsSet(boolean value)
public String getHost()
public ThriftFlumeEvent setHost(String host)
public void unsetHost()
public boolean isSetHost()
public void setHostIsSet(boolean value)
public int getFieldsSize()
public void putToFields(String key, ByteBuffer val)
public Map<String,ByteBuffer> getFields()
public ThriftFlumeEvent setFields(Map<String,ByteBuffer> fields)
public void unsetFields()
public boolean isSetFields()
public void setFieldsIsSet(boolean value)
public void setFieldValue(ThriftFlumeEvent._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftFlumeEvent,ThriftFlumeEvent._Fields>
public Object getFieldValue(ThriftFlumeEvent._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftFlumeEvent,ThriftFlumeEvent._Fields>
public boolean isSet(ThriftFlumeEvent._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftFlumeEvent,ThriftFlumeEvent._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(ThriftFlumeEvent that)
public int hashCode()
hashCode
in class Object
public int compareTo(ThriftFlumeEvent other)
compareTo
in interface Comparable<ThriftFlumeEvent>
public ThriftFlumeEvent._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftFlumeEvent,ThriftFlumeEvent._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftFlumeEvent,ThriftFlumeEvent._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<ThriftFlumeEvent,ThriftFlumeEvent._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |