Interface SegmentMetadataReadTransaction

All Superinterfaces:
AutoCloseable, Closeable, DatasourceSegmentMetadataReader
All Known Subinterfaces:
SegmentMetadataTransaction

public interface SegmentMetadataReadTransaction extends DatasourceSegmentMetadataReader, Closeable
Represents a single transaction involving read of segment metadata into the metadata store. A transaction is associated with a single instance of a Handle and is meant to be short-lived.
  • Method Details

    • getHandle

      org.skife.jdbi.v2.Handle getHandle()
      Returns:
      The JDBI handle used in this transaction
    • noCacheSql

      Returns:
      SQL tool to read or update the metadata store directly.
    • close

      void close()
      Completes the transaction by either committing it or rolling it back.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable