|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.data.thrift.TConditionalSession
public class TConditionalSession
Nested Class Summary | |
---|---|
static class |
TConditionalSession._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<TConditionalSession._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
long |
sessionId
|
String |
tserverLock
|
long |
ttl
|
Constructor Summary | |
---|---|
TConditionalSession()
|
|
TConditionalSession(long sessionId,
String tserverLock,
long ttl)
|
|
TConditionalSession(TConditionalSession other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(TConditionalSession other)
|
TConditionalSession |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TConditionalSession that)
|
TConditionalSession._Fields |
fieldForId(int fieldId)
|
Object |
getFieldValue(TConditionalSession._Fields field)
|
long |
getSessionId()
|
String |
getTserverLock()
|
long |
getTtl()
|
int |
hashCode()
|
boolean |
isSet(TConditionalSession._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetSessionId()
Returns true if field sessionId is set (has been assigned a value) and false otherwise |
boolean |
isSetTserverLock()
Returns true if field tserverLock is set (has been assigned a value) and false otherwise |
boolean |
isSetTtl()
Returns true if field ttl is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(TConditionalSession._Fields field,
Object value)
|
TConditionalSession |
setSessionId(long sessionId)
|
void |
setSessionIdIsSet(boolean value)
|
TConditionalSession |
setTserverLock(String tserverLock)
|
void |
setTserverLockIsSet(boolean value)
|
TConditionalSession |
setTtl(long ttl)
|
void |
setTtlIsSet(boolean value)
|
String |
toString()
|
void |
unsetSessionId()
|
void |
unsetTserverLock()
|
void |
unsetTtl()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public long sessionId
public String tserverLock
public long ttl
public static final Map<TConditionalSession._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TConditionalSession()
public TConditionalSession(long sessionId, String tserverLock, long ttl)
public TConditionalSession(TConditionalSession other)
Method Detail |
---|
public TConditionalSession deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>
public long getSessionId()
public TConditionalSession setSessionId(long sessionId)
public void unsetSessionId()
public boolean isSetSessionId()
public void setSessionIdIsSet(boolean value)
public String getTserverLock()
public TConditionalSession setTserverLock(String tserverLock)
public void unsetTserverLock()
public boolean isSetTserverLock()
public void setTserverLockIsSet(boolean value)
public long getTtl()
public TConditionalSession setTtl(long ttl)
public void unsetTtl()
public boolean isSetTtl()
public void setTtlIsSet(boolean value)
public void setFieldValue(TConditionalSession._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>
public Object getFieldValue(TConditionalSession._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>
public boolean isSet(TConditionalSession._Fields field)
isSet
in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TConditionalSession that)
public int hashCode()
hashCode
in class Object
public int compareTo(TConditionalSession other)
compareTo
in interface Comparable<TConditionalSession>
public TConditionalSession._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._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<TConditionalSession,TConditionalSession._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 |