org.neodatis.odb.core.layers.layer3.engine
Interface IFileSystemInterface

All Known Implementing Classes:
FileSystemInterface, LocalFileSystemInterface, ServerFileSystemInterface

public interface IFileSystemInterface


Method Summary
 void clear()
           
 void close()
           
 boolean delete()
           
 void ensureSpaceFor(ODBType type)
           
 void flush()
           
 long getAvailablePosition()
           
 IBufferedIO getIo()
           
 long getLength()
           
 IBaseIdentification getParameters()
           
 long getPosition()
           
 java.math.BigDecimal readBigDecimal()
           
 java.math.BigDecimal readBigDecimal(java.lang.String label)
           
 byte[] readBigDecimalBytes()
           
 java.math.BigInteger readBigInteger()
           
 java.math.BigInteger readBigInteger(java.lang.String label)
           
 byte[] readBigIntegerBytes(boolean hasSize)
           
 boolean readBoolean()
           
 boolean readBoolean(java.lang.String label)
           
 byte[] readBooleanBytes()
           
 byte readByte()
           
 byte readByte(java.lang.String label)
           
 byte[] readBytes(int length)
           
 char readChar()
           
 char readChar(java.lang.String label)
           
 byte[] readCharBytes()
           
 java.util.Date readDate()
           
 java.util.Date readDate(java.lang.String label)
           
 byte[] readDateBytes()
           
 double readDouble()
           
 double readDouble(java.lang.String label)
           
 byte[] readDoubleBytes()
           
 float readFloat()
           
 float readFloat(java.lang.String label)
           
 byte[] readFloatBytes()
           
 int readInt()
           
 int readInt(java.lang.String label)
           
 byte[] readIntBytes()
           
 long readLong()
           
 long readLong(java.lang.String label)
           
 byte[] readLongBytes()
           
 byte[] readNativeAttributeBytes(int attributeType)
           
 short readShort()
           
 short readShort(java.lang.String label)
           
 byte[] readShortBytes()
           
 java.lang.String readString(boolean useEncoding)
           
 java.lang.String readString(boolean useEncoding, java.lang.String label)
           
 byte[] readStringBytes(boolean withSize)
           
 void setDatabaseCharacterEncoding(java.lang.String databaseCharacterEncoding)
           
 void setReadPosition(long position)
           
 void setWritePosition(long position, boolean writeInTransacation)
           
 void setWritePositionNoVerification(long position, boolean writeInTransacation)
          Does the same thing than setWritePosition, but do not control write position
 void useBuffer(boolean useBuffer)
           
 void writeBigDecimal(java.math.BigDecimal d, boolean writeInTransaction)
           
 void writeBigInteger(java.math.BigInteger d, boolean writeInTransaction)
           
 void writeBoolean(boolean b, boolean writeInTransaction)
           
 void writeBoolean(boolean b, boolean writeInTransaction, java.lang.String label)
           
 void writeByte(byte i, boolean writeInTransaction)
           
 void writeByte(byte i, boolean writeInTransaction, java.lang.String label)
           
 void writeBytes(byte[] bytes, boolean writeInTransaction, java.lang.String label)
           
 void writeChar(char c, boolean writeInTransaction)
           
 void writeDate(java.util.Date d, boolean writeInTransaction)
           
 void writeDouble(double d, boolean writeInTransaction)
           
 void writeFloat(float f, boolean writeInTransaction)
           
 void writeInt(int i, boolean writeInTransaction, java.lang.String label)
           
 void writeLong(long i, boolean writeInTransaction, java.lang.String label, int writeActionType)
           
 void writeShort(short s, boolean writeInTransaction)
           
 void writeString(java.lang.String s, boolean writeInTransaction, boolean useEncoding)
           
 void writeString(java.lang.String s, boolean writeInTransaction, boolean useEncoding, int totalSpace)
           
 

Method Detail

useBuffer

void useBuffer(boolean useBuffer)

flush

void flush()

getPosition

long getPosition()

getLength

long getLength()

setWritePositionNoVerification

void setWritePositionNoVerification(long position,
                                    boolean writeInTransacation)
