com.bigdata.btree
Class ScatterSplitConfiguration
java.lang.Object
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
ScatterSplitConfiguration
public ScatterSplitConfiguration()
- De-serialization ctor.
ScatterSplitConfiguration
public ScatterSplitConfiguration(boolean enabled,
double percentOfSplitThreshold,
int dataServiceCount,
int indexPartitionCount)
- Core impl.
- Parameters:
enabled - percentOfSplitThreshold - dataServiceCount - indexPartitionCount -
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.