@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2024-11-16") public class OffsetIndex extends Object implements org.apache.thrift.TBase<OffsetIndex,OffsetIndex._Fields>, Serializable, Cloneable, Comparable<OffsetIndex>
Modifier and Type | Class and Description |
---|---|
static class |
OffsetIndex._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<OffsetIndex._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<PageLocation> |
page_locations
PageLocations, ordered by increasing PageLocation.offset.
|
Constructor and Description |
---|
OffsetIndex() |
OffsetIndex(List<PageLocation> page_locations) |
OffsetIndex(OffsetIndex other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToPage_locations(PageLocation elem) |
void |
clear() |
int |
compareTo(OffsetIndex other) |
OffsetIndex |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(OffsetIndex that) |
OffsetIndex._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(OffsetIndex._Fields field) |
List<PageLocation> |
getPage_locations()
PageLocations, ordered by increasing PageLocation.offset.
|
Iterator<PageLocation> |
getPage_locationsIterator() |
int |
getPage_locationsSize() |
int |
hashCode() |
boolean |
isSet(OffsetIndex._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPage_locations()
Returns true if field page_locations is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(OffsetIndex._Fields field,
Object value) |
OffsetIndex |
setPage_locations(List<PageLocation> page_locations)
PageLocations, ordered by increasing PageLocation.offset.
|
void |
setPage_locationsIsSet(boolean value) |
String |
toString() |
void |
unsetPage_locations() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public List<PageLocation> page_locations
public static final Map<OffsetIndex._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public OffsetIndex()
public OffsetIndex(List<PageLocation> page_locations)
public OffsetIndex(OffsetIndex other)
public OffsetIndex deepCopy()
deepCopy
in interface org.apache.thrift.TBase<OffsetIndex,OffsetIndex._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<OffsetIndex,OffsetIndex._Fields>
public int getPage_locationsSize()
public Iterator<PageLocation> getPage_locationsIterator()
public void addToPage_locations(PageLocation elem)
public List<PageLocation> getPage_locations()
public OffsetIndex setPage_locations(List<PageLocation> page_locations)
public void unsetPage_locations()
public boolean isSetPage_locations()
public void setPage_locationsIsSet(boolean value)
public void setFieldValue(OffsetIndex._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<OffsetIndex,OffsetIndex._Fields>
public Object getFieldValue(OffsetIndex._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<OffsetIndex,OffsetIndex._Fields>
public boolean isSet(OffsetIndex._Fields field)
isSet
in interface org.apache.thrift.TBase<OffsetIndex,OffsetIndex._Fields>
public boolean equals(OffsetIndex that)
public int compareTo(OffsetIndex other)
compareTo
in interface Comparable<OffsetIndex>
public OffsetIndex._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<OffsetIndex,OffsetIndex._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.