Package org.apache.parquet.format
Class PageLocation
java.lang.Object
org.apache.parquet.format.PageLocation
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PageLocation>,org.apache.thrift.TBase<PageLocation,,PageLocation._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.23.0)",
date="2026-08-06")
public class PageLocation
extends Object
implements org.apache.thrift.TBase<PageLocation,PageLocation._Fields>, Serializable, Cloneable, Comparable<PageLocation>
- 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 TypeFieldDescriptionintSize of the page, including header.longIndex within the RowGroup of the first row of the page.static final Map<PageLocation._Fields,org.apache.thrift.meta_data.FieldMetaData> longOffset of the page in the file * -
Constructor Summary
ConstructorsConstructorDescriptionPageLocation(long offset, int compressed_page_size, long first_row_index) PageLocation(PageLocation other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(PageLocation other) deepCopy()booleanbooleanequals(PageLocation that) fieldForId(int fieldId) intSize of the page, including header.longIndex within the RowGroup of the first row of the page.longOffset of the page in the file *inthashCode()booleanisSet(PageLocation._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field compressed_page_size is set (has been assigned a value) and false otherwisebooleanReturns true if field first_row_index is set (has been assigned a value) and false otherwisebooleanReturns true if field offset is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCompressed_page_size(int compressed_page_size) Size of the page, including header.voidsetCompressed_page_sizeIsSet(boolean value) voidsetFieldValue(PageLocation._Fields field, Object value) setFirst_row_index(long first_row_index) Index within the RowGroup of the first row of the page.voidsetFirst_row_indexIsSet(boolean value) setOffset(long offset) Offset of the page in the file *voidsetOffsetIsSet(boolean value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
offset
public long offsetOffset of the page in the file * -
compressed_page_size
public int compressed_page_sizeSize of the page, including header. Equal to the sum of the page's PageHeader.compressed_page_size and the size of the serialized PageHeader. -
first_row_index
public long first_row_indexIndex within the RowGroup of the first row of the page. When an OffsetIndex is present, pages must begin on row boundaries (repetition_level = 0). -
metaDataMap
-
-
Constructor Details
-
PageLocation
public PageLocation() -
PageLocation
public PageLocation(long offset, int compressed_page_size, long first_row_index) -
PageLocation
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PageLocation,PageLocation._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PageLocation,PageLocation._Fields>
-
getOffset
public long getOffset()Offset of the page in the file * -
setOffset
Offset of the page in the file * -
unsetOffset
public void unsetOffset() -
isSetOffset
public boolean isSetOffset()Returns true if field offset is set (has been assigned a value) and false otherwise -
setOffsetIsSet
public void setOffsetIsSet(boolean value) -
getCompressed_page_size
public int getCompressed_page_size()Size of the page, including header. Equal to the sum of the page's PageHeader.compressed_page_size and the size of the serialized PageHeader. -
setCompressed_page_size
Size of the page, including header. Equal to the sum of the page's PageHeader.compressed_page_size and the size of the serialized PageHeader. -
unsetCompressed_page_size
public void unsetCompressed_page_size() -
isSetCompressed_page_size
public boolean isSetCompressed_page_size()Returns true if field compressed_page_size is set (has been assigned a value) and false otherwise -
setCompressed_page_sizeIsSet
public void setCompressed_page_sizeIsSet(boolean value) -
getFirst_row_index
public long getFirst_row_index()Index within the RowGroup of the first row of the page. When an OffsetIndex is present, pages must begin on row boundaries (repetition_level = 0). -
setFirst_row_index
Index within the RowGroup of the first row of the page. When an OffsetIndex is present, pages must begin on row boundaries (repetition_level = 0). -
unsetFirst_row_index
public void unsetFirst_row_index() -
isSetFirst_row_index
public boolean isSetFirst_row_index()Returns true if field first_row_index is set (has been assigned a value) and false otherwise -
setFirst_row_indexIsSet
public void setFirst_row_indexIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PageLocation,PageLocation._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PageLocation,PageLocation._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<PageLocation,PageLocation._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PageLocation>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PageLocation,PageLocation._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
-