带过滤功能的巨大 SWT/JFace 表
我想用大量行(最多 3 mio)填充 SWT 虚拟表。当我使用惰性内容提供程序时,我无法使用过滤器,而当我使用普通内容提供程序时,更改过滤器的性能会变得非常糟糕。有没有办法在 SWT 或 JFace 中过滤大表?
i want to populate a SWT Virtual Table with a huge amount of rows (up to 3 mio). When i use a lazy content provider i can't use filters and when iI use a normal content provider the performance on changing the filter gets very bad. Is there any way to filter big tables in SWT or JFace?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在数据提供者级别进行过滤。
因此,如果您的数据来自数据库,请使用 SQL 预过滤您的结果。
You need to filter at the data provider level.
So if your data is coming from a database, use SQL to prefilter your results.