KTypePgmIndex.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | addIntercept(long intercept, IntArrayList segmentData, int
The size of the key, measure in keySize)Integer#BYTES.Adds the intercept of the current segment to the segment data bytes. |
| pack-priv static <KType> void | addKey(KType key, IntArrayList segmentData)
Adds the first key of the current segment to the segment data bytes. |
| pack-priv static void | addKey(int key, IntArrayList segmentData)
Adds the first key of the current segment to the segment data bytes. |
| pack-priv static void | addKey(float key, IntArrayList segmentData)
Adds the first key of the current segment to the segment data bytes. |
| pack-priv static void | addKey(long key, IntArrayList segmentData)
Adds the first key of the current segment to the segment data bytes. |
| pack-priv static void | addKey(double key, IntArrayList segmentData)
Adds the first key of the current segment to the segment data bytes. |
| pack-priv static void | addSlope(double slope, IntArrayList segmentData, int
The size of the key, measure in keySize)Integer#BYTES.Adds the slope of the current segment to the segment data bytes. |
| pack-priv static long | getIntercept(int segmentDataIndex, int[] segmentData, int
The size of the key, measure in keySize)Integer#BYTES.Gets the intercept of the segment at the given data index. |
| pack-priv static <KType> KType | getKey(int segmentDataIndex, int[] segmentData, KType keyType)
Gets the first key of the segment at the given data index. |
| pack-priv static int | getKey(int segmentDataIndex, int[] segmentData, int keyType)
Gets the first key of the segment at the given data index. |
| pack-priv static float | getKey(int segmentDataIndex, int[] segmentData, float keyType)
Gets the first key of the segment at the given data index. |
| pack-priv static long | getKey(int segmentDataIndex, int[] segmentData, long keyType)
Gets the first key of the segment at the given data index. |
| pack-priv static double | getKey(int segmentDataIndex, int[] segmentData, double keyType)
Gets the first key of the segment at the given data index. |
| pack-priv static double | getSlope(int segmentDataIndex, int[] segmentData, int
The size of the key, measure in keySize)Integer#BYTES.Gets the slope of the segment at the given data index. |
| PgmIndexUtil | back to summary |
|---|---|
| pack-priv PgmIndexUtil() | |
| addIntercept | back to summary |
|---|---|
| pack-priv static void addIntercept(long intercept, IntArrayList segmentData, int keySize) Adds the intercept of the current segment to the segment data bytes. The intercept is stored as an int for a key size equal to 1, otherwise it is stored as a long.
| |
| addKey | back to summary |
|---|---|
| pack-priv static <KType> void addKey(KType key, IntArrayList segmentData) Adds the first key of the current segment to the segment data bytes. | |
| addKey | back to summary |
|---|---|
| pack-priv static void addKey(int key, IntArrayList segmentData) Adds the first key of the current segment to the segment data bytes. | |
| addKey | back to summary |
|---|---|
| pack-priv static void addKey(float key, IntArrayList segmentData) Adds the first key of the current segment to the segment data bytes. | |
| addKey | back to summary |
|---|---|
| pack-priv static void addKey(long key, IntArrayList segmentData) Adds the first key of the current segment to the segment data bytes. | |
| addKey | back to summary |
|---|---|
| pack-priv static void addKey(double key, IntArrayList segmentData) Adds the first key of the current segment to the segment data bytes. | |
| addSlope | back to summary |
|---|---|
| pack-priv static void addSlope(double slope, IntArrayList segmentData, int keySize) Adds the slope of the current segment to the segment data bytes. The intercept is stored as a float for a key size equal to 1, otherwise it is stored as a double.
| |
| getIntercept | back to summary |
|---|---|
| pack-priv static long getIntercept(int segmentDataIndex, int[] segmentData, int keySize) Gets the intercept of the segment at the given data index.
| |
| getKey | back to summary |
|---|---|
| pack-priv static <KType> KType getKey(int segmentDataIndex, int[] segmentData, KType keyType) Gets the first key of the segment at the given data index. | |
| getKey | back to summary |
|---|---|
| pack-priv static int getKey(int segmentDataIndex, int[] segmentData, int keyType) Gets the first key of the segment at the given data index. | |
| getKey | back to summary |
|---|---|
| pack-priv static float getKey(int segmentDataIndex, int[] segmentData, float keyType) Gets the first key of the segment at the given data index. | |
| getKey | back to summary |
|---|---|
| pack-priv static long getKey(int segmentDataIndex, int[] segmentData, long keyType) Gets the first key of the segment at the given data index. | |
| getKey | back to summary |
|---|---|
| pack-priv static double getKey(int segmentDataIndex, int[] segmentData, double keyType) Gets the first key of the segment at the given data index. | |
| getSlope | back to summary |
|---|---|
| pack-priv static double getSlope(int segmentDataIndex, int[] segmentData, int keySize) Gets the slope of the segment at the given data index.
| |