public class TInfo extends Object implements org.apache.thrift.TBase<TInfo,TInfo._Fields>, Serializable, Cloneable, Comparable<TInfo>
Modifier and Type | Class and Description |
---|---|
static class |
TInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<TInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
parentId |
long |
traceId |
Constructor and Description |
---|
TInfo() |
TInfo(long traceId,
long parentId) |
TInfo(TInfo other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TInfo other) |
TInfo |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TInfo that) |
TInfo._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TInfo._Fields field) |
long |
getParentId() |
long |
getTraceId() |
int |
hashCode() |
boolean |
isSet(TInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetParentId()
Returns true if field parentId is set (has been assigned a value) and false otherwise
|
boolean |
isSetTraceId()
Returns true if field traceId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TInfo._Fields field,
Object value) |
TInfo |
setParentId(long parentId) |
void |
setParentIdIsSet(boolean value) |
TInfo |
setTraceId(long traceId) |
void |
setTraceIdIsSet(boolean value) |
String |
toString() |
void |
unsetParentId() |
void |
unsetTraceId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long traceId
public long parentId
public static final Map<TInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TInfo()
public TInfo(long traceId, long parentId)
public TInfo(TInfo other)
public TInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TInfo,TInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TInfo,TInfo._Fields>
public long getTraceId()
public TInfo setTraceId(long traceId)
public void unsetTraceId()
public boolean isSetTraceId()
public void setTraceIdIsSet(boolean value)
public long getParentId()
public TInfo setParentId(long parentId)
public void unsetParentId()
public boolean isSetParentId()
public void setParentIdIsSet(boolean value)
public void setFieldValue(TInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TInfo,TInfo._Fields>
public Object getFieldValue(TInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TInfo,TInfo._Fields>
public boolean isSet(TInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<TInfo,TInfo._Fields>
public boolean equals(TInfo that)
public int compareTo(TInfo other)
compareTo
in interface Comparable<TInfo>
public TInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TInfo,TInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TInfo,TInfo._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<TInfo,TInfo._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.