Does the same thing than setWritePosition, but do not control write position

Parameters:
position -
writeInTransacation -

setWritePosition

void setWritePosition(long position,
                      boolean writeInTransacation)

setReadPosition

void setReadPosition(long position)

getAvailablePosition

long getAvailablePosition()

ensureSpaceFor

void ensureSpaceFor(ODBType type)

writeByte

void writeByte(byte i,
               boolean writeInTransaction)

writeByte

void writeByte(byte i,
               boolean writeInTransaction,
               java.lang.String label)

readByte

byte readByte()

readByte

byte readByte(java.lang.String label)

writeBytes

void writeBytes(byte[] bytes,
                boolean writeInTransaction,
                java.lang.String label)

readBytes

byte[] readBytes(int length)

writeChar

void writeChar(char c,
               boolean writeInTransaction)

readCharBytes

byte[] readCharBytes()

readChar

char readChar()

readChar

char readChar(java.lang.String label)

writeShort

void writeShort(short s,
                boolean writeInTransaction)

readShortBytes

byte[] readShortBytes()

readShort

short readShort()

readShort

short readShort(java.lang.String label)

writeInt

void writeInt(int i,
              boolean writeInTransaction,
              java.lang.String label)

readIntBytes

byte[] readIntBytes()

readInt

int readInt()

readInt

int readInt(java.lang.String label)

writeLong

void writeLong(long i,
               boolean writeInTransaction,
               java.lang.String label,
               int writeActionType)

readLongBytes

byte[] readLongBytes()

readLong

long readLong()

readLong

long readLong(java.lang.String label)

writeFloat

void writeFloat(float f,
                boolean writeInTransaction)

readFloatBytes

byte[] readFloatBytes()

readFloat

float readFloat()

readFloat

float readFloat(java.lang.String label)

writeDouble

void writeDouble(double d,
                 boolean writeInTransaction)

readDoubleBytes

byte[] readDoubleBytes()

readDouble

double readDouble()

readDouble

double readDouble(java.lang.String label)

writeBigDecimal

void writeBigDecimal(java.math.BigDecimal d,
                     boolean writeInTransaction)

readBigDecimalBytes

byte[] readBigDecimalBytes()

readBigDecimal

java.math.BigDecimal readBigDecimal()

readBigDecimal

java.math.BigDecimal readBigDecimal(java.lang.String label)

writeBigInteger

void writeBigInteger(java.math.BigInteger d,
                     boolean writeInTransaction)

readBigIntegerBytes

byte[] readBigIntegerBytes(boolean hasSize)

readBigInteger

java.math.BigInteger readBigInteger()

readBigInteger

java.math.BigInteger readBigInteger(java.lang.String label)

writeDate

void writeDate(java.util.Date d,
               boolean writeInTransaction)

readDateBytes

byte[] readDateBytes()

readDate

java.util.Date readDate()

readDate

java.util.Date readDate(java.lang.String label)

writeString

void writeString(java.lang.String s,
                 boolean writeInTransaction,
                 boolean useEncoding)

writeString

void writeString(java.lang.String s,
                 boolean writeInTransaction,
                 boolean useEncoding,
                 int totalSpace)

readStringBytes

byte[] readStringBytes(boolean withSize)

readString

java.lang.String readString(boolean useEncoding)

readString

java.lang.String readString(boolean useEncoding,
                            java.lang.String label)

writeBoolean

void writeBoolean(boolean b,
                  boolean writeInTransaction)

writeBoolean

void writeBoolean(boolean b,
                  boolean writeInTransaction,
                  java.lang.String label)

readBooleanBytes

byte[] readBooleanBytes()

readBoolean

boolean readBoolean()

readBoolean

boolean readBoolean(java.lang.String label)

readNativeAttributeBytes

byte[] readNativeAttributeBytes(int attributeType)

close

void close()

clear

void clear()

getParameters

IBaseIdentification getParameters()
Returns:
Returns the parameters.

delete

boolean delete()

getIo

IBufferedIO getIo()

setDatabaseCharacterEncoding

void setDatabaseCharacterEncoding(java.lang.String databaseCharacterEncoding)