Package org.apache.parquet.format
Class AesGcmV1
- java.lang.Object
-
- org.apache.parquet.format.AesGcmV1
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AesGcmV1>,org.apache.thrift.TBase<AesGcmV1,AesGcmV1._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.13.0)", date="2021-09-30") public class AesGcmV1 extends Object implements org.apache.thrift.TBase<AesGcmV1,AesGcmV1._Fields>, Serializable, Cloneable, Comparable<AesGcmV1>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAesGcmV1._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description ByteBufferaad_file_uniqueUnique file identifier part of AAD suffix *ByteBufferaad_prefixAAD prefix *static Map<AesGcmV1._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapbooleansupply_aad_prefixIn files encrypted with AAD prefix without storing it, readers must supply the prefix *
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferbufferForAad_file_unique()ByteBufferbufferForAad_prefix()voidclear()intcompareTo(AesGcmV1 other)AesGcmV1deepCopy()booleanequals(Object that)booleanequals(AesGcmV1 that)AesGcmV1._FieldsfieldForId(int fieldId)byte[]getAad_file_unique()Unique file identifier part of AAD suffix *byte[]getAad_prefix()AAD prefix *ObjectgetFieldValue(AesGcmV1._Fields field)inthashCode()booleanisSet(AesGcmV1._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAad_file_unique()Returns true if field aad_file_unique is set (has been assigned a value) and false otherwisebooleanisSetAad_prefix()Returns true if field aad_prefix is set (has been assigned a value) and false otherwisebooleanisSetSupply_aad_prefix()Returns true if field supply_aad_prefix is set (has been assigned a value) and false otherwisebooleanisSupply_aad_prefix()In files encrypted with AAD prefix without storing it, readers must supply the prefix *voidread(org.apache.thrift.protocol.TProtocol iprot)AesGcmV1setAad_file_unique(byte[] aad_file_unique)Unique file identifier part of AAD suffix *AesGcmV1setAad_file_unique(ByteBuffer aad_file_unique)voidsetAad_file_uniqueIsSet(boolean value)AesGcmV1setAad_prefix(byte[] aad_prefix)AAD prefix *AesGcmV1setAad_prefix(ByteBuffer aad_prefix)voidsetAad_prefixIsSet(boolean value)voidsetFieldValue(AesGcmV1._Fields field, Object value)AesGcmV1setSupply_aad_prefix(boolean supply_aad_prefix)In files encrypted with AAD prefix without storing it, readers must supply the prefix *voidsetSupply_aad_prefixIsSet(boolean value)StringtoString()voidunsetAad_file_unique()voidunsetAad_prefix()voidunsetSupply_aad_prefix()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
aad_prefix
public ByteBuffer aad_prefix
AAD prefix *
-
aad_file_unique
public ByteBuffer aad_file_unique
Unique file identifier part of AAD suffix *
-
supply_aad_prefix
public boolean supply_aad_prefix
In files encrypted with AAD prefix without storing it, readers must supply the prefix *
-
metaDataMap
public static final Map<AesGcmV1._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
AesGcmV1
public AesGcmV1()
-
AesGcmV1
public AesGcmV1(AesGcmV1 other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public AesGcmV1 deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AesGcmV1,AesGcmV1._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<AesGcmV1,AesGcmV1._Fields>
-
getAad_prefix
public byte[] getAad_prefix()
AAD prefix *
-
bufferForAad_prefix
public ByteBuffer bufferForAad_prefix()
-
setAad_prefix
public AesGcmV1 setAad_prefix(byte[] aad_prefix)
AAD prefix *
-
setAad_prefix
public AesGcmV1 setAad_prefix(ByteBuffer aad_prefix)
-
unsetAad_prefix
public void unsetAad_prefix()
-
isSetAad_prefix
public boolean isSetAad_prefix()
Returns true if field aad_prefix is set (has been assigned a value) and false otherwise
-
setAad_prefixIsSet
public void setAad_prefixIsSet(boolean value)
-
getAad_file_unique
public byte[] getAad_file_unique()
Unique file identifier part of AAD suffix *
-
bufferForAad_file_unique
public ByteBuffer bufferForAad_file_unique()
-
setAad_file_unique
public AesGcmV1 setAad_file_unique(byte[] aad_file_unique)
Unique file identifier part of AAD suffix *
-
setAad_file_unique
public AesGcmV1 setAad_file_unique(ByteBuffer aad_file_unique)
-
unsetAad_file_unique
public void unsetAad_file_unique()
-
isSetAad_file_unique
public boolean isSetAad_file_unique()
Returns true if field aad_file_unique is set (has been assigned a value) and false otherwise
-
setAad_file_uniqueIsSet
public void setAad_file_uniqueIsSet(boolean value)
-
isSupply_aad_prefix
public boolean isSupply_aad_prefix()
In files encrypted with AAD prefix without storing it, readers must supply the prefix *
-
setSupply_aad_prefix
public AesGcmV1 setSupply_aad_prefix(boolean supply_aad_prefix)
In files encrypted with AAD prefix without storing it, readers must supply the prefix *
-
unsetSupply_aad_prefix
public void unsetSupply_aad_prefix()
-
isSetSupply_aad_prefix
public boolean isSetSupply_aad_prefix()
Returns true if field supply_aad_prefix is set (has been assigned a value) and false otherwise
-
setSupply_aad_prefixIsSet
public void setSupply_aad_prefixIsSet(boolean value)
-
setFieldValue
public void setFieldValue(AesGcmV1._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<AesGcmV1,AesGcmV1._Fields>
-
getFieldValue
public Object getFieldValue(AesGcmV1._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AesGcmV1,AesGcmV1._Fields>
-
isSet
public boolean isSet(AesGcmV1._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<AesGcmV1,AesGcmV1._Fields>
-
equals
public boolean equals(AesGcmV1 that)
-
compareTo
public int compareTo(AesGcmV1 other)
- Specified by:
compareToin interfaceComparable<AesGcmV1>
-
fieldForId
public AesGcmV1._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AesGcmV1,AesGcmV1._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
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-