com.bigdata.mdi
Class MetadataIndex.PartitionLocatorTupleSerializer

java.lang.Object
  extended by com.bigdata.btree.DefaultTupleSerializer<byte[],PartitionLocator>
      extended by com.bigdata.mdi.MetadataIndex.PartitionLocatorTupleSerializer
All Implemented Interfaces:
ITupleSerializer<byte[],PartitionLocator>, IKeyBuilderFactory, Externalizable, Serializable
Enclosing class:
MetadataIndex

public static class MetadataIndex.PartitionLocatorTupleSerializer
extends DefaultTupleSerializer<byte[],PartitionLocator>

Used to (de-)serialize PartitionLocators in the MetadataIndex.

Version:
$Id: MetadataIndex.java 4582 2011-05-31 19:12:53Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
MetadataIndex.PartitionLocatorTupleSerializer()
          De-serialization ctor only.
MetadataIndex.PartitionLocatorTupleSerializer(IKeyBuilderFactory keyBuilderFactory)
           
 
Method Summary
static MetadataIndex.PartitionLocatorTupleSerializer newInstance()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.bigdata.btree.DefaultTupleSerializer
deserialize, deserializeKey, getDefaultKeyBuilderFactory, getDefaultLeafKeysCoder, getDefaultValuesCoder, getKeyBuilder, getLeafKeysCoder, getLeafValuesCoder, serializeKey, serializeVal, setLeafKeysCoder, setLeafValuesCoder, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetadataIndex.PartitionLocatorTupleSerializer

public MetadataIndex.PartitionLocatorTupleSerializer()
De-serialization ctor only.


MetadataIndex.PartitionLocatorTupleSerializer

public MetadataIndex.PartitionLocatorTupleSerializer(IKeyBuilderFactory keyBuilderFactory)
Parameters:
keyBuilderFactory -
Method Detail

newInstance

public static MetadataIndex.PartitionLocatorTupleSerializer newInstance()

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class DefaultTupleSerializer<byte[],PartitionLocator>
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class DefaultTupleSerializer<byte[],PartitionLocator>
Throws:
IOException


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.