voldemort.xml
Class ClusterMapper

java.lang.Object
  extended by voldemort.xml.ClusterMapper

public class ClusterMapper
extends java.lang.Object

Parse a cluster xml file


Field Summary
static java.lang.Integer MAX_PARTITIONID
           
 
Constructor Summary
ClusterMapper()
           
 
Method Summary
 Cluster readCluster(java.io.File f)
           
 Cluster readCluster(java.io.Reader input)
           
 Cluster readCluster(java.io.Reader input, boolean verifySchema)
           
 Node readServer(org.jdom.Element server)
           
 java.lang.String writeCluster(Cluster cluster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PARTITIONID

public static final java.lang.Integer MAX_PARTITIONID
Constructor Detail

ClusterMapper

public ClusterMapper()
Method Detail

readCluster

public Cluster readCluster(java.io.File f)
                    throws java.io.IOException
Throws:
java.io.IOException

readCluster

public Cluster readCluster(java.io.Reader input)

readCluster

public Cluster readCluster(java.io.Reader input,
                           boolean verifySchema)

readServer

public Node readServer(org.jdom.Element server)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

writeCluster

public java.lang.String writeCluster(Cluster cluster)


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu