*/
private void initTables( SchemaManager schemaManager ) throws IOException
{
SerializableComparator<K> comp;
MatchingRule mr = attributeType.getEquality();
if ( mr == null )
{
throw new IOException( I18n.err( I18n.ERR_574, attributeType.getName() ) );
}
comp = new SerializableComparator<K>( mr.getOid() );
/*
* The forward key/value map stores attribute values to master table
* primary keys. A value for an attribute can occur several times in
* different entries so the forward map can have more than one value.
*/
UuidComparator.INSTANCE.setSchemaManager( schemaManager );
comp.setSchemaManager( schemaManager );
if ( mr.getSyntax().isHumanReadable() )
{
forward = new JdbmTable<K, String>( schemaManager, attributeType.getOid() + FORWARD_BTREE, numDupLimit,
recMan,
comp, UuidComparator.INSTANCE, StringSerializer.INSTANCE, UuidSerializer.INSTANCE );
}