| Package | Description |
|---|---|
| org.apache.jena.dboe.base.buffer | |
| org.apache.jena.dboe.base.record | |
| org.apache.jena.dboe.base.recordbuffer | |
| org.apache.jena.dboe.test |
| Modifier and Type | Method and Description |
|---|---|
Record |
RecordBuffer._get(int idx) |
Record |
RecordBuffer.findGet(Record k) |
Record |
RecordBuffer.get(int idx) |
Record |
RecordBuffer.getHigh() |
Record |
RecordBuffer.getLow() |
Record |
RecordBufferIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Record> |
RecordBuffer.iterator() |
Iterator<Record> |
RecordBuffer.iterator(Record min,
Record max)
Iterator over a range from min (inclusive) to max(exclusive)
|
| Modifier and Type | Method and Description |
|---|---|
void |
RecordBuffer.add(int idx,
Record record) |
void |
RecordBuffer.add(Record record) |
int |
RecordBuffer.find(Record k) |
int |
RecordBuffer.find(Record rec,
int fromIndex,
int toIndex)
Search for key in range fromIndex (inclusive) to toIndex (exclusive)
|
Record |
RecordBuffer.findGet(Record k) |
Iterator<Record> |
RecordBuffer.iterator(Record min,
Record max)
Iterator over a range from min (inclusive) to max(exclusive)
|
<X> Iterator<X> |
RecordBuffer.iterator(Record min,
Record max,
RecordMapper<X> mapper) |
boolean |
RecordBuffer.removeByKey(Record k)
return true is removed anything
|
void |
RecordBuffer.set(int idx,
Record record) |
| Modifier and Type | Field and Description |
|---|---|
static Record |
Record.NO_REC |
| Modifier and Type | Field and Description |
|---|---|
static RecordMapper<Record> |
RecordFactory.mapperRecord |
| Modifier and Type | Method and Description |
|---|---|
Record |
RecordFactory.buildFrom(ByteBuffer bb,
int idx) |
Record |
RecordFactory.create()
Create a record, allocating space for the key and value (if any)
|
Record |
RecordFactory.create(byte[] key)
Create a key and value record (value uninitialized)
|
Record |
RecordFactory.create(byte[] key,
byte[] value)
Create a key and value record
|
Record |
RecordFactory.createKeyOnly()
Create a key-only record, allocating blank space for the key
|
Record |
RecordFactory.createKeyOnly(Record record)
Create a key-only record
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Record.compareByKey(Record record1,
Record record2) |
static int |
Record.compareByKeyValue(Record record1,
Record record2) |
Record |
RecordFactory.createKeyOnly(Record record)
Create a key-only record
|
static boolean |
Record.equals(Record record1,
Record record2)
Is (key, value) of record1 equal to (key,value) of record2
|
void |
RecordFactory.insertInto(Record record,
ByteBuffer bb,
int idx) |
static boolean |
Record.keyEQ(Record record1,
Record record2)
Is the key of record1 == key of record2
|
static boolean |
Record.keyGE(Record record1,
Record record2)
Is the key of record1 >= key of record2
|
static boolean |
Record.keyGT(Record record1,
Record record2)
Is the key of record1 > key of record2
|
static boolean |
Record.keyLE(Record record1,
Record record2)
Is the key of record1 <= key of record2
|
static boolean |
Record.keyLT(Record record1,
Record record2)
Is the key of record1 < key of record2
|
static boolean |
Record.keyNE(Record record1,
Record record2)
Is the key of record1 != key of record2
|
| Modifier and Type | Method and Description |
|---|---|
static <X> Iterator<X> |
RecordRangeIterator.iterator(int pageId,
Record fromRec,
Record toRec,
RecordBufferPageMgr pageMgr,
RecordMapper<X> mapper)
Iterate over a range of fromRec (inclusive) to toRec (exclusive)
|
| Modifier and Type | Method and Description |
|---|---|
static Record |
RecordLib.intToRecord(int v) |
static Record |
RecordLib.intToRecord(int v,
int recLen) |
static Record |
RecordLib.intToRecord(int v,
RecordFactory factory) |
static Record |
RecordLib.r(int v) |
| Modifier and Type | Method and Description |
|---|---|
static List<Record> |
RecordLib.intToRecord(int[] v) |
static List<Record> |
RecordLib.intToRecord(int[] v,
int recLen) |
| Modifier and Type | Method and Description |
|---|---|
static int |
RecordLib.r(Record rec) |
static int |
RecordLib.recordToInt(Record key) |
| Modifier and Type | Method and Description |
|---|---|
static List<Integer> |
RecordLib.r(Iterator<Record> iter) |
static List<Integer> |
RecordLib.toIntList(Iterator<Record> iter) |
Licensed under the Apache License, Version 2.0