@Test public void testGetAuthorizations() { Authorizations expected = new Authorizations("a,b"); try (BatchScanner s = new TabletServerBatchReader(context, TableId.of("foo"), expected, 1)) { assertEquals(expected, s.getAuthorizations()); } }
@Override public Authorizations getAuthorizations() { return authorizations; }
TabletServerBatchReader extends ScannerOptions implements BatchScanner { @Override public Authorizations getAuthorizations() { return authorizations; } }
TabletServerBatchReader extends ScannerOptions implements BatchScanner { @Override public Authorizations getAuthorizations() { return authorizations; } TabletServerBatchReader(ClientContext context, TableId tableId,
      Authorizations authorizations, int numQueryThreads); protected  TabletServerBatchReader(ClientContext context, Class<?> scopeClass, TableId tableId,
      Authorizations authorizations, int numQueryThreads); }
TabletServerBatchReader extends ScannerOptions implements BatchScanner { @Override public Authorizations getAuthorizations() { return authorizations; } TabletServerBatchReader(ClientContext context, TableId tableId,
      Authorizations authorizations, int numQueryThreads); protected  TabletServerBatchReader(ClientContext context, Class<?> scopeClass, TableId tableId,
      Authorizations authorizations, int numQueryThreads); @Override void close(); @Override Authorizations getAuthorizations(); @Override void setRanges(Collection<Range> ranges); @Override Iterator<Entry<Key,Value>> iterator(); }
TabletServerBatchReader extends ScannerOptions implements BatchScanner { @Override public Authorizations getAuthorizations() { return authorizations; } TabletServerBatchReader(ClientContext context, TableId tableId,
      Authorizations authorizations, int numQueryThreads); protected  TabletServerBatchReader(ClientContext context, Class<?> scopeClass, TableId tableId,
      Authorizations authorizations, int numQueryThreads); @Override void close(); @Override Authorizations getAuthorizations(); @Override void setRanges(Collection<Range> ranges); @Override Iterator<Entry<Key,Value>> iterator();  }