public interface Meta
Also holds other abstract methods that are not related to metadata that each provider must implement. This is not ideal.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Meta.ConnectionHandle
Connection handle.
|
static class |
Meta.CursorFactory
|
static interface |
Meta.Factory
Factory to create instances of
Meta. |
static class |
Meta.MetaResultSet
Meta data from which a result set can be constructed.
|
static class |
Meta.Pat
Wrapper to remind API calls that a parameter is a pattern (allows '%' and
'_' wildcards, per the JDBC spec) rather than a string to be matched
exactly.
|
static interface |
Meta.PrepareCallback
API to put a result set into a statement, being careful to enforce
thread-safety and not to overwrite existing open result sets.
|
static class |
Meta.Signature
Result of preparing a statement.
|
static class |
Meta.StatementHandle
Statement handle.
|
static class |
Meta.Style
How logical fields are represented in the objects returned by the
iterator.
|
String getSqlKeywords()
String getNumericFunctions()
String getStringFunctions()
String getSystemFunctions()
String getTimeDateFunctions()
Meta.MetaResultSet getTables(String catalog, Meta.Pat schemaPattern, Meta.Pat tableNamePattern, List<String> typeList)
Meta.MetaResultSet getColumns(String catalog, Meta.Pat schemaPattern, Meta.Pat tableNamePattern, Meta.Pat columnNamePattern)
Meta.MetaResultSet getSchemas(String catalog, Meta.Pat schemaPattern)
Meta.MetaResultSet getCatalogs()
Meta.MetaResultSet getTableTypes()
Meta.MetaResultSet getProcedures(String catalog, Meta.Pat schemaPattern, Meta.Pat procedureNamePattern)
Meta.MetaResultSet getProcedureColumns(String catalog, Meta.Pat schemaPattern, Meta.Pat procedureNamePattern, Meta.Pat columnNamePattern)
Meta.MetaResultSet getColumnPrivileges(String catalog, String schema, String table, Meta.Pat columnNamePattern)
Meta.MetaResultSet getTablePrivileges(String catalog, Meta.Pat schemaPattern, Meta.Pat tableNamePattern)
Meta.MetaResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)
Meta.MetaResultSet getVersionColumns(String catalog, String schema, String table)
Meta.MetaResultSet getPrimaryKeys(String catalog, String schema, String table)
Meta.MetaResultSet getImportedKeys(String catalog, String schema, String table)
Meta.MetaResultSet getExportedKeys(String catalog, String schema, String table)
Meta.MetaResultSet getCrossReference(String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable)
Meta.MetaResultSet getTypeInfo()
Meta.MetaResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)
Meta.MetaResultSet getUDTs(String catalog, Meta.Pat schemaPattern, Meta.Pat typeNamePattern, int[] types)
Meta.MetaResultSet getSuperTypes(String catalog, Meta.Pat schemaPattern, Meta.Pat typeNamePattern)
Meta.MetaResultSet getSuperTables(String catalog, Meta.Pat schemaPattern, Meta.Pat tableNamePattern)
Meta.MetaResultSet getAttributes(String catalog, Meta.Pat schemaPattern, Meta.Pat typeNamePattern, Meta.Pat attributeNamePattern)
Meta.MetaResultSet getClientInfoProperties()
Meta.MetaResultSet getFunctions(String catalog, Meta.Pat schemaPattern, Meta.Pat functionNamePattern)
Meta.MetaResultSet getFunctionColumns(String catalog, Meta.Pat schemaPattern, Meta.Pat functionNamePattern, Meta.Pat columnNamePattern)
Meta.MetaResultSet getPseudoColumns(String catalog, Meta.Pat schemaPattern, Meta.Pat tableNamePattern, Meta.Pat columnNamePattern)
Iterable<Object> createIterable(Meta.StatementHandle handle, Meta.Signature signature, Iterable<Object> iterable)
The default implementation just returns iterable, which it
requires to be not null; derived classes may instead choose to execute the
relational expression in signature.
Meta.Signature prepare(Meta.StatementHandle h, String sql, int maxRowCount)
h - Statement handlesql - SQL querymaxRowCount - Negative for no limit (different meaning than JDBC)Meta.MetaResultSet prepareAndExecute(Meta.StatementHandle h, String sql, int maxRowCount, Meta.PrepareCallback callback)
h - Statement handlesql - SQL querymaxRowCount - Negative for no limit (different meaning than JDBC)callback - Callback to lock, clear and assign cursorMeta.StatementHandle createStatement(Meta.ConnectionHandle ch)
ch - Connection handleCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.