Top Description Constructors Methods
org.h2.value.lob

public abstract Class LobData

extends Object
Class Inheritance
Known Direct Subclasses
org.h2.value.lob.LobDataDatabase, org.h2.value.lob.LobDataFetchOnDemand, org.h2.value.lob.LobDataFile, org.h2.value.lob.LobDataInMemory
Imports
java.io.InputStream, org.h2.store.DataHandler, org.h2.value.ValueLob

LOB data.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public DataHandler
public abstract InputStream

Returns:

stream to read LOB data from
getInputStream
(long
octet length of the stream, or -1 if unknown
precision
)

Get stream to read LOB data from

public int

Returns:

the memory used in bytes
getMemory
()

Get the memory used by this object.

public boolean
public void
remove(ValueLob
to remove
value
)

Remove the underlying resource, if any.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

LobDataback to summary
pack-priv LobData()

Method Detail

getDataHandlerback to summary
public DataHandler getDataHandler()
getInputStreamback to summary
public abstract InputStream getInputStream(long precision)

Get stream to read LOB data from

Parameters
precision:long

octet length of the stream, or -1 if unknown

Returns:InputStream

stream to read LOB data from

getMemoryback to summary
public int getMemory()

Get the memory used by this object.

Returns:int

the memory used in bytes

isLinkedToTableback to summary
public boolean isLinkedToTable()
removeback to summary
public void remove(ValueLob value)

Remove the underlying resource, if any. For values that are kept fully in memory this method has no effect.

Parameters
value:ValueLob

to remove