Class LobDataFile


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

      • fileName

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

      • LobDataFile

        public LobDataFile​(DataHandler handler,
                           java.lang.String fileName,
                           FileStore tempFile)
    • Method Detail

      • 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 java.io.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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object