public interface PartitionFactory
Modifier and Type | Method and Description |
---|---|
void |
addIndex(Partition partition,
String attributeId,
int cacheSize)
Adds a partition-specific index to the partition.
|
Partition |
createPartition(String id,
String suffix,
int cacheSize,
File workingDirectory)
Creates a new Partition.
|
Partition createPartition(String id, String suffix, int cacheSize, File workingDirectory) throws Exception
id
- the partition idsuffix
- the suffixcacheSize
- the cache sizeworkingDirectory
- the working directoryException
- the exceptionCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.