// This should work but requires properties.
//return SetupTDB.makeTupleIndex(location, properties, indexName, primary, indexOrder, dftKeyLength)
// Migrate to TDB proper.
// Value part is null (zero length)
RangeIndex rIndex = openBPT(location, indexName, readCacheSize, writeCacheSize, dftKeyLength, dftValueLength) ;
TupleIndex tupleIndex = new TupleIndexRecord(primary.length(), new ColumnMap(primary, indexOrder), indexOrder, rIndex.getRecordFactory(), rIndex) ;
return tupleIndex ;
}