Top Fields Constructors Methods
org.hsqldb.persist

public Class LobStoreInJar

extends Object
implements LobStore
Class Inheritance
All Implemented Interfaces
org.hsqldb.persist.LobStore
Imports
java.io.DataInputStream, .FileNotFoundException, .IOException, .InputStream, org.hsqldb.Database, org.hsqldb.error.Error, .ErrorCode

Author
Fred Toussi (fredt@users dot sourceforge.net)
Since
1.9.0
Version
2.3.0

Field Summary

Modifier and TypeField and Description
pack-priv Database
pack-priv DataInputStream
pack-priv final String
pack-priv final int
pack-priv long

Constructor Summary

AccessConstructor and Description
public
LobStoreInJar(Database database, int lobBlockSize)

Method Summary

Modifier and TypeMethod and Description
public void
private void
fileSeek(long position)

public byte[]
getBlockBytes(int blockAddress, int blockCount)

Implements org.hsqldb.persist.LobStore.getBlockBytes.

public int
public long
private void
public void
setBlockBytes(byte[] dataBytes, int blockAddress, int blockCount)

Implements org.hsqldb.persist.LobStore.setBlockBytes.

public void
setBlockBytes(byte[] dataBytes, long position, int offset, int length)

Implements org.hsqldb.persist.LobStore.setBlockBytes.

public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

databaseback to summary
pack-priv Database database
dataInputback to summary
pack-priv DataInputStream dataInput
fileNameback to summary
pack-priv final String fileName
lobBlockSizeback to summary
pack-priv final int lobBlockSize
realPositionback to summary
pack-priv long realPosition

Constructor Detail

LobStoreInJarback to summary
public LobStoreInJar(Database database, int lobBlockSize)

Method Detail

closeback to summary
public void close()

Implements org.hsqldb.persist.LobStore.close.

fileSeekback to summary
private void fileSeek(long position) throws IOException
getBlockBytesback to summary
public byte[] getBlockBytes(int blockAddress, int blockCount)

Implements org.hsqldb.persist.LobStore.getBlockBytes.

getBlockSizeback to summary
public int getBlockSize()

Implements org.hsqldb.persist.LobStore.getBlockSize.

getLengthback to summary
public long getLength()

Implements org.hsqldb.persist.LobStore.getLength.

resetStreamback to summary
private void resetStream() throws IOException
setBlockBytesback to summary
public void setBlockBytes(byte[] dataBytes, int blockAddress, int blockCount)

Implements org.hsqldb.persist.LobStore.setBlockBytes.

setBlockBytesback to summary
public void setBlockBytes(byte[] dataBytes, long position, int offset, int length)

Implements org.hsqldb.persist.LobStore.setBlockBytes.

setLengthback to summary
public void setLength(long length)

Implements org.hsqldb.persist.LobStore.setLength.

synchback to summary
public void synch()

Implements org.hsqldb.persist.LobStore.synch.