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 BaseSQLContext
sqlContext
-
Constructor Summary
Constructors Constructor Description BaseMetadataSchemasFetcher(BaseSQLContext sqlContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
calcSchemaName(AstTokenIdentifier name)
protected void
close()
void
dispose()
BaseSQLContext
getSqlContext()
boolean
getTrimSpaces()
protected void
init()
void
loadSchemas(SQLIdentifiersCollection schemas)
protected boolean
next()
void
setTrimSpaces(boolean trimSpaces)
protected java.lang.String
trimName(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:
dispose
in 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)
-
-