public static class CommitRecordIndex.CommitRecordIndexTupleSerializer extends DefaultTupleSerializer<Long,CommitRecordIndex.Entry>
CommitRecordIndex.| Constructor and Description | 
|---|
| CommitRecordIndex.CommitRecordIndexTupleSerializer()De-serialization ctor. | 
| CommitRecordIndex.CommitRecordIndexTupleSerializer(IKeyBuilderFactory keyBuilderFactory)Ctor when creating a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| CommitRecordIndex.Entry | deserialize(ITuple tuple)De-serializes an object from the  valuestored
 in the tuple (ignores the key stored in the tuple). | 
| Long | deserializeKey(ITuple tuple)Decodes the key as a commit time. | 
| void | readExternal(ObjectInput in) | 
| byte[] | serializeKey(Object obj)Return the unsigned byte[] key for a commit time. | 
| byte[] | serializeVal(CommitRecordIndex.Entry entry)Return the byte[] value an  CommitRecordIndex.Entry. | 
| void | writeExternal(ObjectOutput out) | 
getDefaultKeyBuilderFactory, getDefaultLeafKeysCoder, getDefaultValuesCoder, getKeyBuilder, getLeafKeysCoder, getLeafValuesCoder, getPrimaryKeyBuilder, newInstance, setLeafKeysCoder, setLeafValuesCoder, toStringpublic CommitRecordIndex.CommitRecordIndexTupleSerializer()
public CommitRecordIndex.CommitRecordIndexTupleSerializer(IKeyBuilderFactory keyBuilderFactory)
keyBuilderFactory - public Long deserializeKey(ITuple tuple)
deserializeKey in interface ITupleSerializer<Long,CommitRecordIndex.Entry>deserializeKey in class DefaultTupleSerializer<Long,CommitRecordIndex.Entry>public byte[] serializeKey(Object obj)
serializeKey in interface ITupleSerializer<Long,CommitRecordIndex.Entry>serializeKey in class DefaultTupleSerializer<Long,CommitRecordIndex.Entry>obj - A commit time.null (
         null keys are not allowed into an index).public byte[] serializeVal(CommitRecordIndex.Entry entry)
CommitRecordIndex.Entry.serializeVal in interface ITupleSerializer<Long,CommitRecordIndex.Entry>serializeVal in class DefaultTupleSerializer<Long,CommitRecordIndex.Entry>entry - An Entry.null if the reference is null.public CommitRecordIndex.Entry deserialize(ITuple tuple)
DefaultTupleSerializervalue stored
 in the tuple (ignores the key stored in the tuple).deserialize in interface ITupleSerializer<Long,CommitRecordIndex.Entry>deserialize in class DefaultTupleSerializer<Long,CommitRecordIndex.Entry>tuple - The tuple.public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class DefaultTupleSerializer<Long,CommitRecordIndex.Entry>IOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class DefaultTupleSerializer<Long,CommitRecordIndex.Entry>IOExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.