|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectschemacrawler.schemacrawler.SchemaCrawlerOptions
public final class SchemaCrawlerOptions
SchemaCrawler options.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_TABLE_TYPES
|
| Constructor Summary | |
|---|---|
SchemaCrawlerOptions()
Default options. |
|
SchemaCrawlerOptions(Config config)
Options from properties. |
|
| Method Summary | |
|---|---|
InclusionRule |
getCatalogInclusionRule()
Gets the catalog inclusion rule. |
InclusionRule |
getColumnInclusionRule()
Gets the column inclusion rule. |
InclusionRule |
getGrepColumnInclusionRule()
Gets the column inclusion rule for grep. |
InclusionRule |
getGrepProcedureColumnInclusionRule()
Gets the procedure column rule for grep. |
InformationSchemaViews |
getInformationSchemaViews()
Gets the information schema views. |
InclusionRule |
getProcedureColumnInclusionRule()
Gets the procedure column rule. |
InclusionRule |
getProcedureInclusionRule()
Gets the procedure inclusion rule. |
InclusionRule |
getSchemaInclusionRule()
Gets the schema inclusion rule. |
SchemaInfoLevel |
getSchemaInfoLevel()
Gets the schema information level, identifying to what level the schema should be crawled. |
InclusionRule |
getTableInclusionRule()
Gets the table inclusion rule. |
TableType[] |
getTableTypes()
Get the table types. |
boolean |
isAlphabeticalSortForForeignKeys()
Whether foreign keys are alphabetically sorted. |
boolean |
isAlphabeticalSortForIndexes()
Whether indexes are alphabetically sorted. |
boolean |
isAlphabeticalSortForProcedureColumns()
Whether procedure columns are alphabetically sorted. |
boolean |
isAlphabeticalSortForTableColumns()
Whether table columns are alphabetically sorted. |
boolean |
isAlphabeticalSortForTables()
Whether tables are alphabetically sorted. |
boolean |
isGrepInvertMatch()
Whether to invert matches. |
boolean |
isShowStoredProcedures()
Whether stored procedures are output. |
void |
setAlphabeticalSortForForeignKeys(boolean alphabeticalSort)
Sets whether foreign keys should be alphabetically sorted. |
void |
setAlphabeticalSortForIndexes(boolean alphabeticalSort)
Sets whether indexes should be alphabetically sorted. |
void |
setAlphabeticalSortForProcedureColumns(boolean alphabeticalSort)
Sets whether procedure columns should be alphabetically sorted. |
void |
setAlphabeticalSortForTableColumns(boolean alphabeticalSort)
Sets whether table columns should be alphabetically sorted. |
void |
setAlphabeticalSortForTables(boolean alphabeticalSort)
Sets whether tables should be alphabetically sorted. |
void |
setCatalogInclusionRule(InclusionRule catalogInclusionRule)
Sets the catalog inclusion rule. |
void |
setColumnInclusionRule(InclusionRule columnInclusionRule)
Sets the column inclusion rule. |
void |
setGrepColumnInclusionRule(InclusionRule grepColumnInclusionRule)
Sets the column inclusion rule for grep. |
void |
setGrepInvertMatch(boolean grepInvertMatch)
Set whether to invert matches. |
void |
setGrepProcedureColumnInclusionRule(InclusionRule grepProcedureColumnInclusionRule)
Sets the procedure column inclusion rule for grep. |
void |
setInformationSchemaViews(InformationSchemaViews informationSchemaViews)
Sets the information schema views. |
void |
setProcedureColumnInclusionRule(InclusionRule procedureColumnInclusionRule)
Sets the procedure column inclusion rule. |
void |
setProcedureInclusionRule(InclusionRule procedureInclusionRule)
Sets the procedure inclusion rule. |
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 |
setShowStoredProcedures(boolean showStoredProcedures)
Set show stored procedures. |
void |
setTableInclusionRule(InclusionRule tableInclusionRule)
Sets the table inclusion rule. |
void |
setTableTypes(java.lang.String tableTypesString)
Sets table types from a comma-separated list of table types. |
void |
setTableTypes(TableType[] tableTypesArray)
Sets table types from an array of table types. |
void |
setTableTypesString(java.lang.String tableTypesString)
Sets table types from a comma-separated list of table types. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_TABLE_TYPES
| Constructor Detail |
|---|
public SchemaCrawlerOptions()
public SchemaCrawlerOptions(Config config)
config - Configuration propertiespartition - Partition for information schema| Method Detail |
|---|
public InclusionRule getCatalogInclusionRule()
public InclusionRule getColumnInclusionRule()
public InclusionRule getGrepColumnInclusionRule()
public InclusionRule getGrepProcedureColumnInclusionRule()
public InformationSchemaViews getInformationSchemaViews()
public InclusionRule getProcedureColumnInclusionRule()
public InclusionRule getProcedureInclusionRule()
public InclusionRule getSchemaInclusionRule()
public SchemaInfoLevel getSchemaInfoLevel()
public InclusionRule getTableInclusionRule()
public TableType[] getTableTypes()
public boolean isAlphabeticalSortForForeignKeys()
public boolean isAlphabeticalSortForIndexes()
public boolean isAlphabeticalSortForProcedureColumns()
public boolean isAlphabeticalSortForTableColumns()
public boolean isAlphabeticalSortForTables()
public boolean isGrepInvertMatch()
public boolean isShowStoredProcedures()
public void setAlphabeticalSortForForeignKeys(boolean alphabeticalSort)
alphabeticalSort - Alphabetical sortpublic void setAlphabeticalSortForIndexes(boolean alphabeticalSort)
alphabeticalSort - Alphabetical sortpublic void setAlphabeticalSortForProcedureColumns(boolean alphabeticalSort)
alphabeticalSort - Alphabetical sortpublic void setAlphabeticalSortForTableColumns(boolean alphabeticalSort)
alphabeticalSort - Alphabetical sortpublic void setAlphabeticalSortForTables(boolean alphabeticalSort)
alphabeticalSort - Alphabetical sortpublic void setCatalogInclusionRule(InclusionRule catalogInclusionRule)
catalogInclusionRule - Catalog inclusion rulepublic void setColumnInclusionRule(InclusionRule columnInclusionRule)
columnInclusionRule - Column inclusion rulepublic void setGrepColumnInclusionRule(InclusionRule grepColumnInclusionRule)
columnInclusionRule - Column inclusion rule for greppublic void setGrepInvertMatch(boolean grepInvertMatch)
invertMatch - Whether to invert matches.public void setGrepProcedureColumnInclusionRule(InclusionRule grepProcedureColumnInclusionRule)
procedureColumnInclusionRule - Procedure column inclusion rule for greppublic void setInformationSchemaViews(InformationSchemaViews informationSchemaViews)
informationSchemaViews - Information schema views.public void setProcedureColumnInclusionRule(InclusionRule procedureColumnInclusionRule)
procedureColumnInclusionRule - Procedure column inclusion rulepublic void setProcedureInclusionRule(InclusionRule procedureInclusionRule)
procedureInclusionRule - Procedure inclusion rulepublic void setSchemaInclusionRule(InclusionRule schemaInclusionRule)
schemaInclusionRule - Schema inclusion rulepublic void setSchemaInfoLevel(SchemaInfoLevel schemaInfoLevel)
schemaInfoLevel - Schema information level.public void setShowStoredProcedures(boolean showStoredProcedures)
showStoredProcedures - Show stored procedurespublic void setTableInclusionRule(InclusionRule tableInclusionRule)
tableInclusionRule - Table inclusion rulepublic void setTableTypes(java.lang.String tableTypesString)
tableTypesString - Comma-separated list of table types.public void setTableTypes(TableType[] tableTypesArray)
tableTypesArray - Array of table types.public void setTableTypesString(java.lang.String tableTypesString)
tableTypesString - Comma-separated list of table types.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||