public class NullMask extends Object
Constructor and Description |
---|
NullMask(int columnCount) |
Modifier and Type | Method and Description |
---|---|
int |
byteSize() |
boolean |
isNull(ColumnImpl column) |
void |
markNotNull(ColumnImpl 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
|
public NullMask(int columnCount)
columnCount
- Number of columns in the row that this mask will be
used forpublic void read(ByteBuffer buffer)
public void write(ByteBuffer buffer)
public boolean isNull(ColumnImpl column)
column
- column to test for null
null
== true
)public void markNotNull(ColumnImpl column)
null
(or a
boolean value is true
).column
- column to be marked non-null
public int byteSize()
Copyright © 2005–2024 OpenHMS. All rights reserved.