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 boolean
isPropertyValid(String property, String value)
static void
removeTableProperty(ServerContext context, TableId tableId, String property)
static boolean
setTableProperty(ZooReaderWriter zoo, String zkRoot, TableId tableId, String property, String value)
static boolean
setTableProperty(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.KeeperException
InterruptedException
-
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.KeeperException
InterruptedException
-
removeTableProperty
public static void removeTableProperty(ServerContext context, TableId tableId, String property) throws InterruptedException, org.apache.zookeeper.KeeperException
- Throws:
InterruptedException
org.apache.zookeeper.KeeperException
-
-