|
Neo4j Community | |||||||||
| 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(Object value)
|
|
| Method Summary | |
|---|---|
Object |
getCorrectValue()
Returns the string representation of the value given in the constructor, or the unmodified value if indexNumeric() has been called. |
Object |
getValue()
|
ValueContext |
indexNumeric()
Returns a ValueContext to be used with Index.add(PropertyContainer, String, Object) |
static ValueContext |
numeric(Number value)
Convience method to add a numeric value to an index. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValueContext(Object value)
| Method Detail |
|---|
public Object getValue()
public ValueContext indexNumeric()
Index.add(PropertyContainer, String, Object)
public Object getCorrectValue()
indexNumeric() has been called.
public String toString()
toString in class Objectpublic static ValueContext numeric(Number value)
value - The value to add
Index.add(PropertyContainer, String, Object)
|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||