Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLiteJ » UltraLiteJ 参考 » UltraLiteJ API 参考 » ConfigPersistent 接口

 

setLazyLoadIndexes 方法

将索引设置为在需要时装载,或设置为在启动时一次性装载全部索引。

语法
ConfigPersistent ConfigPersistent.setLazyLoadIndexes(
  boolean lazy_load
) throws ULjException
参数
  • lazy_load   要根据需要装载索引,设置为 true;否则设置为 false,以便在启动时一次性装载全部索引。

注释

启用此选项可减少数据库的启动时间,但以后操作的执行速度可能较慢。

返回值

设置了延缓加载索引的 ConfigPersistent。