public final class SchemaCrawlerOptions extends java.lang.Object implements Options
| Constructor and Description |
|---|
SchemaCrawlerOptions()
Default options.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getChildTableFilterDepth() |
InclusionRule |
getColumnInclusionRule()
Gets the column inclusion rule.
|
InclusionRule |
getGrepColumnInclusionRule()
Gets the column inclusion rule for grep.
|
InclusionRule |
getGrepDefinitionInclusionRule()
Gets the definitions inclusion rule for grep.
|
InclusionRule |
getGrepRoutineColumnInclusionRule()
Gets the routine column rule for grep.
|
int |
getParentTableFilterDepth() |
InclusionRule |
getRoutineColumnInclusionRule()
Gets the routine column rule.
|
InclusionRule |
getRoutineInclusionRule()
Gets the routine inclusion rule.
|
java.util.Collection<RoutineType> |
getRoutineTypes() |
InclusionRule |
getSchemaInclusionRule()
Gets the schema inclusion rule.
|
SchemaInfoLevel |
getSchemaInfoLevel()
Gets the schema information level, identifying to what level the
schema should be crawled.
|
InclusionRule |
getSequenceInclusionRule()
Gets the sequence inclusion rule.
|
InclusionRule |
getSynonymInclusionRule()
Gets the synonym inclusion rule.
|
InclusionRule |
getTableInclusionRule()
Gets the table inclusion rule.
|
java.lang.String |
getTableNamePattern()
Gets the table name pattern.
|
java.util.Collection<java.lang.String> |
getTableTypes()
Returns the table types requested for output.
|
java.lang.String |
getTitle() |
boolean |
isGrepColumns() |
boolean |
isGrepDefinitions() |
boolean |
isGrepInvertMatch()
Whether to invert matches.
|
boolean |
isGrepOnlyMatching()
Whether grep includes show foreign keys that reference other
non-matching tables.
|
boolean |
isGrepRoutineColumns() |
boolean |
isHideEmptyTables()
If infolevel=maximum, this option will remove empty tables (that
is, tables with no rows of data) from the catalog.
|
void |
setChildTableFilterDepth(int childTableFilterDepth) |
void |
setColumnInclusionRule(InclusionRule columnInclusionRule)
Sets the column inclusion rule.
|
void |
setGrepColumnInclusionRule(InclusionRule grepColumnInclusionRule)
Sets the column inclusion rule for grep.
|
void |
setGrepDefinitionInclusionRule(InclusionRule grepDefinitionInclusionRule)
Sets the definition inclusion rule for grep.
|
void |
setGrepInvertMatch(boolean grepInvertMatch)
Set whether to invert matches.
|
void |
setGrepOnlyMatching(boolean grepOnlyMatching)
Whether grep includes show foreign keys that reference other
non-matching tables.
|
void |
setGrepRoutineColumnInclusionRule(InclusionRule grepRoutineColumnInclusionRule)
Sets the routine column inclusion rule for grep.
|
void |
setHideEmptyTables(boolean hideEmptyTables)
If infolevel=maximum, this option will remove empty tables (that
is, tables with no rows of data) from the catalog.
|
void |
setParentTableFilterDepth(int parentTableFilterDepth) |
void |
setRoutineColumnInclusionRule(InclusionRule routineColumnInclusionRule)
Sets the routine column inclusion rule.
|
void |
setRoutineInclusionRule(InclusionRule routineInclusionRule)
Sets the routine inclusion rule.
|
void |
setRoutineTypes(java.util.Collection<RoutineType> routineTypes) |
void |
setSchemaInclusionRule(InclusionRule schemaInclusionRule)
Sets the schema inclusion rule.
|
void |
setSchemaInfoLevel(SchemaInfoLevel schemaInfoLevel)
Sets the schema information level, identifying to what level the
schema should be crawled.
|
void |
setSequenceInclusionRule(InclusionRule sequenceInclusionRule)
Sets the sequence inclusion rule.
|
void |
setSynonymInclusionRule(InclusionRule synonymInclusionRule)
Sets the synonym inclusion rule.
|
void |
setTableInclusionRule(InclusionRule tableInclusionRule)
Sets the table inclusion rule.
|
void |
setTableNamePattern(java.lang.String tableNamePattern)
Sets the table name pattern, using the JDBC syntax for wildcards (_
and *).
|
void |
setTableTypes(java.util.Collection<java.lang.String> tableTypes)
Sets table types requested for output from a collection of table
types.
|
void |
setTitle(java.lang.String title) |
java.lang.String |
toString() |
public int getChildTableFilterDepth()
public InclusionRule getColumnInclusionRule()
public InclusionRule getGrepColumnInclusionRule()
public InclusionRule getGrepDefinitionInclusionRule()
public InclusionRule getGrepRoutineColumnInclusionRule()
public int getParentTableFilterDepth()
public InclusionRule getRoutineColumnInclusionRule()
public InclusionRule getRoutineInclusionRule()
public java.util.Collection<RoutineType> getRoutineTypes()
public InclusionRule getSchemaInclusionRule()
public SchemaInfoLevel getSchemaInfoLevel()
public InclusionRule getSequenceInclusionRule()
public InclusionRule getSynonymInclusionRule()
public InclusionRule getTableInclusionRule()
public java.lang.String getTableNamePattern()
public java.util.Collection<java.lang.String> getTableTypes()
public java.lang.String getTitle()
public boolean isGrepColumns()
public boolean isGrepDefinitions()
public boolean isGrepInvertMatch()
public boolean isGrepOnlyMatching()
public boolean isGrepRoutineColumns()
public boolean isHideEmptyTables()
public void setChildTableFilterDepth(int childTableFilterDepth)
public void setColumnInclusionRule(InclusionRule columnInclusionRule)
columnInclusionRule - Column inclusion rulepublic void setGrepColumnInclusionRule(InclusionRule grepColumnInclusionRule)
grepColumnInclusionRule - Column inclusion rule for greppublic void setGrepDefinitionInclusionRule(InclusionRule grepDefinitionInclusionRule)
grepDefinitionInclusionRule - Definition inclusion rule for greppublic void setGrepInvertMatch(boolean grepInvertMatch)
grepInvertMatch - Whether to invert matches.public void setGrepOnlyMatching(boolean grepOnlyMatching)
grepOnlyMatching - Whether grep includes show foreign keys that reference other
non-matching tables.public void setGrepRoutineColumnInclusionRule(InclusionRule grepRoutineColumnInclusionRule)
grepRoutineColumnInclusionRule - Routine column inclusion rule for greppublic void setHideEmptyTables(boolean hideEmptyTables)
hideEmptyTables - Whether to hide empty tablespublic void setParentTableFilterDepth(int parentTableFilterDepth)
public void setRoutineColumnInclusionRule(InclusionRule routineColumnInclusionRule)
routineColumnInclusionRule - Routine column inclusion rulepublic void setRoutineInclusionRule(InclusionRule routineInclusionRule)
routineInclusionRule - Routine inclusion rulepublic void setRoutineTypes(java.util.Collection<RoutineType> routineTypes)
public void setSchemaInclusionRule(InclusionRule schemaInclusionRule)
schemaInclusionRule - Schema inclusion rulepublic void setSchemaInfoLevel(SchemaInfoLevel schemaInfoLevel)
schemaInfoLevel - Schema information level.public void setSequenceInclusionRule(InclusionRule sequenceInclusionRule)
sequenceInclusionRule - Sequence inclusion rulepublic void setSynonymInclusionRule(InclusionRule synonymInclusionRule)
synonymInclusionRule - Synonym inclusion rulepublic void setTableInclusionRule(InclusionRule tableInclusionRule)
tableInclusionRule - Table inclusion rulepublic void setTableNamePattern(java.lang.String tableNamePattern)
tableNamePattern - Table name pattern, null is allowedpublic void setTableTypes(java.util.Collection<java.lang.String> tableTypes)
tableTypes - Collection of table types. Can be null if all supported
table types are requested.public void setTitle(java.lang.String title)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2000-2018 Sualeh Fatehi. All rights reserved.