|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.healthmarketscience.jackcess.NullMask
public class NullMask
Bitmask that indicates whether or not each column in a row is null. Also holds values of boolean columns.
Constructor Summary | |
---|---|
NullMask(int columnCount)
|
Method Summary | |
---|---|
int |
byteSize()
|
boolean |
isNull(Column column)
|
void |
markNotNull(Column column)
Indicate that the column with the given number is not null (or a
boolean value is true ). |
void |
read(ByteBuffer buffer)
Read a mask in from a buffer |
void |
write(ByteBuffer buffer)
Write a mask to a buffer |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullMask(int columnCount)
columnCount
- Number of columns in the row that this mask will be
used forMethod Detail |
---|
public void read(ByteBuffer buffer)
public void write(ByteBuffer buffer)
public boolean isNull(Column column)
column
- column to test for null
null
== true
)public void markNotNull(Column column)
null
(or a
boolean value is true
).
column
- column to be marked non-null
public int byteSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |