Package org.apache.parquet.format
Class FileCryptoMetaData
java.lang.Object
org.apache.parquet.format.FileCryptoMetaData
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<FileCryptoMetaData>,org.apache.thrift.TBase<FileCryptoMetaData,,FileCryptoMetaData._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.23.0)",
date="2026-08-06")
public class FileCryptoMetaData
extends Object
implements org.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._Fields>, Serializable, Cloneable, Comparable<FileCryptoMetaData>
Crypto metadata for files with encrypted footer *
- 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 TypeFieldDescriptionEncryption algorithm.Retrieval metadata of key used for encryption of footer, and (possibly) columns *static final Map<FileCryptoMetaData._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionFileCryptoMetaData(EncryptionAlgorithm encryption_algorithm) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(FileCryptoMetaData other) deepCopy()booleanbooleanequals(FileCryptoMetaData that) fieldForId(int fieldId) Encryption algorithm.byte[]Retrieval metadata of key used for encryption of footer, and (possibly) columns *inthashCode()booleanisSet(FileCryptoMetaData._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field encryption_algorithm is set (has been assigned a value) and false otherwisebooleanReturns true if field key_metadata is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setEncryption_algorithm(EncryptionAlgorithm encryption_algorithm) Encryption algorithm.voidsetEncryption_algorithmIsSet(boolean value) voidsetFieldValue(FileCryptoMetaData._Fields field, Object value) setKey_metadata(byte[] key_metadata) Retrieval metadata of key used for encryption of footer, and (possibly) columns *setKey_metadata(ByteBuffer key_metadata) voidsetKey_metadataIsSet(boolean value) toString()voidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
encryption_algorithm
Encryption algorithm. This field is only used for files with encrypted footer. Files with plaintext footer store algorithm id inside footer (FileMetaData structure). -
key_metadata
Retrieval metadata of key used for encryption of footer, and (possibly) columns * -
metaDataMap
public static final Map<FileCryptoMetaData._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
FileCryptoMetaData
public FileCryptoMetaData() -
FileCryptoMetaData
-
FileCryptoMetaData
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._Fields>
-
getEncryption_algorithm
Encryption algorithm. This field is only used for files with encrypted footer. Files with plaintext footer store algorithm id inside footer (FileMetaData structure). -
setEncryption_algorithm
Encryption algorithm. This field is only used for files with encrypted footer. Files with plaintext footer store algorithm id inside footer (FileMetaData structure). -
unsetEncryption_algorithm
public void unsetEncryption_algorithm() -
isSetEncryption_algorithm
public boolean isSetEncryption_algorithm()Returns true if field encryption_algorithm is set (has been assigned a value) and false otherwise -
setEncryption_algorithmIsSet
public void setEncryption_algorithmIsSet(boolean value) -
getKey_metadata
public byte[] getKey_metadata()Retrieval metadata of key used for encryption of footer, and (possibly) columns * -
bufferForKey_metadata
-
setKey_metadata
Retrieval metadata of key used for encryption of footer, and (possibly) columns * -
setKey_metadata
-
unsetKey_metadata
public void unsetKey_metadata() -
isSetKey_metadata
public boolean isSetKey_metadata()Returns true if field key_metadata is set (has been assigned a value) and false otherwise -
setKey_metadataIsSet
public void setKey_metadataIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._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<FileCryptoMetaData,FileCryptoMetaData._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<FileCryptoMetaData>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<FileCryptoMetaData,FileCryptoMetaData._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
-