UDA state arguments

The following values are valid for UDA state arguments and can be used in the finalResult() method of the UDA:
StringArg* stringState(int n)
float* floatState(int n)
double* doubleState(int n)
int numStateVars()
int stateType(int n)
int8* int8State(int n)
int16* int16State(int n)
int32* int32State(int n)
int32* dateState(int n)
int64* int64State(int n)
int64* timeState(int n)
int64* timestampState(int n)
bool setStateNull(int n, bool val)
bool isStateNull(int n)

bool* boolState(int n)