public class FrameFileFooter extends Object
FrameFile.| Constructor and Description |
|---|
FrameFileFooter(org.apache.datasketches.memory.Memory footerMemory,
long frameFileLength) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFrameEndPosition(int frameNumber)
Get the last byte for the frame specified.
|
int |
getNumFrames() |
int |
getNumPartitions() |
int |
getPartitionStartFrame(int partition)
First frame of a given partition.
|
public int getPartitionStartFrame(int partition)
getNumPartitions() are treated as empty: if provided,
this method returns getNumFrames().public long getFrameEndPosition(int frameNumber)
frameNumber - the id of the frame to get the end position forpublic int getNumFrames()
public int getNumPartitions()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.