IndexingItemBuilder.FieldOrValue

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
String
toString()
Gets a string suitable for unit tests.
static <T> FieldOrValue<T>
withField(String field)
Looks up value from setValues(Multimap) for field.
static <T> FieldOrValue<T>
withValue(T value)
Uses the provided value for property.

Inherited Method Summary

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 from setValues(Multimap) for field.

Parameters
field key to lookup from setValues(Multimap)
Returns

public static FieldOrValue<T> withValue (T value)

Uses the provided value for property.

Parameters
value for property
Returns

Send feedback about...

Cloud Search
Cloud Search