Package io.trino.hive.thrift.metastore
Class TableValidWriteIds
java.lang.Object
io.trino.hive.thrift.metastore.TableValidWriteIds
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TableValidWriteIds>,org.apache.thrift.TBase<TableValidWriteIds,,TableValidWriteIds._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class TableValidWriteIds
extends Object
implements org.apache.thrift.TBase<TableValidWriteIds,TableValidWriteIds._Fields>, Serializable, Cloneable, Comparable<TableValidWriteIds>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<TableValidWriteIds._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.TableValidWriteIds(String fullTableName, long writeIdHighWaterMark, List<Long> invalidWriteIds, ByteBuffer abortedBits) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToInvalidWriteIds(long elem) voidclear()intcompareTo(TableValidWriteIds other) deepCopy()booleanequals(TableValidWriteIds that) booleanfieldForId(int fieldId) byte[]intlonglonginthashCode()booleanisSet(TableValidWriteIds._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field abortedBits is set (has been assigned a value) and false otherwisebooleanReturns true if field fullTableName is set (has been assigned a value) and false otherwisebooleanReturns true if field invalidWriteIds is set (has been assigned a value) and false otherwisebooleanReturns true if field minOpenWriteId is set (has been assigned a value) and false otherwisebooleanReturns true if field writeIdHighWaterMark is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAbortedBits(byte[] abortedBits) setAbortedBits(ByteBuffer abortedBits) voidsetAbortedBitsIsSet(boolean value) voidsetFieldValue(TableValidWriteIds._Fields field, Object value) setFullTableName(String fullTableName) voidsetFullTableNameIsSet(boolean value) setInvalidWriteIds(List<Long> invalidWriteIds) voidsetInvalidWriteIdsIsSet(boolean value) setMinOpenWriteId(long minOpenWriteId) voidsetMinOpenWriteIdIsSet(boolean value) setWriteIdHighWaterMark(long writeIdHighWaterMark) voidsetWriteIdHighWaterMarkIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<TableValidWriteIds._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TableValidWriteIds
public TableValidWriteIds() -
TableValidWriteIds
public TableValidWriteIds(String fullTableName, long writeIdHighWaterMark, List<Long> invalidWriteIds, ByteBuffer abortedBits) -
TableValidWriteIds
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TableValidWriteIds,TableValidWriteIds._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TableValidWriteIds,TableValidWriteIds._Fields>
-
getFullTableName
-
setFullTableName
-
unsetFullTableName
public void unsetFullTableName() -
isSetFullTableName
public boolean isSetFullTableName()Returns true if field fullTableName is set (has been assigned a value) and false otherwise -
setFullTableNameIsSet
public void setFullTableNameIsSet(boolean value) -
getWriteIdHighWaterMark
public long getWriteIdHighWaterMark() -
setWriteIdHighWaterMark
-
unsetWriteIdHighWaterMark
public void unsetWriteIdHighWaterMark() -
isSetWriteIdHighWaterMark
public boolean isSetWriteIdHighWaterMark()Returns true if field writeIdHighWaterMark is set (has been assigned a value) and false otherwise -
setWriteIdHighWaterMarkIsSet
public void setWriteIdHighWaterMarkIsSet(boolean value) -
getInvalidWriteIdsSize
public int getInvalidWriteIdsSize() -
getInvalidWriteIdsIterator
-
addToInvalidWriteIds
public void addToInvalidWriteIds(long elem) -
getInvalidWriteIds
-
setInvalidWriteIds
-
unsetInvalidWriteIds
public void unsetInvalidWriteIds() -
isSetInvalidWriteIds
public boolean isSetInvalidWriteIds()Returns true if field invalidWriteIds is set (has been assigned a value) and false otherwise -
setInvalidWriteIdsIsSet
public void setInvalidWriteIdsIsSet(boolean value) -
getMinOpenWriteId
public long getMinOpenWriteId() -
setMinOpenWriteId
-
unsetMinOpenWriteId
public void unsetMinOpenWriteId() -
isSetMinOpenWriteId
public boolean isSetMinOpenWriteId()Returns true if field minOpenWriteId is set (has been assigned a value) and false otherwise -
setMinOpenWriteIdIsSet
public void setMinOpenWriteIdIsSet(boolean value) -
getAbortedBits
public byte[] getAbortedBits() -
bufferForAbortedBits
-
setAbortedBits
-
setAbortedBits
-
unsetAbortedBits
public void unsetAbortedBits() -
isSetAbortedBits
public boolean isSetAbortedBits()Returns true if field abortedBits is set (has been assigned a value) and false otherwise -
setAbortedBitsIsSet
public void setAbortedBitsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TableValidWriteIds,TableValidWriteIds._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TableValidWriteIds,TableValidWriteIds._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TableValidWriteIds,TableValidWriteIds._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TableValidWriteIds>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TableValidWriteIds,TableValidWriteIds._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-