private static final long serialVersionUID = 1L;
@Override
public INullWriter createNullWriter() {
final VoidPointable vp = (VoidPointable) VoidPointable.FACTORY.createPointable();
return new INullWriter() {
@Override
public void writeNull(DataOutput out) throws HyracksDataException {
XDMConstants.setEmptySequence(vp);
try {
out.write(vp.getByteArray(), vp.getStartOffset(), vp.getLength());