class TypeMappingUtils {

	public static int[] computePhysicalIndices(
			List<TableColumn> logicalColumns,
			DataType physicalType,
			Function<String, String> nameRemapping) {

		Map<TableColumn, Integer> physicalIndexLookup = computePhysicalIndices(
			logicalColumns.stream(),
			physicalType,
			nameRemapping);

		return logicalColumns.stream().mapToInt(physicalIndexLookup::get).toArray();
	}

	private  TypeMappingUtils();

}