Example #1
0
 @Override
 public String toString() {
   if (value == null) {
     return "null";
   }
   // TODO: move into PDataType?
   if (type.isCoercibleTo(PTimestamp.INSTANCE)) {
     return type + " " + type.toStringLiteral(value, null);
   }
   return type.toStringLiteral(value, null);
 }