Klasse CDOClob
CDOClobs are immutable. Once created, their ID and size do not change.
The ID is a digest of the content of the clob, SHA-1 by default (see CDOLobStoreImpl.DEFAULT_DIGEST_ALGORITHM).
CDOClobs can be created from a Reader, or a String.
On the client side, CDOClobs are created with a reference to a CDOLobStore, which is used to store and retrieve
the clob's content. On the server side, CDOClobs are created without a store reference and are always retrieved from
the repository's IStore.
The default CDOLobStore implementation is CDOLobStoreImpl.INSTANCE, which stores clobs in the local file system.
But on the client side, it's often more efficient to use a dedicated CDOLobStore instance that stores clobs in
a CDOSession-specific cache location. See CDOSession.Options.setLobCache(CDOLobStore) for details.
See also CDOSession.newClob(Reader) and CDOSession.newClob(String) for convenient ways to create CDOClobs.
- Seit:
- 4.0
- Autor:
- Eike Stepper
-
Feldübersicht
Von Klasse geerbte Felder org.eclipse.emf.cdo.common.lob.CDOLob
DEFAULT_STORE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCDOClob(Reader contents, CDOLobStore store) CDOClob(String contents, CDOLobStore store) -
Methodenübersicht
Von Klasse geerbte Methoden org.eclipse.emf.cdo.common.lob.CDOLob
getByteCount, getStoreVon Klasse geerbte Methoden org.eclipse.emf.cdo.common.lob.CDOLobInfo
equals, getID, getIDString, getSize, hashCode, toString
-
Konstruktordetails
-
CDOClob
- Löst aus:
IOException
-
CDOClob
- Löst aus:
IOException
-
CDOClob
- Löst aus:
IOException- Seit:
- 4.27
-
CDOClob
- Löst aus:
IOException- Seit:
- 4.13
-
-
Methodendetails
-
getStoreFile
- Angegeben von:
getStoreFilein KlasseCDOLob<Reader>
-
getContents
- Angegeben von:
getContentsin KlasseCDOLob<Reader>- Löst aus:
IOException
-
getString
- Angegeben von:
getStringin KlasseCDOLob<Reader>- Löst aus:
IOException- Seit:
- 4.13
-
copyTo
- Löst aus:
IOException- Seit:
- 4.27
-
put
- Angegeben von:
putin KlasseCDOLob<Reader>- Löst aus:
IOException
-