Class SchemaExaminer
java.lang.Object
com.valqueries.automapper.context.schema.SchemaExaminer
- All Implemented Interfaces:
- ISchemaExaminer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancolumnExists(String schema, Token table, Token column) Check if a column exists in a specified schema and table.booleanhasPrimaryKey(String schema, Token table) Check if a primary key exists for a table in a schema.booleanschemaExists(String schema) Check if a schema exists.booleantableExists(String schema, Token table) Check if a table exists in a specified schema.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.valqueries.automapper.context.schema.ISchemaExaminercolumnExists, hasPrimaryKey, tableExists
- 
Constructor Details- 
SchemaExaminer
 
- 
- 
Method Details- 
columnExistsDescription copied from interface:ISchemaExaminerCheck if a column exists in a specified schema and table.- Specified by:
- columnExistsin interface- ISchemaExaminer
- Parameters:
- schema- the schema to check in
- table- the table to be checked
- column- the column to be checked
- Returns:
- true if the table exists, false otherwise
 
- 
tableExistsDescription copied from interface:ISchemaExaminerCheck if a table exists in a specified schema.- Specified by:
- tableExistsin interface- ISchemaExaminer
- Parameters:
- schema- the schema to check in
- table- the table to be checked.
- Returns:
- true if the table exists, false otherwise
 
- 
schemaExistsDescription copied from interface:ISchemaExaminerCheck if a schema exists.- Specified by:
- schemaExistsin interface- ISchemaExaminer
- Parameters:
- schema- the schema to check
- Returns:
- true if the schema exists, false otherwise
 
- 
hasPrimaryKeyDescription copied from interface:ISchemaExaminerCheck if a primary key exists for a table in a schema.- Specified by:
- hasPrimaryKeyin interface- ISchemaExaminer
- Parameters:
- schema- the schema to check in
- table- the table to be checked
- Returns:
- true if the table has a primary key, false otherwise
 
 
-