public final class SortedPositionLinks extends Object implements PositionLinks
| Modifier and Type | Class and Description |
|---|---|
static class |
SortedPositionLinks.FactoryBuilder |
PositionLinks.Factory| Modifier and Type | Method and Description |
|---|---|
static SortedPositionLinks.FactoryBuilder |
builder(int size,
PagesHashStrategy pagesHashStrategy,
it.unimi.dsi.fastutil.longs.LongArrayList addresses) |
long |
getSizeInBytes() |
int |
next(int position,
int probePosition,
Page allProbeChannelsPage)
Iterate over position links.
|
int |
start(int startingPosition,
int probePosition,
Page allProbeChannelsPage)
Initialize iteration over position links.
|
public static SortedPositionLinks.FactoryBuilder builder(int size, PagesHashStrategy pagesHashStrategy, it.unimi.dsi.fastutil.longs.LongArrayList addresses)
public int next(int position,
int probePosition,
Page allProbeChannelsPage)
PositionLinksnext in interface PositionLinkspublic int start(int startingPosition,
int probePosition,
Page allProbeChannelsPage)
PositionLinksWhen there are no more position -1 is returned
start in interface PositionLinkspublic long getSizeInBytes()
getSizeInBytes in interface PositionLinksCopyright © 2012–2019. All rights reserved.