带过滤功能的巨大 SWT/JFace 表

发布于 2024-10-10 00:51:33 字数 113 浏览 0 评论 0原文

我想用大量行(最多 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

jJeQQOZ5 2024-10-17 00:51:33

您需要在数据提供者级别进行过滤。

因此,如果您的数据来自数据库,请使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文