Constructor and Description |
---|
LSIndexImpl(String indexPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
closeConnection()
Close the Language Server Index Connection.
|
boolean |
doIndex()
Carryout the Language Server Index.
|
DAOFactory |
getDaoFactory()
Get the DAO Factory instance.
|
boolean |
loadIndexSchema()
Load the index database schema from the disk.
|
boolean |
reIndex()
Re-Index the Language server index.
|
boolean |
saveIndexDump(Path path)
Save the current in-memory index to a given file location.
|
public LSIndexImpl(String indexPath)
public boolean loadIndexSchema()
loadIndexSchema
in interface LSIndex
Boolean
Whether the index schema loading is successful or notpublic boolean reIndex()
public boolean doIndex()
public boolean saveIndexDump(Path path)
saveIndexDump
in interface LSIndex
path
- File path to save the index dumpBoolean
Whether the save process is success or notpublic boolean closeConnection()
closeConnection
in interface LSIndex
public DAOFactory getDaoFactory()
DAOFactory
DAOFactory instanceCopyright © 2019 WSO2. All rights reserved.