- All Known Implementing Classes:
FBLongVarCharField
@NullMarked
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
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
Flush cached data to the database server.byte @Nullable []
Get cached data.void
setCachedObject
(FBFlushableField.CachedObject cachedObject)
-
Method Details
-
flushCachedData
Flush cached data to the database server.- Throws:
SQLException
- if something went wrong.
-
getCachedData
Get cached data.- Returns:
- cached object of this field.
- Throws:
SQLException
- if something went wrong.
-
getCachedObject
- Throws:
SQLException
-
setCachedObject
- Throws:
SQLException
-