Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema crawling #19

Closed
denyskonakhevych opened this issue Dec 14, 2015 · 5 comments
Closed

Schema crawling #19

denyskonakhevych opened this issue Dec 14, 2015 · 5 comments
Assignees

Comments

@denyskonakhevych
Copy link

Hello, Sualeh

As I understood first schema crawler searches catalog by regexps and then schema should be retrieved by calling Catalog.lookupSchema. I use includeFilter "^?" + table_name + "?$" since table_name could be with or without apostrophe. For example, if I try to crawl DB with name "new", I retrieve catalog "new", but lookupSchema returns empty optional. Is it possible to use lookupSchema with regexp?

Thank you.

@schemacrawler
Copy link
Owner

Denys, I will add in a feature to look up database objects by a regular expression.

@denyskonakhevych
Copy link
Author

Thank you very much)

@schemacrawler
Copy link
Owner

I will close this issue when I release the enhancement.

@schemacrawler schemacrawler reopened this Dec 15, 2015
@schemacrawler
Copy link
Owner

I have put something in place for you to do this - please take a look at
https://goo.gl/vGQa0J and let me know.

On Mon, Dec 14, 2015 at 4:41 AM, Denys Konakhevych <notifications@github.com

wrote:

Hello, Sualeh

As I understood first schema crawler searches catalog by regexps and then
schema should be retrieved by calling CataloglookupSchema I use
includeFilter "^?" + table_name + "?$" since table_name could be with or
without apostrophe For example, if I try to crawl DB with name "new", I
retrieve catalog "new", but lookupSchema returns empty optional Is it
possible to use lookupSchema with regexp?

Thank you


Reply to this email directly or view it on GitHub
#19.

@schemacrawler
Copy link
Owner

Added a utility to filter database objects in 14.05.05.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants