static < T > LocalUniqueIndex < T > create ( String name , String workspaceName , DB db , Converter < T > converter , BTreeKeySerializer < T > valueSerializer , Serializer < T > rawSerializer ) { return new LocalUniqueIndex <> ( name , workspaceName , db , converter , valueSerializer , rawSerializer ) ; }
Create a new index that allows only a single value for each unique key .