The getDataType() is the PDataType returned by the evaluate method. I need to work on javadoc at some point, as this isn't obvious.