private Object formatPrimitiveKeys(List<Number> keys, Class<?> componentType, int length) {
		if (long.class.equals(componentType)) {
			Long[] array = keys.toArray(new Long[length]);
			return ArrayHelper.toPrimitive(array);
		}
		if (int.class.equals(componentType)) {
			Integer[] array = keys.toArray(new Integer[length]);
			return ArrayHelper.toPrimitive(array);
		}
		if (boolean.class.equals(componentType)) {
			Boolean[] array = keys.toArray(new Boolean[length]);
			return ArrayHelper.toPrimitive(array);
		}
		if (double.class.equals(componentType)) {
			Double[] array = keys.toArray(new Double[length]);
			return ArrayHelper.toPrimitive(array);
		}
		if (char.class.equals(componentType)) {
			Character[] array = keys.toArray(new Character[length]);
			return ArrayHelper.toPrimitive(array);
		}
		if (float.class.equals(componentType)) {
			Float[] array = keys.toArray(new Float[length]);
			return ArrayHelper.toPrimitive(array);
		}
		if (byte.class.equals(componentType)) {
			Byte[] array = keys.toArray(new Byte[length]);
			return ArrayHelper.toPrimitive(array);
		}
		if (short.class.equals(componentType)) {
			Short[] array = keys.toArray(new Short[length]);
			return ArrayHelper.toPrimitive(array);
		}
		throw new RetrievalIdException("无法将返回值转换为类型为[" + componentType + "的数组");
	}