MCPcopy Create free account
hub / github.com/cmu-db/benchbase / isStringType

Method isStringType

src/main/java/com/oltpbenchmark/util/SQLUtil.java:391–403  ·  view source on GitHub ↗

Returns true if the given sqlType identifier is a String data type @param sqlType @return @see java.sql.Types

(int sqlType)

Source from the content-addressed store, hash-verified

389 * @see java.sql.Types
390 */
391 public static boolean isStringType(int sqlType) {
392 switch (sqlType) {
393 case Types.CHAR:
394 case Types.VARCHAR:
395 case Types.NCHAR:
396 case Types.NVARCHAR:
397 {
398 return (true);
399 }
400 default:
401 return (false);
402 }
403 }
404
405 /**
406 * Returns true if the given sqlType identifier is an Integer data type

Callers 2

nextMethod · 0.95
getCustomerNameLengthMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected