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, release
getColumnTypeNames, getColumnTypesForQuery, timestampToQueryString
public Connection getConnection() throws SQLException
SqlManager
getConnection
in class SqlManager
SQLException
protected boolean hasOpenConnection()
protected void discardConnection(boolean doClose) throws SQLException
doClose
- if true, try to close the connection before forgetting it.SQLException
public void close() throws SQLException
ConnManager
close
in class SqlManager
SQLException
protected String getColNamesQuery(String tableName)
getColNamesQuery
in class SqlManager
public String getCurTimestampQuery()
protected static void markWarningPrinted()
public String escapeTableName(String tableName)
escapeTableName
in class ConnManager
tableName
- the table name as provided by the user, etc.public boolean supportsStagingForExport()
protected String getListDatabasesQuery()
protected String getSchemaQuery()
public String getVwPort() throws SQLException
SQLException
public String getVwConnectString() throws SQLException
SQLException
public String getVwAdmin() throws SQLException
SQLException
public String getVwVersionString() throws SQLException
SQLException
protected String getPrimaryKeyQuery(String tableName)
getPrimaryKeyQuery
in class SqlManager
public String getDriverClass()
getDriverClass
in class ConnManager
protected String getConnectionString()
getConnectionString
in class SqlManager
protected String getPassword()
getPassword
in class SqlManager
protected String getUserName()
getUserName
in class SqlManager
Copyright © 2016 Actian Corporation. All Rights Reserved.