Class MaskUtils
- java.lang.Object
-
- org.apache.flink.api.java.typeutils.runtime.MaskUtils
-
@Internal public final class MaskUtils extends Object
Utilities for reading and writing binary masks.
-
-
Constructor Summary
Constructors Constructor Description MaskUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidreadIntoAndCopyMask(DataInputView source, DataOutputView target, boolean[] mask)static voidreadIntoAndCopyMask(DataInputView source, DataOutputView target, boolean[] mask, int len)static voidreadIntoMask(DataInputView source, boolean[] mask)static voidreadIntoMask(DataInputView source, boolean[] mask, int len)static voidwriteMask(boolean[] mask, int len, DataOutputView target)static voidwriteMask(boolean[] mask, DataOutputView target)
-
-
-
Method Detail
-
writeMask
public static void writeMask(boolean[] mask, DataOutputView target) throws IOException- Throws:
IOException
-
writeMask
public static void writeMask(boolean[] mask, int len, DataOutputView target) throws IOException- Throws:
IOException
-
readIntoMask
public static void readIntoMask(DataInputView source, boolean[] mask) throws IOException
- Throws:
IOException
-
readIntoMask
public static void readIntoMask(DataInputView source, boolean[] mask, int len) throws IOException
- Throws:
IOException
-
readIntoAndCopyMask
public static void readIntoAndCopyMask(DataInputView source, DataOutputView target, boolean[] mask) throws IOException
- Throws:
IOException
-
readIntoAndCopyMask
public static void readIntoAndCopyMask(DataInputView source, DataOutputView target, boolean[] mask, int len) throws IOException
- Throws:
IOException
-
-