com.bigdata.btree
Class ScatterSplitConfiguration

java.lang.Object
  extended by com.bigdata.btree.ScatterSplitConfiguration
All Implemented Interfaces:
Externalizable, Serializable

public class ScatterSplitConfiguration
extends Object
implements Externalizable

Configuration object for scatter split behavior for a scale-out index.

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

Constructor Summary
ScatterSplitConfiguration()
          De-serialization ctor.
ScatterSplitConfiguration(boolean enabled, double percentOfSplitThreshold, int dataServiceCount, int indexPartitionCount)
          Core impl.
 
Method Summary
 int getDataServiceCount()
           
 int getIndexPartitionCount()
           
 double getPercentOfSplitThreshold()
           
 boolean isEnabled()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScatterSplitConfiguration

public ScatterSplitConfiguration()
De-serialization ctor.


ScatterSplitConfiguration

public ScatterSplitConfiguration(boolean enabled,
                                 double percentOfSplitThreshold,
                                 int dataServiceCount,
                                 int indexPartitionCount)
Core impl.

Parameters:
enabled -
percentOfSplitThreshold -
dataServiceCount -
indexPartitionCount -
Method Detail

isEnabled

public boolean isEnabled()
See Also:
IndexMetadata.Options.SCATTER_SPLIT_ENABLED

getDataServiceCount

public int getDataServiceCount()
See Also:
IndexMetadata.Options.SCATTER_SPLIT_DATA_SERVICE_COUNT

getIndexPartitionCount

public int getIndexPartitionCount()
See Also:
IndexMetadata.Options.SCATTER_SPLIT_INDEX_PARTITION_COUNT

getPercentOfSplitThreshold

public double getPercentOfSplitThreshold()
See Also:
IndexMetadata.Options.SCATTER_SPLIT_PERCENT_OF_SPLIT_THRESHOLD

toString

public String toString()
Overrides:
toString in class Object

readExternal

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

writeExternal

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


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