Package org.apache.accumulo.server.util
Class TablePropUtil
- java.lang.Object
-
- org.apache.accumulo.server.util.TablePropUtil
-
public class TablePropUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description TablePropUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisPropertyValid(String property, String value)static voidremoveTableProperty(ServerContext context, TableId tableId, String property)static booleansetTableProperty(ZooReaderWriter zoo, String zkRoot, TableId tableId, String property, String value)static booleansetTableProperty(ServerContext context, TableId tableId, String property, String value)
-
-
-
Method Detail
-
setTableProperty
public static boolean setTableProperty(ServerContext context, TableId tableId, String property, String value) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
setTableProperty
public static boolean setTableProperty(ZooReaderWriter zoo, String zkRoot, TableId tableId, String property, String value) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
removeTableProperty
public static void removeTableProperty(ServerContext context, TableId tableId, String property) throws InterruptedException, org.apache.zookeeper.KeeperException
- Throws:
InterruptedExceptionorg.apache.zookeeper.KeeperException
-
-