Package com.adbs.metadata
Class BaseMetadataSchemasFetcher
- java.lang.Object
 - 
- com.adbs.metadata.BaseMetadataSchemasFetcher
 
 
- 
- All Implemented Interfaces:
 Disposable
- Direct Known Subclasses:
 MetadataSchemasFetcherFromResultSet
public class BaseMetadataSchemasFetcher extends java.lang.Object implements Disposable
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected BaseSQLContextsqlContext 
- 
Constructor Summary
Constructors Constructor Description BaseMetadataSchemasFetcher(BaseSQLContext sqlContext) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcalcSchemaName(AstTokenIdentifier name)protected voidclose()voiddispose()BaseSQLContextgetSqlContext()booleangetTrimSpaces()protected voidinit()voidloadSchemas(SQLIdentifiersCollection schemas)protected booleannext()voidsetTrimSpaces(boolean trimSpaces)protected java.lang.StringtrimName(java.lang.String name) 
 - 
 
- 
- 
Field Detail
- 
sqlContext
protected BaseSQLContext sqlContext
 
 - 
 
- 
Constructor Detail
- 
BaseMetadataSchemasFetcher
public BaseMetadataSchemasFetcher(BaseSQLContext sqlContext)
 
 - 
 
- 
Method Detail
- 
dispose
public void dispose()
- Specified by:
 disposein interfaceDisposable
 
- 
getSqlContext
public BaseSQLContext getSqlContext()
 
- 
getTrimSpaces
public boolean getTrimSpaces()
 
- 
setTrimSpaces
public void setTrimSpaces(boolean trimSpaces)
 
- 
init
protected void init() throws QueryBuilderException- Throws:
 QueryBuilderException
 
- 
next
protected boolean next() throws QueryBuilderException- Throws:
 QueryBuilderException
 
- 
close
protected void close()
 
- 
calcSchemaName
protected void calcSchemaName(AstTokenIdentifier name)
 
- 
trimName
protected java.lang.String trimName(java.lang.String name)
 
- 
loadSchemas
public void loadSchemas(SQLIdentifiersCollection schemas)
 
 - 
 
 -