示例#1
0
 public boolean isFieldSigned(int fieldOrdinal) {
   RelDataType type = getFieldType(fieldOrdinal);
   if (SqlTypeUtil.isNumeric(type)) {
     return true;
   } else {
     return false;
   }
 }
示例#2
0
 public boolean isFieldCaseSensitive(int fieldOrdinal) {
   RelDataType type = getFieldType(fieldOrdinal);
   return SqlTypeUtil.inCharFamily(type);
 }