public < S extends Storable > IndexEntryAccessor < S > [ ] getIndexEntryAccessors ( Class < S > storableType ) throws RepositoryException { if ( Unindexed . class . isAssignableFrom ( storableType ) ) { return new IndexEntryAccessor [ 0 ] ; } Storage < S > masterStorage = mRepository . storageFor ( storableType ) ; IndexAnalysis < S > analysis = mIndexAnalysisPool . get ( masterStorage ) ; List < IndexEntryAccessor < S > > accessors = new ArrayList < IndexEntryAccessor < S > > ( analysis . allIndexInfoMap . size ( ) ) ; for ( IndexInfo info : analysis . allIndexInfoMap . values ( ) ) { if ( info instanceof IndexEntryAccessor ) { accessors . add ( ( IndexEntryAccessor < S > ) info ) ; } } return accessors . toArray ( new IndexEntryAccessor [ accessors . size ( ) ] ) ; }
Required by IndexEntryAccessCapability .