shellState.getAccumuloClient().namespaceOperations().attachIterator(namespace, setting, scopes);
shellState.getConnector().namespaceOperations().attachIterator(namespace, setting, scopes);
@Override public void attachNamespaceIterator(ByteBuffer login, String namespaceName, org.apache.accumulo.proxy.thrift.IteratorSetting setting, Set<org.apache.accumulo.proxy.thrift.IteratorScope> scopes) throws org.apache.accumulo.proxy.thrift.AccumuloException, org.apache.accumulo.proxy.thrift.AccumuloSecurityException, org.apache.accumulo.proxy.thrift.NamespaceNotFoundException, TException { try { if (null != scopes && scopes.size() > 0) { getConnector(login).namespaceOperations().attachIterator(namespaceName, getIteratorSetting(setting), getIteratorScopes(scopes)); } else { getConnector(login).namespaceOperations().attachIterator(namespaceName, getIteratorSetting(setting)); } } catch (Exception e) { handleExceptionNNF(e); } }
c.namespaceOperations().attachIterator(namespace, setting); sleepUninterruptibly(2, TimeUnit.SECONDS); try {
break; case 1: ops.attachIterator(namespace, setting); fail(); break;