public class JdbcContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AsyncFollowers |
asyncFollowers |
protected Func1<TreeTableNodeFormat,DbCatalog> |
catalogFormat |
protected NodesExtracter |
catalogsExtract |
protected NodesExtracter |
columnExtract |
protected Func1<Boolean,Object> |
followableFn |
protected ClassMap<Func1<Boolean,Object>> |
followableMap |
protected ClassMap<Func1<TreeTableNodeFormat,Object>> |
formats |
protected NodesExtracter |
namedCollectionExtract |
protected Func1<TreeTableNodeFormat,NamedCollection> |
namedCollectionFormatter |
protected ClassMap<Icon> |
nodeIcons |
protected NodesExtracter |
schemaExtract |
protected Func1<TreeTableNodeFormat,DbSchema> |
schemaFormat |
protected NodesExtracter |
tableExtractFromCatalog |
protected NodesExtracter |
tableExtractFromSchema |
| Constructor and Description |
|---|
JdbcContext() |
JdbcContext(EventList<ExecuteMonitor> emlist) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> void |
alwaysFollowable(Class<T> cls) |
static void |
build(SqlService sqlService,
TreeTableNodeBasic connectionNode) |
protected <T> void |
followable(Class<T> cls,
Func1<Boolean,T> fn) |
<T> void |
format(Class<T> cls,
Func1<TreeTableNodeFormat,T> fmtfn) |
static boolean |
hasColumn(ResultSet rs,
String colName) |
protected final AsyncFollowers asyncFollowers
protected final ClassMap<Func1<TreeTableNodeFormat,Object>> formats
protected final NodesExtracter namedCollectionExtract
protected final Func1<TreeTableNodeFormat,NamedCollection> namedCollectionFormatter
protected final NodesExtracter catalogsExtract
protected final Func1<TreeTableNodeFormat,DbCatalog> catalogFormat
protected final NodesExtracter schemaExtract
protected final Func1<TreeTableNodeFormat,DbSchema> schemaFormat
protected final NodesExtracter tableExtractFromSchema
protected final NodesExtracter tableExtractFromCatalog
protected final NodesExtracter columnExtract
public JdbcContext(EventList<ExecuteMonitor> emlist)
public JdbcContext()
protected <T> void alwaysFollowable(Class<T> cls)
public <T> void format(Class<T> cls, Func1<TreeTableNodeFormat,T> fmtfn)
public static boolean hasColumn(ResultSet rs, String colName) throws SQLException
SQLExceptionpublic static void build(SqlService sqlService, TreeTableNodeBasic connectionNode)
Copyright © 2018. All rights reserved.