@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2024-10-26") public class ColumnChunk extends Object implements org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>, Serializable, Cloneable, Comparable<ColumnChunk>
Modifier and Type | Class and Description |
---|---|
static class |
ColumnChunk._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
int |
column_index_length
Size of ColumnChunk's ColumnIndex, in bytes *
|
long |
column_index_offset
File offset of ColumnChunk's ColumnIndex *
|
ColumnCryptoMetaData |
crypto_metadata
Crypto metadata of encrypted columns *
|
ByteBuffer |
encrypted_column_metadata
Encrypted column metadata for this chunk *
|
long |
file_offset
Byte offset in file_path to the ColumnMetaData *
|
String |
file_path
File where column data is stored.
|
ColumnMetaData |
meta_data
Column metadata for this chunk.
|
static Map<ColumnChunk._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
offset_index_length
Size of ColumnChunk's OffsetIndex, in bytes *
|
long |
offset_index_offset
File offset of ColumnChunk's OffsetIndex *
|
Constructor and Description |
---|
ColumnChunk() |
ColumnChunk(ColumnChunk other)
Performs a deep copy on other.
|
ColumnChunk(long file_offset) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForEncrypted_column_metadata() |
void |
clear() |
int |
compareTo(ColumnChunk other) |
ColumnChunk |
deepCopy() |
boolean |
equals(ColumnChunk that) |
boolean |
equals(Object that) |
ColumnChunk._Fields |
fieldForId(int fieldId) |
int |
getColumn_index_length()
Size of ColumnChunk's ColumnIndex, in bytes *
|
long |
getColumn_index_offset()
File offset of ColumnChunk's ColumnIndex *
|
ColumnCryptoMetaData |
getCrypto_metadata()
Crypto metadata of encrypted columns *
|
byte[] |
getEncrypted_column_metadata()
Encrypted column metadata for this chunk *
|
Object |
getFieldValue(ColumnChunk._Fields field) |
long |
getFile_offset()
Byte offset in file_path to the ColumnMetaData *
|
String |
getFile_path()
File where column data is stored.
|
ColumnMetaData |
getMeta_data()
Column metadata for this chunk.
|
int |
getOffset_index_length()
Size of ColumnChunk's OffsetIndex, in bytes *
|
long |
getOffset_index_offset()
File offset of ColumnChunk's OffsetIndex *
|
int |
hashCode() |
boolean |
isSet(ColumnChunk._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumn_index_length()
Returns true if field column_index_length is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumn_index_offset()
Returns true if field column_index_offset is set (has been assigned a value) and false otherwise
|
boolean |
isSetCrypto_metadata()
Returns true if field crypto_metadata is set (has been assigned a value) and false otherwise
|
boolean |
isSetEncrypted_column_metadata()
Returns true if field encrypted_column_metadata is set (has been assigned a value) and false otherwise
|
boolean |
isSetFile_offset()
Returns true if field file_offset is set (has been assigned a value) and false otherwise
|
boolean |
isSetFile_path()
Returns true if field file_path is set (has been assigned a value) and false otherwise
|
boolean |
isSetMeta_data()
Returns true if field meta_data is set (has been assigned a value) and false otherwise
|
boolean |
isSetOffset_index_length()
Returns true if field offset_index_length is set (has been assigned a value) and false otherwise
|
boolean |
isSetOffset_index_offset()
Returns true if field offset_index_offset is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ColumnChunk |
setColumn_index_length(int column_index_length)
Size of ColumnChunk's ColumnIndex, in bytes *
|
void |
setColumn_index_lengthIsSet(boolean value) |
ColumnChunk |
setColumn_index_offset(long column_index_offset)
File offset of ColumnChunk's ColumnIndex *
|
void |
setColumn_index_offsetIsSet(boolean value) |
ColumnChunk |
setCrypto_metadata(ColumnCryptoMetaData crypto_metadata)
Crypto metadata of encrypted columns *
|
void |
setCrypto_metadataIsSet(boolean value) |
ColumnChunk |
setEncrypted_column_metadata(byte[] encrypted_column_metadata)
Encrypted column metadata for this chunk *
|
ColumnChunk |
setEncrypted_column_metadata(ByteBuffer encrypted_column_metadata) |
void |
setEncrypted_column_metadataIsSet(boolean value) |
void |
setFieldValue(ColumnChunk._Fields field,
Object value) |
ColumnChunk |
setFile_offset(long file_offset)
Byte offset in file_path to the ColumnMetaData *
|
void |
setFile_offsetIsSet(boolean value) |
ColumnChunk |
setFile_path(String file_path)
File where column data is stored.
|
void |
setFile_pathIsSet(boolean value) |
ColumnChunk |
setMeta_data(ColumnMetaData meta_data)
Column metadata for this chunk.
|
void |
setMeta_dataIsSet(boolean value) |
ColumnChunk |
setOffset_index_length(int offset_index_length)
Size of ColumnChunk's OffsetIndex, in bytes *
|
void |
setOffset_index_lengthIsSet(boolean value) |
ColumnChunk |
setOffset_index_offset(long offset_index_offset)
File offset of ColumnChunk's OffsetIndex *
|
void |
setOffset_index_offsetIsSet(boolean value) |
String |
toString() |
void |
unsetColumn_index_length() |
void |
unsetColumn_index_offset() |
void |
unsetCrypto_metadata() |
void |
unsetEncrypted_column_metadata() |
void |
unsetFile_offset() |
void |
unsetFile_path() |
void |
unsetMeta_data() |
void |
unsetOffset_index_length() |
void |
unsetOffset_index_offset() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String file_path
public long file_offset
public ColumnMetaData meta_data
public long offset_index_offset
public int offset_index_length
public long column_index_offset
public int column_index_length
public ColumnCryptoMetaData crypto_metadata
public ByteBuffer encrypted_column_metadata
public static final Map<ColumnChunk._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ColumnChunk()
public ColumnChunk(long file_offset)
public ColumnChunk(ColumnChunk other)
public ColumnChunk deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public String getFile_path()
public ColumnChunk setFile_path(String file_path)
public void unsetFile_path()
public boolean isSetFile_path()
public void setFile_pathIsSet(boolean value)
public long getFile_offset()
public ColumnChunk setFile_offset(long file_offset)
public void unsetFile_offset()
public boolean isSetFile_offset()
public void setFile_offsetIsSet(boolean value)
public ColumnMetaData getMeta_data()
public ColumnChunk setMeta_data(ColumnMetaData meta_data)
public void unsetMeta_data()
public boolean isSetMeta_data()
public void setMeta_dataIsSet(boolean value)
public long getOffset_index_offset()
public ColumnChunk setOffset_index_offset(long offset_index_offset)
public void unsetOffset_index_offset()
public boolean isSetOffset_index_offset()
public void setOffset_index_offsetIsSet(boolean value)
public int getOffset_index_length()
public ColumnChunk setOffset_index_length(int offset_index_length)
public void unsetOffset_index_length()
public boolean isSetOffset_index_length()
public void setOffset_index_lengthIsSet(boolean value)
public long getColumn_index_offset()
public ColumnChunk setColumn_index_offset(long column_index_offset)
public void unsetColumn_index_offset()
public boolean isSetColumn_index_offset()
public void setColumn_index_offsetIsSet(boolean value)
public int getColumn_index_length()
public ColumnChunk setColumn_index_length(int column_index_length)
public void unsetColumn_index_length()
public boolean isSetColumn_index_length()
public void setColumn_index_lengthIsSet(boolean value)
public ColumnCryptoMetaData getCrypto_metadata()
public ColumnChunk setCrypto_metadata(ColumnCryptoMetaData crypto_metadata)
public void unsetCrypto_metadata()
public boolean isSetCrypto_metadata()
public void setCrypto_metadataIsSet(boolean value)
public byte[] getEncrypted_column_metadata()
public ByteBuffer bufferForEncrypted_column_metadata()
public ColumnChunk setEncrypted_column_metadata(byte[] encrypted_column_metadata)
public ColumnChunk setEncrypted_column_metadata(ByteBuffer encrypted_column_metadata)
public void unsetEncrypted_column_metadata()
public boolean isSetEncrypted_column_metadata()
public void setEncrypted_column_metadataIsSet(boolean value)
public void setFieldValue(ColumnChunk._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public Object getFieldValue(ColumnChunk._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public boolean isSet(ColumnChunk._Fields field)
isSet
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public boolean equals(ColumnChunk that)
public int compareTo(ColumnChunk other)
compareTo
in interface Comparable<ColumnChunk>
public ColumnChunk._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._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.