Tabnine Logo
NamespaceOperations.listIterators
Code IndexAdd Tabnine to your IDE (free)

How to use
listIterators
method
in
org.apache.accumulo.core.client.admin.NamespaceOperations

Best Java code snippets using org.apache.accumulo.core.client.admin.NamespaceOperations.listIterators (Showing top 7 results out of 315)

origin: apache/accumulo

 .listIterators(OptUtil.getNamespaceOpt(cl, shellState)).containsKey(name)) {
Shell.log.warn("no iterators found that match your criteria");
return 0;
origin: apache/accumulo

if (namespaces) {
 iterators = shellState.getAccumuloClient().namespaceOperations()
   .listIterators(OptUtil.getNamespaceOpt(cl, shellState));
} else if (tables) {
 iterators = shellState.getAccumuloClient().tableOperations()
origin: org.apache.accumulo/accumulo-proxy

@Override
public Map<String,Set<org.apache.accumulo.proxy.thrift.IteratorScope>> listNamespaceIterators(
  ByteBuffer login, String namespaceName)
  throws org.apache.accumulo.proxy.thrift.AccumuloException,
  org.apache.accumulo.proxy.thrift.AccumuloSecurityException,
  org.apache.accumulo.proxy.thrift.NamespaceNotFoundException, TException {
 try {
  Map<String,Set<org.apache.accumulo.proxy.thrift.IteratorScope>> namespaceIters = new HashMap<>();
  for (Map.Entry<String,EnumSet<IteratorScope>> entry : getConnector(login)
    .namespaceOperations().listIterators(namespaceName).entrySet()) {
   namespaceIters.put(entry.getKey(), getProxyIteratorScopes(entry.getValue()));
  }
  return namespaceIters;
 } catch (Exception e) {
  handleExceptionNNF(e);
  return null;
 }
}
origin: org.apache.accumulo/accumulo-shell

 .listIterators(OptUtil.getNamespaceOpt(cl, shellState)).containsKey(name)) {
Shell.log.warn("no iterators found that match your criteria");
return 0;
origin: org.apache.accumulo/accumulo-shell

if (namespaces) {
 iterators = shellState.getConnector().namespaceOperations()
   .listIterators(OptUtil.getNamespaceOpt(cl, shellState));
} else if (tables) {
 iterators = shellState.getConnector().tableOperations()
origin: org.apache.accumulo/accumulo-test

assertFalse(c.namespaceOperations().listIterators(namespace).containsKey(iterName));
assertFalse(c.tableOperations().listIterators(t1).containsKey(iterName));
  setting.getName(), IteratorScope.scan);
assertEquals(setting, setting2);
assertTrue(c.namespaceOperations().listIterators(namespace).containsKey(iterName));
assertTrue(c.tableOperations().listIterators(t1).containsKey(iterName));
s = c.createScanner(t1, Authorizations.EMPTY);
  EnumSet.allOf(IteratorScope.class));
sleepUninterruptibly(2, TimeUnit.SECONDS);
assertFalse(c.namespaceOperations().listIterators(namespace).containsKey(iterName));
assertFalse(c.tableOperations().listIterators(t1).containsKey(iterName));
s = c.createScanner(t1, Authorizations.EMPTY);
origin: org.apache.accumulo/accumulo-test

 break;
case 7:
 ops.listIterators(namespace);
 fail();
 break;
org.apache.accumulo.core.client.adminNamespaceOperationslistIterators

Javadoc

Get a list of iterators for this namespace.

Popular methods of NamespaceOperations

  • create
    Create an empty namespace with no initial configuration. Valid names for a namespace contain letters
  • exists
    A method to check if a namespace exists in Accumulo.
  • list
    Retrieve a list of namespaces in Accumulo.
  • getProperties
    Gets properties of a namespace, which are inherited by tables in this namespace. Note that recently
  • addConstraint
    Add a new constraint to a namespace.
  • attachIterator
    Add an iterator to a namespace on the given scopes.
  • delete
    Delete an empty namespace
  • getIteratorSetting
    Get the settings for an iterator.
  • listConstraints
    List constraints on a namespace with their assigned numbers.
  • namespaceIdMap
    Get a mapping of namespace name to internal namespace id.
  • removeConstraint
    Remove a constraint from a namespace.
  • removeIterator
    Remove an iterator from a namespace by name.
  • removeConstraint,
  • removeIterator,
  • removeProperty,
  • rename,
  • setProperty,
  • testClassLoad,
  • checkIteratorConflicts,
  • defaultNamespace,
  • systemNamespace

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now