Skip to content

Conversation

@SethSmucker
Copy link
Collaborator

@SethSmucker SethSmucker commented Jan 5, 2026

Summary

  • Remove dependency on non-public Accumulo APIs: ScannerOptions, IterInfo
  • Track iterator names locally instead of introspecting the delegate
  • Remove ScannerOptionsHelper inner class
  • Simplify clearScanIterators() implementation

Fixes #3334
Part of #2443

Refactor to track iterator names locally instead of introspecting the
delegate via non-public ScannerOptions/IterInfo APIs. This eliminates
dependencies on:
- org.apache.accumulo.core.clientImpl.ScannerOptions
- org.apache.accumulo.core.dataImpl.thrift.IterInfo
- com.google.common.collect.Lists

Changes:
- Add systemIteratorNames and userIteratorNames Sets to track iterators
- Update add/remove methods to maintain the local tracking sets
- Simplify clearScanIterators() to iterate over tracked names
- Remove ScannerOptionsHelper inner class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove non-public API usage from ScannerBaseDelegate

2 participants