KIE Uberfire Metadata Commons IO 6.2.0.Beta1

org.kie.uberfire.metadata.io
Class IOSearchIndex

java.lang.Object
  extended by org.kie.uberfire.metadata.io.IOSearchIndex
All Implemented Interfaces:
org.uberfire.io.IOSearchService

public class IOSearchIndex
extends Object
implements org.uberfire.io.IOSearchService


Constructor Summary
IOSearchIndex(SearchIndex searchIndex, org.uberfire.io.IOService ioService)
           
 
Method Summary
 List<org.uberfire.java.nio.file.Path> fullTextSearch(String term, int pageSize, int startIndex, org.uberfire.java.nio.file.Path... roots)
           
 int fullTextSearchHits(String term, org.uberfire.java.nio.file.Path... roots)
           
 List<org.uberfire.java.nio.file.Path> searchByAttrs(Map<String,?> attrs, int pageSize, int startIndex, org.uberfire.java.nio.file.Path... roots)
           
 int searchByAttrsHits(Map<String,?> attrs, org.uberfire.java.nio.file.Path... roots)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOSearchIndex

public IOSearchIndex(SearchIndex searchIndex,
                     org.uberfire.io.IOService ioService)
Method Detail

searchByAttrs

public List<org.uberfire.java.nio.file.Path> searchByAttrs(Map<String,?> attrs,
                                                           int pageSize,
                                                           int startIndex,
                                                           org.uberfire.java.nio.file.Path... roots)
Specified by:
searchByAttrs in interface org.uberfire.io.IOSearchService

fullTextSearch

public List<org.uberfire.java.nio.file.Path> fullTextSearch(String term,
                                                            int pageSize,
                                                            int startIndex,
                                                            org.uberfire.java.nio.file.Path... roots)
Specified by:
fullTextSearch in interface org.uberfire.io.IOSearchService

searchByAttrsHits

public int searchByAttrsHits(Map<String,?> attrs,
                             org.uberfire.java.nio.file.Path... roots)
Specified by:
searchByAttrsHits in interface org.uberfire.io.IOSearchService

fullTextSearchHits

public int fullTextSearchHits(String term,
                              org.uberfire.java.nio.file.Path... roots)
Specified by:
fullTextSearchHits in interface org.uberfire.io.IOSearchService

KIE Uberfire Metadata Commons IO 6.2.0.Beta1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.