|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LookUpSchemaRunnable
This runnable looks up the objects (typically tables and schemas) that can be used to create layers from. The objects should be verified as valid as much as possible. This runnable is ran in an isolated thread so it can connect to the database.
Please make sure to test against sources that are slow to connect to (slow ping) to ensure good user experience
Method Summary | |
---|---|
java.lang.String |
getError()
Returns null if the run method was able to connect to the database otherwise will return a message indicating what went wrong. |
java.util.Set<TableDescriptor> |
getSchemas()
Returns the names of the databases in the database that this object connected to when the run method was executed. |
Method Detail |
---|
java.lang.String getError() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if called before run.java.util.Set<TableDescriptor> getSchemas()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |