Class LobDataFile

java.lang.Object
org.h2.value.lob.LobData
org.h2.value.lob.LobDataFile

public final class LobDataFile extends LobData
LOB data stored in a temporary file.
  • Field Details

    • handler

      private DataHandler handler
    • fileName

      private final String fileName
      If the LOB is a temporary LOB being managed by a temporary ResultSet, it is stored in a temporary file.
    • tempFile

      private final FileStore tempFile
  • Constructor Details

  • Method Details

    • remove

      public void remove(ValueLob value)
      Description copied from class: LobData
      Remove the underlying resource, if any. For values that are kept fully in memory this method has no effect.
      Overrides:
      remove in class LobData
      Parameters:
      value - to remove
    • getInputStream

      public InputStream getInputStream(long precision)
      Description copied from class: LobData
      Get stream to read LOB data from
      Specified by:
      getInputStream in class LobData
      Parameters:
      precision - octet length of the stream, or -1 if unknown
      Returns:
      stream to read LOB data from
    • getDataHandler

      public DataHandler getDataHandler()
      Overrides:
      getDataHandler in class LobData
    • toString

      public String toString()
      Overrides:
      toString in class Object