@Override
public ObjectInspector initialize(ObjectInspector[] arguments)
throws UDFArgumentException {
if (arguments.length != 1) {
throw new UDFArgumentLengthException(
"The operator NOT only accepts 1 argument.");
}
boi = (BooleanObjectInspector) arguments[0];
return PrimitiveObjectInspectorFactory.writableBooleanObjectInspector;
}