Method | Description | |
---|---|---|
DBColumnSplit ( string dbName, string tableName, string columnName, string keyColumnName, char delimiter ) : int |
New 04/07/11 - split field values containing nested delimiters into a new table (named as tableName_columnName_split)
|
|
DBColumns ( String dbName, String tableName ) : String[] |
List the columns in a SQLITE database table
|
|
DBNames ( String path ) : String[] |
List the SQLITE database names for a given directory path
|
|
DBRowCount ( String dbName, String tableName ) : int |
Count the rows in a SQLITE database table
|
|
DBTables ( String dbName ) : String[] |
List the tables in a SQLITE database
|
|
DT2DB ( String dbName, |
||
DT2Delimited ( |
Write the contents of a DataTable to a delimited file
|
|
DT2STG ( |
Convert a System.Data.DataTable using a StringTemplateGroup file
|
|
DT2STG ( |
||
DT2XML ( |
||
Delimited2DB ( string dbName, string fileName ) : int | ||
Delimited2DB ( string dbName, string fileName, bool hasHeader ) : int | ||
Delimited2DB ( string dbName, string fileName, char delimiter ) : int | ||
Delimited2DB ( string dbName, string fileName, char delimiter, bool hasHeader ) : int | ||
Delimited2DB ( string dbName, string fileName, string tableName ) : int | ||
Delimited2DB ( string dbName, string fileName, string tableName, bool hasHeader ) : int | ||
Delimited2DB ( string dbName, string fileName, string tableName, bool hasHeader, bool append ) : int | ||
Delimited2DB ( string dbName, string fileName, string tableName, char delimiter, bool hasHeader, bool append ) : int | ||
Delimited2DT ( string fileName ) : |
||
Delimited2DT ( string fileName, bool hasHeader ) : |
||
Delimited2DT ( string fileName, bool hasHeader, int maxRows ) : |
||
Delimited2DT ( string fileName, char delimiter ) : |
||
Delimited2DT ( string fileName, char delimiter, bool hasHeader ) : |
||
Delimited2DT ( string fileName, char delimiter, bool hasHeader, int maxRows ) : |
Read a delimited data file to a DataTable
|
|
Delimited2DT ( string fileName, char delimiter, int maxRows ) : |
||
Delimited2DT ( string fileName, int maxRows ) : |
||
Delimited2RDF ( string fileName, string templateName ) : int | ||
Delimited2RDF ( string fileName, string templateName, string rdfFileName ) : int | ||
Delimited2RDF ( string fileName, string templateName, string rdfFileName, bool hasHeader ) : int | ||
Delimited2RDF ( string fileName, string templateName, string rdfFileName, string namespaceURI ) : int | ||
Delimited2RDF ( string fileName, string templateName, string rdfFileName, string namespaceURI, bool hasHeader ) : int | ||
Delimited2RDF ( string fileName, string templateName, string rdfFileName, string namespaceURI, char delimiter, bool hasHeader ) : int | ||
Delimited2STG ( string fileName, string stgFileName, string outFileName, char delimiter ) : int |
Convert a delimited file using a StringTemplateGroup file
|
|
Delimited2STG ( string fileName, string stgFileName, string outFileName, string optFileName, bool hasHeader, char delimiter ) : int | ||
Delimited2STG ( string fileName, string stgFileName, string outFileName, string optFileName, char delimiter ) : int | ||
Delimited2XML ( string fileName ) : int | ||
Delimited2XML ( string fileName, bool hasHeader ) : int | ||
Delimited2XML ( string fileName, char delimiter ) : int | ||
Delimited2XML ( string fileName, char delimiter, bool hasHeader ) : int | ||
Delimited2XML ( string fileName, string xmlFileName ) : int | ||
Delimited2XML ( string fileName, string xmlFileName, bool hasHeader ) : int | ||
Delimited2XML ( string fileName, string xmlFileName, char delimiter ) : int | ||
Delimited2XML ( string fileName, string xmlFileName, char delimiter, bool hasHeader ) : int | ||
EscapeUnicode ( string input ) : string | ||
SQL2DT ( string dbName, string sqlFileName ) : |
||
SQL2Delimited ( string dbName, string sqlFileName ) : int | ||
SQL2Delimited ( string dbName, string sqlFileName, char delimiter ) : int | ||
SQL2Delimited ( string dbName, string sqlFileName, string outFileName ) : int | ||
SQL2Delimited ( string dbName, string sqlFileName, string outFileName, char delimiter ) : int | ||
SQL2RDF ( string dbName, string sqlFileName, string templateName ) : int | ||
SQL2RDF ( string dbName, string sqlFileName, string templateName, string rdfFileName ) : int | ||
SQL2RDF ( string dbName, string sqlFileName, string templateName, string rdfFileName, string namespaceURI ) : int | ||
SQL2STG ( string dbName, string sqlFileName, string stgFileName, string outFileName ) : int |
Run a SQL query against the specified database, convert the output using a StringTemplateGroup file
|
|
SQL2STG ( string dbName, string sqlFileName, string stgFileName, string outFileName, string optFileName ) : int | ||
SQL2XML ( string dbName, string sqlFileName ) : int | ||
SQL2XML ( string dbName, string sqlFileName, string xmlFileName ) : int | ||
SQLExecute ( string dbName, string sqlFileName ) : int | ||
XML2RDF ( string xmlFileName, string templateName ) : bool | ||
XML2RDF ( string xmlFileName, string templateName, string rdfFileName ) : bool | ||
XML2RDF ( string xmlFileName, string templateName, string rdfFileName, string namespaceURI ) : bool | ||
templateNames ( ) : String[] |
List possible template names (compiled within STELLAR.Xsl.dll)
|
Method | Description | |
---|---|---|
getNextColumnName ( |
used in CSV2DT to generate next column name when no column header row exists
|
|
getValidColumnName ( String colName ) : String |
used in CSV2DT to ensure table/column names are valid - punctuation and spaces replaced with underscores
|
|
getValidName ( String name ) : String | ||
getValidTableName ( String tblName ) : String | ||
trimQuotes ( String quotedString ) : String |
public static DBColumnSplit ( string dbName, string tableName, string columnName, string keyColumnName, char delimiter ) : int | ||
dbName | string | Database file name |
tableName | string | Database table name |
columnName | string | Name of field containing nested delimiters |
keyColumnName | string | Name of the key (ID) field from the specified table |
delimiter | char | Character used as delimiter in the column |
return | int |
public static DBColumns ( String dbName, String tableName ) : String[] | ||
dbName | String | Database file name |
tableName | String | Database table name |
return | String[] |
public static DBNames ( String path ) : String[] | ||
path | String | Directory path to be searched |
return | String[] |
public static DBRowCount ( String dbName, String tableName ) : int | ||
dbName | String | Database file name |
tableName | String | Database table name |
return | int |
public static DBTables ( String dbName ) : String[] | ||
dbName | String | Database file name |
return | String[] |
public static DT2DB ( String dbName, |
||
dbName | String | |
table | ||
append | bool | |
return | int |
public static DT2Delimited ( |
||
table | The DataTable to be used | |
fileName | String | The name of the delimited file to write, including absolute or relative path as appropriate |
delimiter | char | Delimiter character to be used |
return | int |
public static DT2STG ( |
||
table | DataTable to be converted | |
stgFileName | String | The name of the StringTemplateGroup file, including absolute or relative path as appropriate |
outFileName | String | The name of the file to write the output to |
return | int |
public static DT2STG ( |
||
table | ||
stgFileName | String | |
outFileName | String | |
optFileName | String | |
return | int |
public static DT2XML ( |
||
table | The DataTable to be used | |
xmlFileName | String | The name of the XML file to write, including absolute or relative path as appropriate |
return | int |
public static Delimited2DB ( string dbName, string fileName ) : int | ||
dbName | string | |
fileName | string | |
return | int |
public static Delimited2DB ( string dbName, string fileName, bool hasHeader ) : int | ||
dbName | string | |
fileName | string | |
hasHeader | bool | |
return | int |
public static Delimited2DB ( string dbName, string fileName, char delimiter ) : int | ||
dbName | string | |
fileName | string | |
delimiter | char | |
return | int |
public static Delimited2DB ( string dbName, string fileName, char delimiter, bool hasHeader ) : int | ||
dbName | string | |
fileName | string | |
delimiter | char | |
hasHeader | bool | |
return | int |
public static Delimited2DB ( string dbName, string fileName, string tableName ) : int | ||
dbName | string | |
fileName | string | |
tableName | string | |
return | int |
public static Delimited2DB ( string dbName, string fileName, string tableName, bool hasHeader ) : int | ||
dbName | string | |
fileName | string | |
tableName | string | |
hasHeader | bool | |
return | int |
public static Delimited2DB ( string dbName, string fileName, string tableName, bool hasHeader, bool append ) : int | ||
dbName | string | |
fileName | string | |
tableName | string | |
hasHeader | bool | |
append | bool | |
return | int |
public static Delimited2DB ( string dbName, string fileName, string tableName, char delimiter, bool hasHeader, bool append ) : int | ||
dbName | string | |
fileName | string | |
tableName | string | |
delimiter | char | |
hasHeader | bool | |
append | bool | |
return | int |
public static Delimited2DT ( string fileName ) : |
||
fileName | string | |
return |
public static Delimited2DT ( string fileName, bool hasHeader ) : |
||
fileName | string | |
hasHeader | bool | |
return |
public static Delimited2DT ( string fileName, bool hasHeader, int maxRows ) : |
||
fileName | string | |
hasHeader | bool | |
maxRows | int | |
return |
public static Delimited2DT ( string fileName, char delimiter ) : |
||
fileName | string | |
delimiter | char | |
return |
public static Delimited2DT ( string fileName, char delimiter, bool hasHeader ) : |
||
fileName | string | |
delimiter | char | |
hasHeader | bool | |
return |
public static Delimited2DT ( string fileName, char delimiter, bool hasHeader, int maxRows ) : |
||
fileName | string | The name of the delimited file to read, including absolute or relative path as appropriate |
delimiter | char | Delimiter character to be used |
hasHeader | bool | Is there a header row containing column names? If not they will be generated automatically |
maxRows | int | Only read this many rows (useful for testing with larger files) |
return |
public static Delimited2DT ( string fileName, char delimiter, int maxRows ) : |
||
fileName | string | |
delimiter | char | |
maxRows | int | |
return |
public static Delimited2DT ( string fileName, int maxRows ) : |
||
fileName | string | |
maxRows | int | |
return |
public static Delimited2RDF ( string fileName, string templateName ) : int | ||
fileName | string | |
templateName | string | |
return | int |
public static Delimited2RDF ( string fileName, string templateName, string rdfFileName ) : int | ||
fileName | string | |
templateName | string | |
rdfFileName | string | |
return | int |
public static Delimited2RDF ( string fileName, string templateName, string rdfFileName, bool hasHeader ) : int | ||
fileName | string | |
templateName | string | |
rdfFileName | string | |
hasHeader | bool | |
return | int |
public static Delimited2RDF ( string fileName, string templateName, string rdfFileName, string namespaceURI ) : int | ||
fileName | string | |
templateName | string | |
rdfFileName | string | |
namespaceURI | string | |
return | int |
public static Delimited2RDF ( string fileName, string templateName, string rdfFileName, string namespaceURI, bool hasHeader ) : int | ||
fileName | string | |
templateName | string | |
rdfFileName | string | |
namespaceURI | string | |
hasHeader | bool | |
return | int |
public static Delimited2RDF ( string fileName, string templateName, string rdfFileName, string namespaceURI, char delimiter, bool hasHeader ) : int | ||
fileName | string | |
templateName | string | |
rdfFileName | string | |
namespaceURI | string | |
delimiter | char | |
hasHeader | bool | |
return | int |
public static Delimited2STG ( string fileName, string stgFileName, string outFileName, char delimiter ) : int | ||
fileName | string | The name of the delimited file, including absolute or relative path as appropriate |
stgFileName | string | The name of the StringTemplateGroup file, including absolute or relative path as appropriate |
outFileName | string | The name of the file to write the output to |
delimiter | char | Delimiter character for the delimited file |
return | int |
public static Delimited2STG ( string fileName, string stgFileName, string outFileName, string optFileName, bool hasHeader, char delimiter ) : int | ||
fileName | string | |
stgFileName | string | |
outFileName | string | |
optFileName | string | |
hasHeader | bool | |
delimiter | char | |
return | int |
public static Delimited2STG ( string fileName, string stgFileName, string outFileName, string optFileName, char delimiter ) : int | ||
fileName | string | |
stgFileName | string | |
outFileName | string | |
optFileName | string | |
delimiter | char | |
return | int |
public static Delimited2XML ( string fileName ) : int | ||
fileName | string | |
return | int |
public static Delimited2XML ( string fileName, bool hasHeader ) : int | ||
fileName | string | |
hasHeader | bool | |
return | int |
public static Delimited2XML ( string fileName, char delimiter ) : int | ||
fileName | string | |
delimiter | char | |
return | int |
public static Delimited2XML ( string fileName, char delimiter, bool hasHeader ) : int | ||
fileName | string | |
delimiter | char | |
hasHeader | bool | |
return | int |
public static Delimited2XML ( string fileName, string xmlFileName ) : int | ||
fileName | string | |
xmlFileName | string | |
return | int |
public static Delimited2XML ( string fileName, string xmlFileName, bool hasHeader ) : int | ||
fileName | string | |
xmlFileName | string | |
hasHeader | bool | |
return | int |
public static Delimited2XML ( string fileName, string xmlFileName, char delimiter ) : int | ||
fileName | string | |
xmlFileName | string | |
delimiter | char | |
return | int |
public static Delimited2XML ( string fileName, string xmlFileName, char delimiter, bool hasHeader ) : int | ||
fileName | string | |
xmlFileName | string | |
delimiter | char | |
hasHeader | bool | |
return | int |
public static EscapeUnicode ( string input ) : string | ||
input | string | |
return | string |
public static SQL2DT ( string dbName, string sqlFileName ) : |
||
dbName | string | |
sqlFileName | string | |
return |
public static SQL2Delimited ( string dbName, string sqlFileName ) : int | ||
dbName | string | |
sqlFileName | string | |
return | int |
public static SQL2Delimited ( string dbName, string sqlFileName, char delimiter ) : int | ||
dbName | string | |
sqlFileName | string | |
delimiter | char | |
return | int |
public static SQL2Delimited ( string dbName, string sqlFileName, string outFileName ) : int | ||
dbName | string | |
sqlFileName | string | |
outFileName | string | |
return | int |
public static SQL2Delimited ( string dbName, string sqlFileName, string outFileName, char delimiter ) : int | ||
dbName | string | |
sqlFileName | string | |
outFileName | string | |
delimiter | char | |
return | int |
public static SQL2RDF ( string dbName, string sqlFileName, string templateName ) : int | ||
dbName | string | |
sqlFileName | string | |
templateName | string | |
return | int |
public static SQL2RDF ( string dbName, string sqlFileName, string templateName, string rdfFileName ) : int | ||
dbName | string | |
sqlFileName | string | |
templateName | string | |
rdfFileName | string | |
return | int |
public static SQL2RDF ( string dbName, string sqlFileName, string templateName, string rdfFileName, string namespaceURI ) : int | ||
dbName | string | |
sqlFileName | string | |
templateName | string | |
rdfFileName | string | |
namespaceURI | string | |
return | int |
public static SQL2STG ( string dbName, string sqlFileName, string stgFileName, string outFileName ) : int | ||
dbName | string | The name of the database file, including absolute or relative path as appropriate |
sqlFileName | string | The name of the SQL query file, including absolute or relative path as appropriate |
stgFileName | string | The name of the StringTemplateGroup file, including absolute or relative path as appropriate |
outFileName | string | The name of the file to write the output to |
return | int |
public static SQL2STG ( string dbName, string sqlFileName, string stgFileName, string outFileName, string optFileName ) : int | ||
dbName | string | |
sqlFileName | string | |
stgFileName | string | |
outFileName | string | |
optFileName | string | |
return | int |
public static SQL2XML ( string dbName, string sqlFileName ) : int | ||
dbName | string | |
sqlFileName | string | |
return | int |
public static SQL2XML ( string dbName, string sqlFileName, string xmlFileName ) : int | ||
dbName | string | |
sqlFileName | string | |
xmlFileName | string | |
return | int |
public static SQLExecute ( string dbName, string sqlFileName ) : int | ||
dbName | string | |
sqlFileName | string | |
return | int |
public static XML2RDF ( string xmlFileName, string templateName ) : bool | ||
xmlFileName | string | |
templateName | string | |
return | bool |
public static XML2RDF ( string xmlFileName, string templateName, string rdfFileName ) : bool | ||
xmlFileName | string | |
templateName | string | |
rdfFileName | string | |
return | bool |
public static XML2RDF ( string xmlFileName, string templateName, string rdfFileName, string namespaceURI ) : bool | ||
xmlFileName | string | |
templateName | string | |
rdfFileName | string | |
namespaceURI | string | |
return | bool |