com.bigdata.mdi
Class MetadataIndex.MetadataIndexMetadata

java.lang.Object
  extended by com.bigdata.btree.IndexMetadata
      extended by com.bigdata.mdi.MetadataIndex.MetadataIndexMetadata
All Implemented Interfaces:
IKeyBuilderFactory, Externalizable, Serializable, Cloneable
Enclosing class:
MetadataIndex

public static class MetadataIndex.MetadataIndexMetadata
extends IndexMetadata
implements Externalizable

Extends the IndexMetadata record to hold the metadata template for the managed scale-out index.

Version:
$Id: MetadataIndex.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.bigdata.btree.IndexMetadata
IndexMetadata.Options
 
Field Summary
 
Fields inherited from class com.bigdata.btree.IndexMetadata
log
 
Constructor Summary
MetadataIndex.MetadataIndexMetadata()
          De-serialization constructor.
MetadataIndex.MetadataIndexMetadata(String managedIndexName, UUID indexUUID, IndexMetadata managedIndexMetadata)
          First time constructor.
 
Method Summary
 IndexMetadata getManagedIndexMetadata()
          The managed index metadata
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.bigdata.btree.IndexMetadata
clone, firstCheckpoint, getAddressSerializer, getAsynchronousIndexWriteConfiguration, getAsynchronousIndexWriteConfiguration, getBloomFilterFactory, getBranchingFactor, getBTreeClassName, getBtreeRecordCompressorFactory, getCheckpointClassName, getChildLocks, getConflictResolver, getDeleteMarkers, getIndexSegmentBranchingFactor, getIndexSegmentBufferNodes, getIndexSegmentRecordCompressorFactory, getIndexUUID, getInitialDataServiceUUID, getKeyBuilder, getMetadataAddr, getName, getNodeKeySerializer, getOverflowHandler, getPartitionMetadata, getProperty, getProperty, getScatterSplitConfiguration, getSplitHandler, getTupleSerializer, getVersionTimestampFilters, getVersionTimestamps, getWriteRetentionQueueCapacity, getWriteRetentionQueueScan, isIsolatable, newCheckpoint, overflowCheckpoint, read, setAddressSerializer, setBloomFilterFactory, setBranchingFactor, setBTreeClassName, setBtreeRecordCompressorFactory, setCheckpointClassName, setChildLocks, setConflictResolver, setDeleteMarkers, setIndexSegmentBranchingFactor, setIndexSegmentBufferNodes, setIndexSegmentRecordCompressorFactory, setInitialDataServiceUUID, setIsolatable, setNodeKeySerializer, setOverflowHandler, setPartitionMetadata, setScatterSplitConfiguration, setSplitHandler, setTupleSerializer, setVersionTimestampFilters, setVersionTimestamps, setWriteRetentionQueueCapacity, setWriteRetentionQueueScan, toString, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetadataIndex.MetadataIndexMetadata

public MetadataIndex.MetadataIndexMetadata()
De-serialization constructor.


MetadataIndex.MetadataIndexMetadata

public MetadataIndex.MetadataIndexMetadata(String managedIndexName,
                                           UUID indexUUID,
                                           IndexMetadata managedIndexMetadata)
First time constructor.

Parameters:
name - The name of the managed index. The name of the metadata index is given by MetadataService.getMetadataIndexName(String)
indexUUID - The UUID of the metadata index.
managedIndexMetadata - The metadata template for the managed index.
Method Detail

getManagedIndexMetadata

public final IndexMetadata getManagedIndexMetadata()
The managed index metadata


readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class IndexMetadata
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class IndexMetadata
Throws:
IOException


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