Package db
Class SparseRecord
- java.lang.Object
-
- db.DBRecord
-
- db.SparseRecord
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidread(Buffer buf, int offset)Read the record field data from the specified buffer and offsetvoidsetBooleanValue(int colIndex, boolean value)Set the boolean value for the specified field.voidsetByteValue(int colIndex, byte value)Set the byte value for the specified field.voidsetField(int colIndex, Field value)Set the field value for the specified field.voidsetIntValue(int colIndex, int value)Set the integer value for the specified field.voidsetLongValue(int colIndex, long value)Set the long value for the specified field.voidsetShortValue(int colIndex, short value)Set the short value for the specified field.voidwrite(Buffer buf, int offset)Write the record fields to the specified buffer and offset.-
Methods inherited from class db.DBRecord
compareFieldTo, compareTo, copy, equals, fieldEquals, getBinaryData, getBooleanValue, getByteValue, getColumnCount, getFieldValue, getIntValue, getKey, getKeyField, getLongValue, getShortValue, getString, hashCode, hasSameSchema, hasSameSchema, invalidateLength, isDirty, length, setBinaryData, setKey, setKey, setString, toString
-
-
-
-
Method Detail
-
write
public void write(Buffer buf, int offset) throws java.io.IOException
Description copied from class:DBRecordWrite the record fields to the specified buffer and offset.
-
read
public void read(Buffer buf, int offset) throws java.io.IOException
Description copied from class:DBRecordRead the record field data from the specified buffer and offset
-
setField
public void setField(int colIndex, Field value)Description copied from class:DBRecordSet the field value for the specified field.
-
setLongValue
public void setLongValue(int colIndex, long value)Description copied from class:DBRecordSet the long value for the specified field.- Overrides:
setLongValuein classDBRecord- Parameters:
colIndex- field indexvalue- field value
-
setIntValue
public void setIntValue(int colIndex, int value)Description copied from class:DBRecordSet the integer value for the specified field.- Overrides:
setIntValuein classDBRecord- Parameters:
colIndex- field indexvalue- field value
-
setShortValue
public void setShortValue(int colIndex, short value)Description copied from class:DBRecordSet the short value for the specified field.- Overrides:
setShortValuein classDBRecord- Parameters:
colIndex- field indexvalue- field value
-
setByteValue
public void setByteValue(int colIndex, byte value)Description copied from class:DBRecordSet the byte value for the specified field.- Overrides:
setByteValuein classDBRecord- Parameters:
colIndex- field indexvalue- field value
-
setBooleanValue
public void setBooleanValue(int colIndex, boolean value)Description copied from class:DBRecordSet the boolean value for the specified field.- Overrides:
setBooleanValuein classDBRecord- Parameters:
colIndex- field indexvalue- field value
-
-