@Nullable public static Boolean getNullableBoolean(AgnosticResultRow row, String colName) throws PalantirSqlException { Long ret = row.getLongObject(colName); if (ret == null) { return null; } if (ret == 0) { return false; } return true; }
@Nullable public static Boolean getNullableBoolean(AgnosticResultRow row, String colName) throws PalantirSqlException { Long ret = row.getLongObject(colName); if (ret == null) { return null; } if (ret == 0) { return false; } return true; }