[new index structure] BTreeIndex constructor takes data type into account.