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 接口

 

setIndexPersistence 方法

启用持久索引。

语法
ConfigPersistent ConfigPersistent.setIndexPersistence(
  boolean store
) throws ULjException
参数
  • store   若要存储索引,设置为 true;否则设置为 false,以便在第一次使用索引之间建立索引。

注释

此设置仅在创建数据库时使用。它确定要对数据库使用哪种索引持久性策略。

打开现有数据库时,将使用创建时的设置,并更新配置以反映该值。

返回值

设置了索引持久性的 ConfigPersistent。