class TableSchema {

	private TableSchema(
			List<TableColumn> columns,
			List<WatermarkSpec> watermarkSpecs,
			@Nullable UniqueConstraint primaryKey) {
		this.columns = Preconditions.checkNotNull(columns);
		this.watermarkSpecs = Preconditions.checkNotNull(watermarkSpecs);
		this.primaryKey = primaryKey;
	}

	private  TableSchema(
			List<TableColumn> columns,
			List<WatermarkSpec> watermarkSpecs,
			@Nullable UniqueConstraint primaryKey);
	@Deprecated public  TableSchema(String[] fieldNames, TypeInformation<?>[] fieldTypes);

}