| Modifier and Type | Field and Description |
|---|---|
| pack-priv final HsqlByteArrayInputStream | |
| pack-priv final byte[] | |
| pack-priv static final long | |
| pack-priv long | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv final boolean | |
| pack-priv final RandomAccessFile | |
| pack-priv final FileDescriptor | |
| pack-priv long | |
| pack-priv final String | |
| pack-priv final EventLogInterface | |
| private final boolean | |
| pack-priv long | |
| pack-priv final byte[] | |
| pack-priv final HsqlByteArrayInputStream | |
| pack-priv final HsqlByteArrayOutputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv | RAFile(EventLogInterface logger, String name, boolean readonly, boolean extendLengthToBlock, boolean commitOnChange)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| private void | extendLength(long position)
Some old JVM's do not allow seek beyond end of file, so zeros must be written first in that case. |
| private long | |
| public long | |
| public boolean | |
| public long | |
| pack-priv static RandomAccessInterface | newScaledRAFile(Database database, String name, boolean readonly, int type)
seekPosition is the position in seek() calls or after reading or writing realPosition is the file position |
| public int | |
| public void | |
| public int | |
| private void | |
| public long | |
| private void | |
| public void | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| private int |
| ba | back to summary |
|---|---|
| pack-priv final HsqlByteArrayInputStream ba | |
| buffer | back to summary |
|---|---|
| pack-priv final byte[] buffer | |
| bufferMask | back to summary |
|---|---|
| pack-priv static final long bufferMask | |
| bufferOffset | back to summary |
|---|---|
| pack-priv long bufferOffset | |
| bufferScale | back to summary |
|---|---|
| pack-priv static final int bufferScale | |
| bufferSize | back to summary |
|---|---|
| pack-priv static final int bufferSize | |
| cacheHit | back to summary |
|---|---|
| pack-priv int cacheHit | |
| DATA_FILE_JAR | back to summary |
|---|---|
| pack-priv static final int DATA_FILE_JAR | |
| DATA_FILE_NIO | back to summary |
|---|---|
| pack-priv static final int DATA_FILE_NIO | |
| DATA_FILE_RAF | back to summary |
|---|---|
| pack-priv static final int DATA_FILE_RAF | |
| DATA_FILE_SINGLE | back to summary |
|---|---|
| pack-priv static final int DATA_FILE_SINGLE | |
| DATA_FILE_STORED | back to summary |
|---|---|
| pack-priv static final int DATA_FILE_STORED | |
| DATA_FILE_TEXT | back to summary |
|---|---|
| pack-priv static final int DATA_FILE_TEXT | |
| extendLength | back to summary |
|---|---|
| pack-priv final boolean extendLength | |
| file | back to summary |
|---|---|
| pack-priv final RandomAccessFile file | |
| fileDescriptor | back to summary |
|---|---|
| pack-priv final FileDescriptor fileDescriptor | |
| fileLength | back to summary |
|---|---|
| pack-priv long fileLength | |
| fileName | back to summary |
|---|---|
| pack-priv final String fileName | |
| logger | back to summary |
|---|---|
| pack-priv final EventLogInterface logger | |
| readOnly | back to summary |
|---|---|
| private final boolean readOnly | |
| seekPosition | back to summary |
|---|---|
| pack-priv long seekPosition | |
| valueBuffer | back to summary |
|---|---|
| pack-priv final byte[] valueBuffer | |
| vbai | back to summary |
|---|---|
| pack-priv final HsqlByteArrayInputStream vbai | |
| vbao | back to summary |
|---|---|
| pack-priv final HsqlByteArrayOutputStream vbao | |
| RAFile | back to summary |
|---|---|
| pack-priv RAFile(EventLogInterface logger, String name, boolean readonly, boolean extendLengthToBlock, boolean commitOnChange) throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements org. | |
| ensureLength | back to summary |
|---|---|
| public boolean ensureLength(long newLength) Implements org. | |
| extendLength | back to summary |
|---|---|
| private void extendLength(long position) throws IOException Some old JVM's do not allow seek beyond end of file, so zeros must be written first in that case. Reported by bohgammer@users in Open Disucssion Forum. | |
| getExtendLength | back to summary |
|---|---|
| private long getExtendLength(long position) | |
| getFilePointer | back to summary |
|---|---|
| public long getFilePointer() Implements org. | |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly() Implements org. | |
| length | back to summary |
|---|---|
| public long length() throws IOException Implements org. | |
| newScaledRAFile | back to summary |
|---|---|
| pack-priv static RandomAccessInterface newScaledRAFile(Database database, String name, boolean readonly, int type) throws IOException seekPosition is the position in seek() calls or after reading or writing realPosition is the file position | |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements org. | |
| read | back to summary |
|---|---|
| public void read(byte[] b, int offset, int length) throws IOException Implements org. | |
| readInt | back to summary |
|---|---|
| public int readInt() throws IOException Implements org. | |
| readIntoBuffer | back to summary |
|---|---|
| private void readIntoBuffer() throws IOException | |
| readLong | back to summary |
|---|---|
| public long readLong() throws IOException Implements org. | |
| resetPointer | back to summary |
|---|---|
| private void resetPointer() | |
| seek | back to summary |
|---|---|
| public void seek(long position) throws IOException Implements org. | |
| setLength | back to summary |
|---|---|
| public boolean setLength(long newLength) Implements org. | |
| synch | back to summary |
|---|---|
| public void synch() Implements org. | |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int length) throws IOException Implements org. | |
| writeInt | back to summary |
|---|---|
| public void writeInt(int i) throws IOException Implements org. | |
| writeLong | back to summary |
|---|---|
| public void writeLong(long i) throws IOException Implements org. | |
| writeToBuffer | back to summary |
|---|---|
| private int writeToBuffer(byte[] b, int off, int len) | |