Package io.trino.plugin.accumulo
Class AccumuloTableManager
java.lang.Object
io.trino.plugin.accumulo.AccumuloTableManager
This class is a light wrapper for Accumulo's Connector object.
It will perform the given operation, or throw an exception if an Accumulo- or ZooKeeper-based error occurs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateAccumuloTable(String table) voidcreateNamespace(String schema) voiddeleteAccumuloTable(String tableName) voiddropNamespace(String schema) booleanbooleannamespaceExists(String schema) voidrenameAccumuloTable(String oldName, String newName) voidsetIterator(String table, org.apache.accumulo.core.client.IteratorSetting setting) voidsetLocalityGroups(String tableName, Map<String, Set<org.apache.hadoop.io.Text>> groups)
-
Constructor Details
-
AccumuloTableManager
@Inject public AccumuloTableManager(org.apache.accumulo.core.client.Connector connector)
-
-
Method Details
-
createNamespace
-
dropNamespace
-
namespaceExists
-
exists
-
createAccumuloTable
-
setLocalityGroups
-
setIterator
-
deleteAccumuloTable
-
renameAccumuloTable
-