@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2024-11-16") public class PageLocation extends Object implements org.apache.thrift.TBase<PageLocation,PageLocation._Fields>, Serializable, Cloneable, Comparable<PageLocation>
Modifier and Type | Class and Description |
---|---|
static class |
PageLocation._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
int |
compressed_page_size
Size of the page, including header.
|
long |
first_row_index
Index within the RowGroup of the first row of the page; this means pages
change on record boundaries (r = 0).
|
static Map<PageLocation._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
offset
Offset of the page in the file *
|
Constructor and Description |
---|
PageLocation() |
PageLocation(long offset,
int compressed_page_size,
long first_row_index) |
PageLocation(PageLocation other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(PageLocation other) |
PageLocation |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PageLocation that) |
PageLocation._Fields |
fieldForId(int fieldId) |
int |
getCompressed_page_size()
Size of the page, including header.
|
Object |
getFieldValue(PageLocation._Fields field) |
long |
getFirst_row_index()
Index within the RowGroup of the first row of the page; this means pages
change on record boundaries (r = 0).
|
long |
getOffset()
Offset of the page in the file *
|
int |
hashCode() |
boolean |
isSet(PageLocation._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCompressed_page_size()
Returns true if field compressed_page_size is set (has been assigned a value) and false otherwise
|
boolean |
isSetFirst_row_index()
Returns true if field first_row_index is set (has been assigned a value) and false otherwise
|
boolean |
isSetOffset()
Returns true if field offset is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
PageLocation |
setCompressed_page_size(int compressed_page_size)
Size of the page, including header.
|
void |
setCompressed_page_sizeIsSet(boolean value) |
void |
setFieldValue(PageLocation._Fields field,
Object value) |
PageLocation |
setFirst_row_index(long first_row_index)
Index within the RowGroup of the first row of the page; this means pages
change on record boundaries (r = 0).
|
void |
setFirst_row_indexIsSet(boolean value) |
PageLocation |
setOffset(long offset)
Offset of the page in the file *
|
void |
setOffsetIsSet(boolean value) |
String |
toString() |
void |
unsetCompressed_page_size() |
void |
unsetFirst_row_index() |
void |
unsetOffset() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long offset
public int compressed_page_size
public long first_row_index
public static final Map<PageLocation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PageLocation()
public PageLocation(long offset, int compressed_page_size, long first_row_index)
public PageLocation(PageLocation other)
public PageLocation deepCopy()
deepCopy
in interface org.apache.thrift.TBase<PageLocation,PageLocation._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<PageLocation,PageLocation._Fields>
public long getOffset()
public PageLocation setOffset(long offset)
public void unsetOffset()
public boolean isSetOffset()
public void setOffsetIsSet(boolean value)
public int getCompressed_page_size()
public PageLocation setCompressed_page_size(int compressed_page_size)
public void unsetCompressed_page_size()
public boolean isSetCompressed_page_size()
public void setCompressed_page_sizeIsSet(boolean value)
public long getFirst_row_index()
public PageLocation setFirst_row_index(long first_row_index)
public void unsetFirst_row_index()
public boolean isSetFirst_row_index()
public void setFirst_row_indexIsSet(boolean value)
public void setFieldValue(PageLocation._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<PageLocation,PageLocation._Fields>
public Object getFieldValue(PageLocation._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<PageLocation,PageLocation._Fields>
public boolean isSet(PageLocation._Fields field)
isSet
in interface org.apache.thrift.TBase<PageLocation,PageLocation._Fields>
public boolean equals(PageLocation that)
public int compareTo(PageLocation other)
compareTo
in interface Comparable<PageLocation>
public PageLocation._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<PageLocation,PageLocation._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.