|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.search.IndexManagerFactory
public final class IndexManagerFactory
An factory that creates default implementation of IndexManager
.
IndexManager indexManager = IndexManagerFactory.newIndexManager();Optionally, you may pass the namespace to be associated with a created index manager
IndexManager acmeIndexManager = IndexManagerFactory.newIndexManager("acme");
Method Summary | |
---|---|
static IndexManager |
newIndexManager()
Creates and returns an instance of the IndexManager . |
static IndexManager |
newIndexManager(java.lang.String namespace)
Creates and returns an instance of the IndexManager . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IndexManager newIndexManager()
IndexManager
.
The manager uses either the namespace set on the
NamespaceManager
, or, if none was set, an empty namespace.
IndexManager
.public static IndexManager newIndexManager(java.lang.String namespace)
IndexManager
.
The manager uses the user provided namespace. The namespace must be
valid, as per NamespaceManager.validateNamespace(String)
method.
namespace
- a namespace to be assigned to the returned index manager
IndexManager
.
java.lang.IllegalArgumentException
- if the namespace is invalid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |