@Test public void testToString_null() { assertEquals("", Pql.toString(new TextValue())); assertEquals("", Pql.toString(new BooleanValue())); assertEquals("", Pql.toString(new NumberValue())); assertEquals("", Pql.toString(new DateTimeValue())); assertEquals("", Pql.toString(new DateValue())); assertEquals("", Pql.toString(new SetValue())); }
public static String toString(Value value) { Object unwrappedValue = getCsvValue(value); if (unwrappedValue == null) { return ""; } else { return unwrappedValue.toString(); } }
Pql { public static String toString(Value value) { Object unwrappedValue = getCsvValue(value); if (unwrappedValue == null) { return ""; } else { return unwrappedValue.toString(); } } }
Pql { public static String toString(Value value) { Object unwrappedValue = getCsvValue(value); if (unwrappedValue == null) { return ""; } else { return unwrappedValue.toString(); } } private  Pql(); }
Pql { public static String toString(Value value) { Object unwrappedValue = getCsvValue(value); if (unwrappedValue == null) { return ""; } else { return unwrappedValue.toString(); } } private  Pql(); static Value createValue(Object value); static String toString(Value value); static Object getApiValue(Value value); static Object getNativeValue(Value value); static Object getCsvValue(Value value); static List<String[]> resultSetToStringArrayList(ResultSet resultSet); static String resultSetToString(ResultSet resultSet); static List<String> getColumnLabels(ResultSet resultSet); static List<String> getRowStringValues(Row row); static ResultSet combineResultSets(ResultSet first, ResultSet second); }
Pql { public static String toString(Value value) { Object unwrappedValue = getCsvValue(value); if (unwrappedValue == null) { return ""; } else { return unwrappedValue.toString(); } } private  Pql(); static Value createValue(Object value); static String toString(Value value); static Object getApiValue(Value value); static Object getNativeValue(Value value); static Object getCsvValue(Value value); static List<String[]> resultSetToStringArrayList(ResultSet resultSet); static String resultSetToString(ResultSet resultSet); static List<String> getColumnLabels(ResultSet resultSet); static List<String> getRowStringValues(Row row); static ResultSet combineResultSets(ResultSet first, ResultSet second);  }