org.apache.accumulo.core.tabletserver.thrift
Class MutationLogger.defineTablet_args

java.lang.Object
  extended by org.apache.accumulo.core.tabletserver.thrift.MutationLogger.defineTablet_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<MutationLogger.defineTablet_args>, org.apache.thrift.TBase<MutationLogger.defineTablet_args,MutationLogger.defineTablet_args._Fields>
Enclosing class:
MutationLogger

public static class MutationLogger.defineTablet_args
extends Object
implements org.apache.thrift.TBase<MutationLogger.defineTablet_args,MutationLogger.defineTablet_args._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class MutationLogger.defineTablet_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 long id
           
static Map<MutationLogger.defineTablet_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 long seq
           
 TKeyExtent tablet
           
 int tid
           
 TInfo tinfo
           
 
Constructor Summary
MutationLogger.defineTablet_args()
           
MutationLogger.defineTablet_args(MutationLogger.defineTablet_args other)
          Performs a deep copy on other.
MutationLogger.defineTablet_args(TInfo tinfo, long id, long seq, int tid, TKeyExtent tablet)
           
 
Method Summary
 void clear()
           
 int compareTo(MutationLogger.defineTablet_args other)
           
 MutationLogger.defineTablet_args deepCopy()
           
 boolean equals(MutationLogger.defineTablet_args that)
           
 boolean equals(Object that)
           
 MutationLogger.defineTablet_args._Fields fieldForId(int fieldId)
           
 Object getFieldValue(MutationLogger.defineTablet_args._Fields field)
           
 long getId()
           
 long getSeq()
           
 TKeyExtent getTablet()
           
 int getTid()
           
 TInfo getTinfo()
           
 int hashCode()
           
 boolean isSet(MutationLogger.defineTablet_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetId()
          Returns true if field id is set (has been assigned a value) and false otherwise
 boolean isSetSeq()
          Returns true if field seq is set (has been assigned a value) and false otherwise
 boolean isSetTablet()
          Returns true if field tablet is set (has been assigned a value) and false otherwise
 boolean isSetTid()
          Returns true if field tid is set (has been assigned a value) and false otherwise
 boolean isSetTinfo()
          Returns true if field tinfo is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(MutationLogger.defineTablet_args._Fields field, Object value)
           
 MutationLogger.defineTablet_args setId(long id)
           
 void setIdIsSet(boolean value)
           
 MutationLogger.defineTablet_args setSeq(long seq)
           
 void setSeqIsSet(boolean value)
           
 MutationLogger.defineTablet_args setTablet(TKeyExtent tablet)
           
 void setTabletIsSet(boolean value)
           
 MutationLogger.defineTablet_args setTid(int tid)
           
 void setTidIsSet(boolean value)
           
 MutationLogger.defineTablet_args setTinfo(TInfo tinfo)
           
 void setTinfoIsSet(boolean value)
           
 String toString()
           
 void unsetId()
           
 void unsetSeq()
           
 void unsetTablet()
           
 void unsetTid()
           
 void unsetTinfo()
           
 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

tinfo

public TInfo tinfo

id

public long id

seq

public long seq

tid

public int tid

tablet

public TKeyExtent tablet

metaDataMap

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

MutationLogger.defineTablet_args

public MutationLogger.defineTablet_args()

MutationLogger.defineTablet_args

public MutationLogger.defineTablet_args(TInfo tinfo,
                                        long id,
                                        long seq,
                                        int tid,
                                        TKeyExtent tablet)

MutationLogger.defineTablet_args

public MutationLogger.defineTablet_args(MutationLogger.defineTablet_args other)
Performs a deep copy on other.

Method Detail

deepCopy

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

clear

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

getTinfo

public TInfo getTinfo()

setTinfo

public MutationLogger.defineTablet_args setTinfo(TInfo tinfo)

unsetTinfo

public void unsetTinfo()

isSetTinfo

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


setTinfoIsSet

public void setTinfoIsSet(boolean value)

getId

public long getId()

setId

public MutationLogger.defineTablet_args setId(long id)

unsetId

public void unsetId()

isSetId

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


setIdIsSet

public void setIdIsSet(boolean value)

getSeq

public long getSeq()

setSeq

public MutationLogger.defineTablet_args setSeq(long seq)

unsetSeq

public void unsetSeq()

isSetSeq

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


setSeqIsSet

public void setSeqIsSet(boolean value)

getTid

public int getTid()

setTid

public MutationLogger.defineTablet_args setTid(int tid)

unsetTid

public void unsetTid()

isSetTid

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


setTidIsSet

public void setTidIsSet(boolean value)

getTablet

public TKeyExtent getTablet()

setTablet

public MutationLogger.defineTablet_args setTablet(TKeyExtent tablet)

unsetTablet

public void unsetTablet()

isSetTablet

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


setTabletIsSet

public void setTabletIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(MutationLogger.defineTablet_args._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<MutationLogger.defineTablet_args,MutationLogger.defineTablet_args._Fields>

equals

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

equals

public boolean equals(MutationLogger.defineTablet_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(MutationLogger.defineTablet_args other)
Specified by:
compareTo in interface Comparable<MutationLogger.defineTablet_args>

fieldForId

public MutationLogger.defineTablet_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<MutationLogger.defineTablet_args,MutationLogger.defineTablet_args._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<MutationLogger.defineTablet_args,MutationLogger.defineTablet_args._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<MutationLogger.defineTablet_args,MutationLogger.defineTablet_args._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 © 2013 The Apache Software Foundation. All Rights Reserved.