public class VectorwiseManager extends SqlManager
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
DEFAULT_FETCH_SIZE| Constructor and Description |
|---|
VectorwiseManager(String jdbcUrl,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Perform any shutdown operations on the connection.
|
protected void |
discardConnection(boolean doClose)
Any reference to the connection managed by this manager is nulled.
|
String |
escapeTableName(String tableName)
When using a table name in a generated SQL query, how (if at all) should
we escape that column name? e.g., a table named "table" may need to be
quoted with double-quotes: "table".
|
protected String |
getColNamesQuery(String tableName) |
Connection |
getConnection()
Retrieve the actual connection from the outer ConnManager.
|
protected String |
getConnectionString() |
String |
getCurTimestampQuery()
Vectorwsie does not support the CURRENT_TIMESTAMP() function.
|
String |
getDriverClass() |
protected String |
getListColumnsQuery(String tableName) |
protected String |
getListDatabasesQuery() |
protected String |
getPassword() |
String[] |
getPrimaryKeyColNames(String tableName) |
protected String |
getPrimaryKeyQuery(String tableName) |
protected String |
getSchemaQuery() |
protected String |
getUserName() |
String |
getVwAdmin() |
String |
getVwConnectString() |
String |
getVwPort() |
String |
getVwVersionString() |
protected boolean |
hasOpenConnection() |
protected static void |
markWarningPrinted()
Set a flag to prevent printing the --direct warning twice.
|
boolean |
supportsStagingForExport() |
execute, execute, getColTypesQuery, getColumnDataForRawQuery, getColumnTypeNamesForQuery, getColumnTypeNamesForRawQuery, getColumnTypeNamesForTable, getMetadataIsolationLevel, getPrimaryKeyColDetails, getPrimaryKeyColumnNames, makeConnection, releasegetColumnTypeNames, getColumnTypesForQuery, timestampToQueryStringpublic Connection getConnection() throws SQLException
SqlManagergetConnection in class SqlManagerSQLExceptionprotected boolean hasOpenConnection()
protected void discardConnection(boolean doClose)
throws SQLException
doClose - if true, try to close the connection before forgetting it.SQLExceptionpublic void close()
throws SQLException
ConnManagerclose in class SqlManagerSQLExceptionprotected String getColNamesQuery(String tableName)
getColNamesQuery in class SqlManagerpublic String getCurTimestampQuery()
protected static void markWarningPrinted()
public String escapeTableName(String tableName)
escapeTableName in class ConnManagertableName - the table name as provided by the user, etc.public boolean supportsStagingForExport()
protected String getListDatabasesQuery()
protected String getSchemaQuery()
public String getVwPort() throws SQLException
SQLExceptionpublic String getVwConnectString() throws SQLException
SQLExceptionpublic String getVwAdmin() throws SQLException
SQLExceptionpublic String getVwVersionString() throws SQLException
SQLExceptionprotected String getPrimaryKeyQuery(String tableName)
getPrimaryKeyQuery in class SqlManagerpublic String getDriverClass()
getDriverClass in class ConnManagerprotected String getConnectionString()
getConnectionString in class SqlManagerprotected String getPassword()
getPassword in class SqlManagerprotected String getUserName()
getUserName in class SqlManagerCopyright © 2015 Actian Corporation. All Rights Reserved.