public static class
IndexingItemBuilder.FieldOrValue
extends Object
Construct to specify an actual field value or pointer to a key within the key/values map.
Public Method Summary
boolean |
equals(Object other)
|
int |
hashCode()
|
String |
toString()
Gets a string suitable for unit tests.
|
static <T> FieldOrValue<T> |
withField(String field)
Looks up value for the property from
setValues(Multimap
for the given field. |
static <T> FieldOrValue<T> |
withValue(T value)
Uses the provided value for the property.
|
Inherited Method Summary
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public boolean equals (Object other)
Parameters
other |
---|
public int hashCode ()
public String toString ()
Gets a string suitable for unit tests.
public static FieldOrValue<T> withField (String field)
Looks up value for the property from setValues(Multimap
for the given field.
Parameters
field | the key to lookup from setValues(Multimap |
---|
Returns
IndexingItemBuilder.FieldOrValue
instance pointing to field
public static FieldOrValue<T> withValue (T value)
Uses the provided value for the property.
Parameters
value | the value for the property |
---|
Returns
IndexingItemBuilder.FieldOrValue
instance pointing to value