indexType = IndexType.createUnique(persistent, hash); } else if (affinity) { indexType = IndexType.createAffinity(); } else { indexType = IndexType.createNonUnique(persistent, hash, spatial);
indexType = IndexType.createUnique(persistent, hash); } else if (affinity) { indexType = IndexType.createAffinity(); } else { indexType = IndexType.createNonUnique(persistent, hash, spatial);