public class LuceneTestSerializer extends java.lang.Object implements LuceneSerializer
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Properties |
props |
| Constructor and Description |
|---|
LuceneTestSerializer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Properties |
getProperties() |
int |
hashCode() |
void |
init(java.util.Properties props)
Initializes a user-defined object using the given properties.
|
java.util.Collection<Document> |
toDocuments(LuceneIndex index,
java.lang.Object value)
Add the fields of the given value to a set of documents
Added fields should be marked with
Field.Store.NO. |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitinitializepublic void init(java.util.Properties props)
DeclarableCache initialization to fail.init in interface Declarableprops - Contains the parameters declared in the declarative xml file.public java.util.Properties getProperties()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Collection<Document> toDocuments(LuceneIndex index, java.lang.Object value)
LuceneSerializerField.Store.NO. These
fields are only used for searches. When doing a query, geode will return the value from the
region, not any fields that are stored on the returned Documents.toDocuments in interface LuceneSerializerindex - lucene indexvalue - user object to be serialized into index