|
Neo4j Enterprise | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.index.lucene.ValueContext
public class ValueContext
ValueContext allows you to give not just a value, but to give the value some context to live in.
| Constructor Summary | |
|---|---|
ValueContext(java.lang.Object value)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getCorrectValue()
Returns the string representation of the value given in the constructor, or the unmodified value if indexNumeric() has been called. |
java.lang.Object |
getValue()
|
ValueContext |
indexNumeric()
Returns a ValueContext to be used with Index.add(PropertyContainer, String, Object) |
static ValueContext |
numeric(java.lang.Number value)
Convience method to add a numeric value to an index. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValueContext(java.lang.Object value)
| Method Detail |
|---|
public java.lang.Object getValue()
public ValueContext indexNumeric()
Index.add(PropertyContainer, String, Object)
public java.lang.Object getCorrectValue()
indexNumeric() has been called.
public java.lang.String toString()
toString in class java.lang.Objectpublic static ValueContext numeric(java.lang.Number value)
value - The value to add
Index.add(PropertyContainer, String, Object)
|
Neo4j Enterprise | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||