public class DataRootExt extends Object implements Comparable<DataRootExt>
| Modifier and Type | Field and Description |
|---|---|
static int |
total_count |
static long |
total_nbytes |
| Constructor and Description |
|---|
DataRootExt() |
DataRootExt(DataRoot dataRoot,
String catLocation) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DataRootExt o) |
static DataRoot.Type |
convertDataRootType(ConfigCatalogExtProto.DataRootType type) |
static ConfigCatalogExtProto.DataRootType |
convertDataRootType(DataRoot.Type type) |
String |
getCatLocation() |
DataRoot |
getDataRoot() |
String |
getDirLocation() |
String |
getName() |
String |
getPath() |
String |
getRestrict() |
DataRoot.Type |
getType() |
void |
readExternal(DataInputStream in) |
void |
setDataRoot(DataRoot dataRoot) |
String |
toString() |
void |
writeExternal(DataOutputStream out) |
public String getPath()
public DataRoot getDataRoot()
public void setDataRoot(DataRoot dataRoot)
public String getCatLocation()
public String getDirLocation()
public DataRoot.Type getType()
public String getName()
public String getRestrict()
public void writeExternal(DataOutputStream out) throws IOException
IOExceptionpublic void readExternal(DataInputStream in) throws IOException
IOExceptionpublic static DataRoot.Type convertDataRootType(ConfigCatalogExtProto.DataRootType type)
public static ConfigCatalogExtProto.DataRootType convertDataRootType(DataRoot.Type type)
public int compareTo(DataRootExt o)
compareTo in interface Comparable<DataRootExt>