Interface AvaticaSpecificDatabaseMetaData

All Superinterfaces:
DatabaseMetaData, Wrapper
All Known Implementing Classes:
AvaticaDatabaseMetaData

public interface AvaticaSpecificDatabaseMetaData extends DatabaseMetaData
Avatica additions to the JDBC DatabaseMetaData interface. An instance of this is can be obtained by using Wrapper.unwrap(Class) to cast an instance of DatabaseMetaData to AvaticaSpecificDatabaseMetaData. Wrapper.isWrapperFor(Class) can be used to ensure that the generic interface can be cast to the desired class.

A list of all available server-side properties is enumerated by Meta.DatabaseProperty. The name of the enum value will be the name of the key in the Properties returned.

Some properties defined in Meta.DatabaseProperty do not correspond to a typical JDBC method/property. Those are enumerated here:

"Avatica-Specific Properties"
PropertyMethod
AVATICA_VERSIONgetAvaticaServerVersion()
  • Method Details

    • getRemoteAvaticaProperties

      Properties getRemoteAvaticaProperties()
      Retrieves all Avatica-centric properties from the server. See Meta.DatabaseProperty for a list of properties that will be returned.
      Returns:
      A Properties instance containing Avatica properties.
    • getAvaticaServerVersion

      String getAvaticaServerVersion()
      Retrieves the Avatica version from the server.
      Returns:
      A string corresponding to the server's version.