+ String.format("Expected at least %d non-null components",
format.getNullableStartIndex()));
}
} else {
// for non-null components ensure that the type matches the format spec
ComponentType type = getType(kijiRowKey.get(i));
if (null == type || type != format.getComponents().get(i).getType()) {
if (type == ComponentType.INTEGER
&& format.getComponents().get(i).getType() == ComponentType.LONG) {
kijiRowKey.set(i, ((Integer) kijiRowKey.get(i)).longValue());
} else {