public final class BPlusTreeParams extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NoParent |
static String |
NS |
static String |
ParamBlockSize |
static String |
ParamKeyLength |
static String |
ParamOrder |
static String |
ParamValueLength |
static int |
RootId |
static int |
RootParent |
static int |
UnsetParent |
| Constructor and Description |
|---|
BPlusTreeParams(int order,
int keyLen,
int valLen) |
BPlusTreeParams(int order,
org.apache.jena.dboe.base.record.RecordFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToMetaData(org.apache.jena.dboe.base.file.MetaFile mf) |
static int |
calcBlockSize(int bpTreeOrder,
org.apache.jena.dboe.base.record.RecordFactory factory)
return the size of a block
|
static int |
calcOrder(int blockSize,
int recordLength)
Return the best fit for the blocksize and the record length.
|
static int |
calcOrder(int blockSize,
org.apache.jena.dboe.base.record.RecordFactory factory)
Return the best fit for the blocksize and the record length.
|
int |
getCalcBlockSize() |
org.apache.jena.dboe.base.record.RecordFactory |
getKeyFactory() |
int |
getKeyLength() |
int |
getMaxPtr() |
int |
getMaxRec() |
int |
getMinPtr() |
int |
getMinRec() |
int |
getOrder() |
int |
getPtrLength() |
org.apache.jena.dboe.base.record.RecordFactory |
getRecordFactory() |
int |
getRecordLength() |
static BPlusTreeParams |
readMeta(org.apache.jena.dboe.base.file.MetaFile mf) |
String |
toString() |
public static final String NS
public static final String ParamOrder
public static final String ParamKeyLength
public static final String ParamValueLength
public static final String ParamBlockSize
public static final int RootId
public static final int RootParent
public static final int NoParent
public static final int UnsetParent
public BPlusTreeParams(int order,
int keyLen,
int valLen)
public BPlusTreeParams(int order,
org.apache.jena.dboe.base.record.RecordFactory factory)
public static BPlusTreeParams readMeta(org.apache.jena.dboe.base.file.MetaFile mf)
public void addToMetaData(org.apache.jena.dboe.base.file.MetaFile mf)
public int getOrder()
public int getPtrLength()
public int getRecordLength()
public org.apache.jena.dboe.base.record.RecordFactory getRecordFactory()
public int getKeyLength()
public org.apache.jena.dboe.base.record.RecordFactory getKeyFactory()
public int getCalcBlockSize()
public static int calcOrder(int blockSize,
org.apache.jena.dboe.base.record.RecordFactory factory)
public static int calcOrder(int blockSize,
int recordLength)
public static int calcBlockSize(int bpTreeOrder,
org.apache.jena.dboe.base.record.RecordFactory factory)
public int getMaxRec()
public int getMaxPtr()
public int getMinRec()
public int getMinPtr()
Licensed under the Apache License, Version 2.0