@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2024-09-20") public class FileCryptoMetaData extends Object implements org.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._Fields>, Serializable, Cloneable, Comparable<FileCryptoMetaData>
Modifier and Type | Class and Description |
---|---|
static class |
FileCryptoMetaData._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
EncryptionAlgorithm |
encryption_algorithm
Encryption algorithm.
|
ByteBuffer |
key_metadata
Retrieval metadata of key used for encryption of footer,
and (possibly) columns *
|
static Map<FileCryptoMetaData._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
FileCryptoMetaData() |
FileCryptoMetaData(EncryptionAlgorithm encryption_algorithm) |
FileCryptoMetaData(FileCryptoMetaData other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForKey_metadata() |
void |
clear() |
int |
compareTo(FileCryptoMetaData other) |
FileCryptoMetaData |
deepCopy() |
boolean |
equals(FileCryptoMetaData that) |
boolean |
equals(Object that) |
FileCryptoMetaData._Fields |
fieldForId(int fieldId) |
EncryptionAlgorithm |
getEncryption_algorithm()
Encryption algorithm.
|
Object |
getFieldValue(FileCryptoMetaData._Fields field) |
byte[] |
getKey_metadata()
Retrieval metadata of key used for encryption of footer,
and (possibly) columns *
|
int |
hashCode() |
boolean |
isSet(FileCryptoMetaData._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetEncryption_algorithm()
Returns true if field encryption_algorithm is set (has been assigned a value) and false otherwise
|
boolean |
isSetKey_metadata()
Returns true if field key_metadata is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
FileCryptoMetaData |
setEncryption_algorithm(EncryptionAlgorithm encryption_algorithm)
Encryption algorithm.
|
void |
setEncryption_algorithmIsSet(boolean value) |
void |
setFieldValue(FileCryptoMetaData._Fields field,
Object value) |
FileCryptoMetaData |
setKey_metadata(byte[] key_metadata)
Retrieval metadata of key used for encryption of footer,
and (possibly) columns *
|
FileCryptoMetaData |
setKey_metadata(ByteBuffer key_metadata) |
void |
setKey_metadataIsSet(boolean value) |
String |
toString() |
void |
unsetEncryption_algorithm() |
void |
unsetKey_metadata() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public EncryptionAlgorithm encryption_algorithm
public ByteBuffer key_metadata
public static final Map<FileCryptoMetaData._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public FileCryptoMetaData()
public FileCryptoMetaData(EncryptionAlgorithm encryption_algorithm)
public FileCryptoMetaData(FileCryptoMetaData other)
public FileCryptoMetaData deepCopy()
deepCopy
in interface org.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._Fields>
public EncryptionAlgorithm getEncryption_algorithm()
public FileCryptoMetaData setEncryption_algorithm(EncryptionAlgorithm encryption_algorithm)
public void unsetEncryption_algorithm()
public boolean isSetEncryption_algorithm()
public void setEncryption_algorithmIsSet(boolean value)
public byte[] getKey_metadata()
public ByteBuffer bufferForKey_metadata()
public FileCryptoMetaData setKey_metadata(byte[] key_metadata)
public FileCryptoMetaData setKey_metadata(ByteBuffer key_metadata)
public void unsetKey_metadata()
public boolean isSetKey_metadata()
public void setKey_metadataIsSet(boolean value)
public void setFieldValue(FileCryptoMetaData._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._Fields>
public Object getFieldValue(FileCryptoMetaData._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._Fields>
public boolean isSet(FileCryptoMetaData._Fields field)
isSet
in interface org.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._Fields>
public boolean equals(FileCryptoMetaData that)
public int compareTo(FileCryptoMetaData other)
compareTo
in interface Comparable<FileCryptoMetaData>
public FileCryptoMetaData._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._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 void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2024 The Apache Software Foundation. All rights reserved.