public abstract class AOffset extends Object
| Constructor and Description | 
|---|
| AOffset() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract long | getExactSizeOnDisk()Remember to include the ordinal of the type of offset list. | 
| abstract long | getInMemorySize()Get the in memory size of the Offset object | 
| abstract AIterator | getIterator()Get an iterator of the offsets. | 
| AIterator | getIterator(int row)Get an iterator that is pointing at a specific offset. | 
| abstract int | getSize()Get the number of contained elements, This method iterate the entire offset list, so it is not constant lookup. | 
| String | toString() | 
| abstract void | write(DataOutput out)Write the offsets to disk. | 
public abstract AIterator getIterator()
public AIterator getIterator(int row)
row - The row requested.public abstract void write(DataOutput out) throws IOException
out - The output to write toIOException - Exception that happens if the IO fails to write.public abstract long getInMemorySize()
public abstract long getExactSizeOnDisk()
public abstract int getSize()
Copyright © 2021 The Apache Software Foundation. All rights reserved.