code: private boolean isIntegerConstant(String columnOrConstant) {
          try {
              Integer.parseInt(columnOrConstant.trim());
              return true;
          } catch (NumberFormatException e) {
              return false;
          }
      }
docs: Returns true if the <i>columnOrConstant</i> is an integer constant;
  false otherwise.