Interface FBFlushableField

  • All Known Implementing Classes:
    FBLongVarCharField

    public interface FBFlushableField
    Instances of this field cache data in auto-commit case if no transaction is yet available and must be flushed before transaction is committed.
    Author:
    Roman Rokytskyy
    • Method Detail

      • flushCachedData

        void flushCachedData()
                      throws java.sql.SQLException
        Flush cached data to the database server.
        Throws:
        java.sql.SQLException - if something went wrong.
      • getCachedData

        byte[] getCachedData()
                      throws java.sql.SQLException
        Get cached data.
        Returns:
        cached object of this field.
        Throws:
        java.sql.SQLException - if something went wrong.
      • setCachedObject

        void setCachedObject​(FBFlushableField.CachedObject cachedObject)
                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException