public class JdbcTable extends Bean implements JdbcSource, JdbcSink
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
JdbcTable() |
addExceptionProperties, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, fromXmlElement, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, toXmlElement, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exception
public JdbcConnection getConnection()
protected JdbcTable setConnection(JdbcConnection connection)
public String getQualifiedName()
public String getName()
getName
in interface JdbcSink
getName
in interface JdbcSource
public String getNameAsJavaClassName()
public String getNameAsJavaIdentifier()
public String getCatalogName()
public String getSchemaName()
public String getType()
public String getRemarks()
public JdbcTableColumn getColumn(String name)
public List<JdbcTableColumn> getColumns()
public JdbcTable addColumn(JdbcTableColumn column)
public JdbcTable sortColumns()
public String getPrimaryKeyName()
public JdbcImportedKey getImportedKey(String foriegnKeyName)
public List<JdbcImportedKey> getImportedKeys()
public JdbcTable addImportedKey(JdbcImportedKey key)
public JdbcExportedKey getExportedKey(String primaryKeyName)
public List<JdbcExportedKey> getExportedKeys()
public JdbcTable addExportedKey(JdbcExportedKey key)
public List<JdbcTableColumn> getPrimaryKeyColumns()
public List<JdbcTableColumn> getNonPrimaryKeyColumns()
public List<JdbcTableColumn> getImportedKeyColumns(String foreignKeyName)
public List<JdbcTableColumn> getExportedKeyColumns(String foreignKeyName)
public List<JdbcTableColumn> getColumns(String... names)
public List<JdbcTableColumn> getColumns(Collection<String> names)
public String getQuery()
getQuery
in interface JdbcSink
getQuery
in interface JdbcSource
public JdbcSourceType getSourceType()
getSourceType
in interface JdbcSource
public boolean isDirectlyDependentOn(JdbcTable table)
true
if this table is directly dependent on the supplied table (i.e they have a direct public-foreign key relationship).
See #isDependentOn(JdbcTable))
table
- public boolean isDependentOn(JdbcTable table)
true
if this table is either directly or indirectly dependent on the supplied table.
table
- public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public JdbcTable fromRecord(Record source)
RecordSerializable
this
(for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord
in interface RecordSerializable
fromRecord
in class Bean
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.