java.lang.Object
org.apache.jena.tdb1.base.record.RecordFactory
Record creator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildFrom(ByteBuffer bb, int idx) create()Create a record, allocating space for the key and value (if any)create(byte[] key) Create a key and value record (value uninitialized)create(byte[] key, byte[] value) Create a key and value recordCreate a key-only record, allocating blank space for the keycreateKeyOnly(Record record) Create a key-only recordbooleanhasValue()voidinsertInto(Record record, ByteBuffer bb, int idx) Return a RecordFactory that makes key-only records of the same key sizeintinttoString()int
-
Constructor Details
-
RecordFactory
public RecordFactory(int keyLength, int valueLength)
-
-
Method Details
-
keyFactory
Return a RecordFactory that makes key-only records of the same key size -
createKeyOnly
Create a key-only record, allocating blank space for the key -
createKeyOnly
Create a key-only record -
create
Create a key and value record (value uninitialized) -
create
Create a record, allocating space for the key and value (if any) -
create
Create a key and value record -
insertInto
-
buildFrom
-
hasValue
public boolean hasValue() -
recordLength
public int recordLength() -
keyLength
public int keyLength() -
valueLength
public int valueLength() -
toString
-