NAME
blx::xsdsql::generator::sql::generic::handle - generic handles for generator
SYNOPSIS
use blx::xsdsql::generator::sql::generic::handle
DESCRIPTION
this package is a class - instance it with the method new
FUNCTIONS
this module defined the followed functions
new - constructor
PARAMS:
FD => streamer class, file descriptor , array or string (default *STDOUT)
get_binding_objects - abstract method, return an array of objects binding to the command
header - emit on FD the header lines
the first argument is a table object generate from blx::xsdsql::parser::parse
footer - emit on FD the footer lines
the first argument is a table object generate from blx::xsdsql::parser::parse
first_pass - emit on FD the lines at first pass
table_header - emit on FD the table header (for example the 'create table' )
the first argument is a table object generate from blx::xsdsql::parser::parse
table_footer- emit on FD the table footer (for example the ')' in create table)
the first argument is a table object generate from blx::xsdsql::parser::parse
column - emit on FD the column line (for example the line column_name column_type in create table)
the first argument is a column object generate from blx::xsdsql::parser::parse
last_pass - emit on FD the lines at last pass
put_comment - put a comment into sql format
the first argument is a catalog object or a child object of this
get_streamer - return the output streamer object
EXPORT
None by default.
EXPORT_OK
None
SEE ALSO
See blx:.xsdsql::generator for generate the schema of the database
AUTHOR
lorenzo.bellotti, <pauseblx@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2010 by lorenzo.bellotti
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html