\JDatabaseImporterPostgresql
PostgreSQL import driver.
Synopsis
class JDatabaseImporterPostgresql
extends JDatabaseImporter
{
- // Inherited members from JDatabaseImporter
- protected $cache;
- protected JDatabaseDriver $db;
- protected $from;
- protected $asFormat;
- protected $options;
- // methods
- public JDatabaseImporterPostgresql check()
- protected string getAddColumnSQL()
- protected string getAddIndexSQL()
- protected array getAlterTableSQL()
- protected string getDropSequenceSQL()
- protected string getAddSequenceSQL()
- protected string getChangeSequenceSQL()
- protected string getChangeColumnSQL()
- protected string getAlterColumnSQL()
- protected string getColumnSQL()
- protected string getDropIndexSQL()
- protected string getDropPrimaryKeySQL()
- protected array getIdxLookup()
- protected array getSeqLookup()
- // Inherited methods from JDatabaseImporter
- public void __construct()
- public JDatabaseImporter asXml()
- public abstract JDatabaseImporter check()
- public JDatabaseImporter from()
- protected string getDropColumnSQL()
- protected string getRealTableName()
- protected void mergeStructure()
- public JDatabaseImporter setDbo()
- public JDatabaseImporter withStructure()
Hierarchy
Extends
Tasks
Tasks
Line | Task |
---|---|
349 | Incorporate into parent class and use $this. |
403 | Incorporate into parent class and use $this. |
Members
protected
- $asFormat
—
string
The type of input format (XML). - $cache — array
- $db
—
JDatabaseDriver
The database connector to use for exporting structure and/or data. - $from
—
mixed
The input source. - $options
—
An array of options for the exporter.
Methods
protected
- getAddColumnSQL() — Get the SQL syntax to add a column.
- getAddIndexSQL() — Get the SQL syntax to add an index.
- getAddSequenceSQL() — Get the syntax to add a sequence.
- getAlterColumnSQL() — Get the SQL syntax for a single column that would be included in a table create statement.
- getAlterTableSQL() — Get alters for table if there is a difference.
- getChangeColumnSQL() — Get the syntax to alter a column.
- getChangeSequenceSQL() — Get the syntax to alter a sequence.
- getColumnSQL() — Get the SQL syntax for a single column that would be included in a table create statement.
- getDropIndexSQL() — Get the SQL syntax to drop an index.
- getDropPrimaryKeySQL() — Get the SQL syntax to drop a key.
- getDropSequenceSQL() — Get the SQL syntax to drop a sequence.
- getIdxLookup() — Get the details list of keys for a table.
- getSeqLookup() — Get the details list of sequences for a table.
public
- check() — Checks if all data and options are in order prior to exporting.
Inherited from JDatabaseImporter
protected
- getDropColumnSQL() — Get the SQL syntax to drop a column.
- getRealTableName() — Get the real name of the table, converting the prefix wildcard string if present.
- mergeStructure() — Merges the incoming structure definition with the existing structure.
public
- asXml() — Set the output option for the exporter to XML format.
- check() — Checks if all data and options are in order prior to exporting.
- from() — Specifies the data source to import.
- setDbo() — Sets the database connector to use for exporting structure and/or data.
- withStructure() — Sets an internal option to merge the structure based on the input data.