@Generated(value="Autogenerated by Thrift Compiler (0.10.0)", date="2017-08-25") public class TActiveTxnStat extends java.lang.Object implements org.apache.thrift.TBase<TActiveTxnStat,TActiveTxnStat._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TActiveTxnStat>
Modifier and Type | Class and Description |
---|---|
static class |
TActiveTxnStat._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
java.nio.ByteBuffer |
GId |
int |
lsnFile |
int |
lsnOffset |
static java.util.Map<TActiveTxnStat._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
multiversionRef |
java.lang.String |
name |
int |
parentId |
int |
pid |
int |
priority |
int |
readLsnFile |
int |
readLsnOffset |
int |
txnId |
Constructor and Description |
---|
TActiveTxnStat() |
TActiveTxnStat(java.nio.ByteBuffer GId,
int lsnFile,
int lsnOffset,
int multiversionRef,
java.lang.String name,
int parentId,
int pid,
int priority,
int readLsnFile,
int readLsnOffset,
int txnId) |
TActiveTxnStat(TActiveTxnStat other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
bufferForGId() |
void |
clear() |
int |
compareTo(TActiveTxnStat other) |
TActiveTxnStat |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TActiveTxnStat that) |
TActiveTxnStat._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(TActiveTxnStat._Fields field) |
byte[] |
getGId() |
int |
getLsnFile() |
int |
getLsnOffset() |
int |
getMultiversionRef() |
java.lang.String |
getName() |
int |
getParentId() |
int |
getPid() |
int |
getPriority() |
int |
getReadLsnFile() |
int |
getReadLsnOffset() |
int |
getTxnId() |
int |
hashCode() |
boolean |
isSet(TActiveTxnStat._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetGId()
Returns true if field GId is set (has been assigned a value) and false otherwise
|
boolean |
isSetLsnFile()
Returns true if field lsnFile is set (has been assigned a value) and false otherwise
|
boolean |
isSetLsnOffset()
Returns true if field lsnOffset is set (has been assigned a value) and false otherwise
|
boolean |
isSetMultiversionRef()
Returns true if field multiversionRef is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name 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 |
isSetPid()
Returns true if field pid is set (has been assigned a value) and false otherwise
|
boolean |
isSetPriority()
Returns true if field priority is set (has been assigned a value) and false otherwise
|
boolean |
isSetReadLsnFile()
Returns true if field readLsnFile is set (has been assigned a value) and false otherwise
|
boolean |
isSetReadLsnOffset()
Returns true if field readLsnOffset is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxnId()
Returns true if field txnId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TActiveTxnStat._Fields field,
java.lang.Object value) |
TActiveTxnStat |
setGId(byte[] GId) |
TActiveTxnStat |
setGId(java.nio.ByteBuffer GId) |
void |
setGIdIsSet(boolean value) |
TActiveTxnStat |
setLsnFile(int lsnFile) |
void |
setLsnFileIsSet(boolean value) |
TActiveTxnStat |
setLsnOffset(int lsnOffset) |
void |
setLsnOffsetIsSet(boolean value) |
TActiveTxnStat |
setMultiversionRef(int multiversionRef) |
void |
setMultiversionRefIsSet(boolean value) |
TActiveTxnStat |
setName(java.lang.String name) |
void |
setNameIsSet(boolean value) |
TActiveTxnStat |
setParentId(int parentId) |
void |
setParentIdIsSet(boolean value) |
TActiveTxnStat |
setPid(int pid) |
void |
setPidIsSet(boolean value) |
TActiveTxnStat |
setPriority(int priority) |
void |
setPriorityIsSet(boolean value) |
TActiveTxnStat |
setReadLsnFile(int readLsnFile) |
void |
setReadLsnFileIsSet(boolean value) |
TActiveTxnStat |
setReadLsnOffset(int readLsnOffset) |
void |
setReadLsnOffsetIsSet(boolean value) |
TActiveTxnStat |
setTxnId(int txnId) |
void |
setTxnIdIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetGId() |
void |
unsetLsnFile() |
void |
unsetLsnOffset() |
void |
unsetMultiversionRef() |
void |
unsetName() |
void |
unsetParentId() |
void |
unsetPid() |
void |
unsetPriority() |
void |
unsetReadLsnFile() |
void |
unsetReadLsnOffset() |
void |
unsetTxnId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.nio.ByteBuffer GId
public int lsnFile
public int lsnOffset
public int multiversionRef
public java.lang.String name
public int parentId
public int pid
public int priority
public int readLsnFile
public int readLsnOffset
public int txnId
public static final java.util.Map<TActiveTxnStat._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TActiveTxnStat()
public TActiveTxnStat(java.nio.ByteBuffer GId, int lsnFile, int lsnOffset, int multiversionRef, java.lang.String name, int parentId, int pid, int priority, int readLsnFile, int readLsnOffset, int txnId)
public TActiveTxnStat(TActiveTxnStat other)
public TActiveTxnStat deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TActiveTxnStat,TActiveTxnStat._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TActiveTxnStat,TActiveTxnStat._Fields>
public byte[] getGId()
public java.nio.ByteBuffer bufferForGId()
public TActiveTxnStat setGId(byte[] GId)
public TActiveTxnStat setGId(java.nio.ByteBuffer GId)
public void unsetGId()
public boolean isSetGId()
public void setGIdIsSet(boolean value)
public int getLsnFile()
public TActiveTxnStat setLsnFile(int lsnFile)
public void unsetLsnFile()
public boolean isSetLsnFile()
public void setLsnFileIsSet(boolean value)
public int getLsnOffset()
public TActiveTxnStat setLsnOffset(int lsnOffset)
public void unsetLsnOffset()
public boolean isSetLsnOffset()
public void setLsnOffsetIsSet(boolean value)
public int getMultiversionRef()
public TActiveTxnStat setMultiversionRef(int multiversionRef)
public void unsetMultiversionRef()
public boolean isSetMultiversionRef()
public void setMultiversionRefIsSet(boolean value)
public java.lang.String getName()
public TActiveTxnStat setName(java.lang.String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public int getParentId()
public TActiveTxnStat setParentId(int parentId)
public void unsetParentId()
public boolean isSetParentId()
public void setParentIdIsSet(boolean value)
public int getPid()
public TActiveTxnStat setPid(int pid)
public void unsetPid()
public boolean isSetPid()
public void setPidIsSet(boolean value)
public int getPriority()
public TActiveTxnStat setPriority(int priority)
public void unsetPriority()
public boolean isSetPriority()
public void setPriorityIsSet(boolean value)
public int getReadLsnFile()
public TActiveTxnStat setReadLsnFile(int readLsnFile)
public void unsetReadLsnFile()
public boolean isSetReadLsnFile()
public void setReadLsnFileIsSet(boolean value)
public int getReadLsnOffset()
public TActiveTxnStat setReadLsnOffset(int readLsnOffset)
public void unsetReadLsnOffset()
public boolean isSetReadLsnOffset()
public void setReadLsnOffsetIsSet(boolean value)
public int getTxnId()
public TActiveTxnStat setTxnId(int txnId)
public void unsetTxnId()
public boolean isSetTxnId()
public void setTxnIdIsSet(boolean value)
public void setFieldValue(TActiveTxnStat._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TActiveTxnStat,TActiveTxnStat._Fields>
public java.lang.Object getFieldValue(TActiveTxnStat._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TActiveTxnStat,TActiveTxnStat._Fields>
public boolean isSet(TActiveTxnStat._Fields field)
isSet
in interface org.apache.thrift.TBase<TActiveTxnStat,TActiveTxnStat._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TActiveTxnStat that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TActiveTxnStat other)
compareTo
in interface java.lang.Comparable<TActiveTxnStat>
public TActiveTxnStat._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TActiveTxnStat,TActiveTxnStat._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.