code: public static Object buildSingleResult(Result result, int column,
  			GeoPackageDataType dataType) {
  
  		Object value = null;
  		try {
  			if (result.moveToNext()) {
  				value = result.getValue(column, dataType);
  			}
  		} finally {
  			result.close();
  		}
  
  		return value;
  	}
docs: Build single result value from the column
  
  @param result
  result
  @param column
  column index
  @param dataType
  GeoPackage data type
  @return value
  @since 3.1.0