| |
|
| java.lang.Object com.healthmarketscience.jackcess.NullMask
NullMask | public class NullMask (Code) | | Bitmask that indicates whether or not each column in a row is null. Also
holds values of boolean columns.
author: Tim McCune |
Constructor Summary | |
public | NullMask(int columnCount) |
Method Summary | |
public int | byteSize() | public boolean | isNull(Column column) Parameters: column - column to test for null Whether or not the value for that column is null. | public void | markNotNull(Column column) Indicate that the column with the given number is not
null (or a
boolean value is
true ). | public void | read(ByteBuffer buffer) | public void | write(ByteBuffer buffer) |
NullMask | public NullMask(int columnCount)(Code) | | Parameters: columnCount - Number of columns in the row that this mask will beused for |
byteSize | public int byteSize()(Code) | | Size in bytes of this mask |
isNull | public boolean isNull(Column column)(Code) | | Parameters: column - column to test for null Whether or not the value for that column is null. For booleancolumns, returns the actual value of the column (wherenon- null == true ) |
markNotNull | public void markNotNull(Column column)(Code) | | Indicate that the column with the given number is not
null (or a
boolean value is
true ).
Parameters: column - column to be marked non- null |
read | public void read(ByteBuffer buffer)(Code) | | Read a mask in from a buffer
|
write | public void write(ByteBuffer buffer)(Code) | | Write a mask to a buffer
|
|
|
|