| Modifier and Type | Field and Description |
|---|---|
| private final int | columnCount
num row columns |
| private final byte[] | mask
The actual bitmask |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static byte | |
| private static int | |
| public int | |
| public boolean | Returns: Whether or not the value for that column is null. For boolean columns, returns the actual value of the column (where non-null == true)column to test for column)nullReturns whether or not the value for that column is null. |
| public void | markNotNull(ColumnImpl
column to be marked non- column)nullIndicate that the column with the given number is not |
| public void | |
| public void |
| columnCount | back to summary |
|---|---|
| private final int columnCount num row columns | |
| mask | back to summary |
|---|---|
| private final byte[] mask The actual bitmask | |
| NullMask | back to summary |
|---|---|
public NullMask(int columnCount)
| |
| bitMask | back to summary |
|---|---|
| private static byte bitMask(int columnNumber) | |
| byteIndex | back to summary |
|---|---|
| private static int byteIndex(int columnNumber) | |
| byteSize | back to summary |
|---|---|
| public int byteSize() Returns size in bytes of this mask.
| |
| isNull | back to summary |
|---|---|
| public boolean isNull(ColumnImpl column) Returns whether or not the value for that column is null. For boolean columns, returns the actual value of the
column (where non-
| |
| markNotNull | back to summary |
|---|---|
| public void markNotNull(ColumnImpl column) Indicate that the column with the given number is not
| |
| read | back to summary |
|---|---|
| public void read(ByteBuffer buffer) Read a mask in from a buffer | |
| write | back to summary |
|---|---|
| public void write(ByteBuffer buffer) Write a mask to a buffer | |