| Modifier and Type | Class and Description |
|---|---|
static class |
JdbcMeta.ConnectionCacheSettings
Configurable connection cache settings.
|
static class |
JdbcMeta.StatementCacheSettings
Configurable statement cache settings.
|
Meta.ConnectionHandle, Meta.ConnectionProperties, Meta.CursorFactory, Meta.DatabaseProperty, Meta.ExecuteResult, Meta.Factory, Meta.Frame, Meta.MetaResultSet, Meta.Pat, Meta.PrepareCallback, Meta.Signature, Meta.StatementHandle, Meta.Style| Constructor and Description |
|---|
JdbcMeta(String url) |
JdbcMeta(String url,
Properties info) |
JdbcMeta(String url,
String user,
String password) |
public JdbcMeta(String url) throws SQLException
url - a database url of the form
jdbc:subprotocol:subnameSQLExceptionpublic JdbcMeta(String url, String user, String password) throws SQLException
url - a database url of the form
jdbc:subprotocol:subnameuser - the database user on whose behalf the connection is being
madepassword - the user's passwordSQLExceptionpublic JdbcMeta(String url, Properties info) throws SQLException
url - a database url of the form
jdbc:subprotocol:subnameinfo - a list of arbitrary string tag/value pairs as
connection arguments; normally at least a "user" and
"password" property should be includedSQLExceptionprotected static List<ColumnMetaData> columns(ResultSetMetaData metaData) throws SQLException
SQLExceptionprotected static List<AvaticaParameter> parameters(ParameterMetaData metaData) throws SQLException
SQLExceptionprotected static Meta.Signature signature(ResultSetMetaData metaData, ParameterMetaData parameterMetaData, String sql) throws SQLException
SQLExceptionprotected static Meta.Signature signature(ResultSetMetaData metaData) throws SQLException
SQLExceptionpublic Map<Meta.DatabaseProperty,Object> getDatabaseProperties()
getDatabaseProperties in interface Metapublic Meta.MetaResultSet getTables(String catalog, Meta.Pat schemaPattern, Meta.Pat tableNamePattern, List<String> typeList)
public Meta.MetaResultSet getColumns(String catalog, Meta.Pat schemaPattern, Meta.Pat tableNamePattern, Meta.Pat columnNamePattern)
getColumns in interface Metapublic Meta.MetaResultSet getSchemas(String catalog, Meta.Pat schemaPattern)
getSchemas in interface Metapublic Meta.MetaResultSet getCatalogs()
getCatalogs in interface Metapublic Meta.MetaResultSet getTableTypes()
getTableTypes in interface Metapublic Meta.MetaResultSet getProcedures(String catalog, Meta.Pat schemaPattern, Meta.Pat procedureNamePattern)
getProcedures in interface Metapublic Meta.MetaResultSet getProcedureColumns(String catalog, Meta.Pat schemaPattern, Meta.Pat procedureNamePattern, Meta.Pat columnNamePattern)
getProcedureColumns in interface Metapublic Meta.MetaResultSet getColumnPrivileges(String catalog, String schema, String table, Meta.Pat columnNamePattern)
getColumnPrivileges in interface Metapublic Meta.MetaResultSet getTablePrivileges(String catalog, Meta.Pat schemaPattern, Meta.Pat tableNamePattern)
getTablePrivileges in interface Metapublic Meta.MetaResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)
getBestRowIdentifier in interface Metapublic Meta.MetaResultSet getVersionColumns(String catalog, String schema, String table)
getVersionColumns in interface Metapublic Meta.MetaResultSet getPrimaryKeys(String catalog, String schema, String table)
getPrimaryKeys in interface Metapublic Meta.MetaResultSet getImportedKeys(String catalog, String schema, String table)
getImportedKeys in interface Metapublic Meta.MetaResultSet getExportedKeys(String catalog, String schema, String table)
getExportedKeys in interface Metapublic Meta.MetaResultSet getCrossReference(String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable)
getCrossReference in interface Metapublic Meta.MetaResultSet getTypeInfo()
getTypeInfo in interface Metapublic Meta.MetaResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)
getIndexInfo in interface Metapublic Meta.MetaResultSet getUDTs(String catalog, Meta.Pat schemaPattern, Meta.Pat typeNamePattern, int[] types)
public Meta.MetaResultSet getSuperTypes(String catalog, Meta.Pat schemaPattern, Meta.Pat typeNamePattern)
getSuperTypes in interface Metapublic Meta.MetaResultSet getSuperTables(String catalog, Meta.Pat schemaPattern, Meta.Pat tableNamePattern)
getSuperTables in interface Metapublic Meta.MetaResultSet getAttributes(String catalog, Meta.Pat schemaPattern, Meta.Pat typeNamePattern, Meta.Pat attributeNamePattern)
getAttributes in interface Metapublic Meta.MetaResultSet getClientInfoProperties()
getClientInfoProperties in interface Metapublic Meta.MetaResultSet getFunctions(String catalog, Meta.Pat schemaPattern, Meta.Pat functionNamePattern)
getFunctions in interface Metapublic Meta.MetaResultSet getFunctionColumns(String catalog, Meta.Pat schemaPattern, Meta.Pat functionNamePattern, Meta.Pat columnNamePattern)
getFunctionColumns in interface Metapublic Meta.MetaResultSet getPseudoColumns(String catalog, Meta.Pat schemaPattern, Meta.Pat tableNamePattern, Meta.Pat columnNamePattern)
getPseudoColumns in interface Metapublic Iterable<Object> createIterable(Meta.StatementHandle handle, Meta.Signature signature, List<TypedValue> parameterValues, Meta.Frame firstFrame)
createIterable in interface Metaprotected Connection getConnection(String id) throws SQLException
SQLExceptionpublic Meta.StatementHandle createStatement(Meta.ConnectionHandle ch)
createStatement in interface Metapublic void closeStatement(Meta.StatementHandle h)
closeStatement in interface Metapublic void closeConnection(Meta.ConnectionHandle ch)
closeConnection in interface Metaprotected void apply(Connection conn, Meta.ConnectionProperties connProps) throws SQLException
SQLExceptionpublic Meta.ConnectionProperties connectionSync(Meta.ConnectionHandle ch, Meta.ConnectionProperties connProps)
connectionSync in interface Metapublic Meta.StatementHandle prepare(Meta.ConnectionHandle ch, String sql, int maxRowCount)
public Meta.ExecuteResult prepareAndExecute(Meta.ConnectionHandle ch, String sql, int maxRowCount, Meta.PrepareCallback callback)
prepareAndExecute in interface Metapublic Meta.Frame fetch(Meta.StatementHandle h, List<TypedValue> parameterValues, int offset, int fetchMaxRowCount)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.