org.apache.accumulo.core.data.thrift
Class TConditionalSession

java.lang.Object
  extended by org.apache.accumulo.core.data.thrift.TConditionalSession
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TConditionalSession>, org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>

public class TConditionalSession
extends Object
implements org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>, Serializable, Cloneable, Comparable<TConditionalSession>

See Also:
Serialized Form

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

sessionId

public long sessionId

tserverLock

public String tserverLock

ttl

public long ttl

metaDataMap

public static final Map<TConditionalSession._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

TConditionalSession

public TConditionalSession()

TConditionalSession

public TConditionalSession(long sessionId,
                           String tserverLock,
                           long ttl)

TConditionalSession

public TConditionalSession(TConditionalSession other)
Performs a deep copy on other.

Method Detail

deepCopy

public TConditionalSession deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>

getSessionId

public long getSessionId()

setSessionId

public TConditionalSession setSessionId(long sessionId)

unsetSessionId

public void unsetSessionId()

isSetSessionId

public boolean isSetSessionId()
Returns true if field sessionId is set (has been assigned a value) and false otherwise


setSessionIdIsSet

public void setSessionIdIsSet(boolean value)

getTserverLock

public String getTserverLock()

setTserverLock

public TConditionalSession setTserverLock(String tserverLock)

unsetTserverLock

public void unsetTserverLock()

isSetTserverLock

public boolean isSetTserverLock()
Returns true if field tserverLock is set (has been assigned a value) and false otherwise


setTserverLockIsSet

public void setTserverLockIsSet(boolean value)

getTtl

public long getTtl()

setTtl

public TConditionalSession setTtl(long ttl)

unsetTtl

public void unsetTtl()

isSetTtl

public boolean isSetTtl()
Returns true if field ttl is set (has been assigned a value) and false otherwise


setTtlIsSet

public void setTtlIsSet(boolean value)

setFieldValue

public void setFieldValue(TConditionalSession._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>

getFieldValue

public Object getFieldValue(TConditionalSession._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>

isSet

public boolean isSet(TConditionalSession._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(TConditionalSession that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(TConditionalSession other)
Specified by:
compareTo in interface Comparable<TConditionalSession>

fieldForId

public TConditionalSession._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<TConditionalSession,TConditionalSession._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2015 Apache Accumulo Project. All rights reserved.