Class THandleIdentifier
java.lang.Object
com.databricks.jdbc.model.client.thrift.generated.THandleIdentifier
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<THandleIdentifier>,org.apache.thrift.TBase<THandleIdentifier,,THandleIdentifier._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2025-05-08")
public class THandleIdentifier
extends Object
implements org.apache.thrift.TBase<THandleIdentifier,THandleIdentifier._Fields>, Serializable, Cloneable, Comparable<THandleIdentifier>
- 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<THandleIdentifier._Fields, org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.THandleIdentifier(ByteBuffer guid, ByteBuffer secret) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(THandleIdentifier other) deepCopy()booleanequals(THandleIdentifier that) booleanfieldForId(int fieldId) byte[]getGuid()byte[]inthashCode()booleanisSet(THandleIdentifier._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field guid is set (has been assigned a value) and false otherwisebooleanReturns true if field secret is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(THandleIdentifier._Fields field, Object value) setGuid(byte[] guid) setGuid(ByteBuffer guid) voidsetGuidIsSet(boolean value) setSecret(byte[] secret) setSecret(ByteBuffer secret) voidsetSecretIsSet(boolean value) toString()voidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
guid
-
secret
-
metaDataMap
public static final Map<THandleIdentifier._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
THandleIdentifier
public THandleIdentifier() -
THandleIdentifier
-
THandleIdentifier
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<THandleIdentifier,THandleIdentifier._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<THandleIdentifier,THandleIdentifier._Fields>
-
getGuid
public byte[] getGuid() -
bufferForGuid
-
setGuid
-
setGuid
-
unsetGuid
public void unsetGuid() -
isSetGuid
public boolean isSetGuid()Returns true if field guid is set (has been assigned a value) and false otherwise -
setGuidIsSet
public void setGuidIsSet(boolean value) -
getSecret
public byte[] getSecret() -
bufferForSecret
-
setSecret
-
setSecret
-
unsetSecret
public void unsetSecret() -
isSetSecret
public boolean isSetSecret()Returns true if field secret is set (has been assigned a value) and false otherwise -
setSecretIsSet
public void setSecretIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<THandleIdentifier,THandleIdentifier._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<THandleIdentifier,THandleIdentifier._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<THandleIdentifier,THandleIdentifier._Fields>
-
equals
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<THandleIdentifier>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<THandleIdentifier,THandleIdentifier._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
-