public class IVDocIdExtension extends Object implements IKeyBuilderExtension<IV>
IV
s in the
FullTextIndex
.Constructor and Description |
---|
IVDocIdExtension() |
Modifier and Type | Method and Description |
---|---|
int |
byteLength(IV obj)
Return as-encoded byte length of an object.
|
IV |
decode(byte[] key,
int off)
Decode an object from an unsigned byte[] key.
|
void |
encode(IKeyBuilder keyBuilder,
IV obj)
Encode the object.
|
public int byteLength(IV obj)
IKeyBuilderExtension
byteLength
in interface IKeyBuilderExtension<IV>
obj
- The object.public IV decode(byte[] key, int off)
IKeyBuilderExtension
decode
in interface IKeyBuilderExtension<IV>
key
- The key.off
- The offset of the start of the encoded object.public void encode(IKeyBuilder keyBuilder, IV obj)
IKeyBuilderExtension
encode
in interface IKeyBuilderExtension<IV>
keyBuilder
- The object being used to encode the key.obj
- The object to be encoded.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.