protected static class EventReceiver.EventBTree.EventBTreeTupleSerializer extends DefaultTupleSerializer<Long,CommitRecordIndex.Entry>
EventReceiver.EventBTree
.Constructor and Description |
---|
EventReceiver.EventBTree.EventBTreeTupleSerializer()
De-serialization ctor.
|
EventReceiver.EventBTree.EventBTreeTupleSerializer(IKeyBuilderFactory keyBuilderFactory)
Ctor when creating a new instance.
|
Modifier and Type | Method and Description |
---|---|
Long |
deserializeKey(ITuple tuple)
Decodes the key as a timestamp.
|
byte[] |
serializeKey(Object obj)
Return the unsigned byte[] key for a timestamp.
|
deserialize, getDefaultKeyBuilderFactory, getDefaultLeafKeysCoder, getDefaultValuesCoder, getKeyBuilder, getLeafKeysCoder, getLeafValuesCoder, getPrimaryKeyBuilder, newInstance, readExternal, serializeVal, setLeafKeysCoder, setLeafValuesCoder, toString, writeExternal
public EventReceiver.EventBTree.EventBTreeTupleSerializer()
public EventReceiver.EventBTree.EventBTreeTupleSerializer(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 timestamp.null
(
null
keys are not allowed into an index).Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.