Class MetaData

All Implemented Interfaces:
Closeable, AutoCloseable, Configurable<MetaData>, ResultBearing

public final class MetaData extends Object implements ResultBearing
Access to Database Metadata.
  • Constructor Details

  • Method Details

    • scanResultSet

      public <R> R scanResultSet(ResultSetScanner<R> mapper)
      Description copied from interface: ResultBearing
      Invokes the mapper with a result set supplier, and returns the value returned by the mapper.
      Specified by:
      scanResultSet in interface ResultBearing
      Type Parameters:
      R - result type returned by the mapper.
      mapper - result set scanner
      the value returned by the mapper.
    • execute

      public <R> R execute()
    • getHandle

      public Handle getHandle()
    • getConfig

      public ConfigRegistry getConfig()
      Description copied from interface: Configurable
      Returns the configuration registry associated with this object.
      Specified by:
      getConfig in interface Configurable<This>
      the configuration registry associated with this object.
    • getContext

      public final StatementContext getContext()
      the statement context associated with this statement
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable