|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.search.IndexSpec
public class IndexSpec
Represents information about an index. This class is used to fully specify
the index you want to retrieve from the SearchService.
To build an instance use the newBuilder() method and set
all required parameters, plus optional values different than the defaults.
SearchService searchService = SearchServiceFactory.getSearchService();
IndexSpec spec = IndexSpec.newBuilder()
.setName("docs")
.build();
Index index = searchService.getIndex(spec);
| Nested Class Summary | |
|---|---|
static class |
IndexSpec.Builder
A builder of IndexSpec. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
Consistency |
getConsistency()
Deprecated. |
java.lang.String |
getName()
|
int |
hashCode()
|
static IndexSpec.Builder |
newBuilder()
Creates a new IndexSpec builder. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getName()
@Deprecated public Consistency getConsistency()
public static IndexSpec.Builder newBuilder()
IndexSpec.Builder.build()
method on the returned builder.
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||