Interface SubIndex
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- ArrayIndex,- DocumentIndex
A SubIndex represents a way to get a sub element from a value. Different implementations can do things like pull
 values from arrays, datasets, and documents.
- 
Method SummaryModifier and TypeMethodDescriptionextractValue(Object source) Pulls the value out of a qualified value.booleanisCompatible(Class<?> dataClazz) Returns whether this sub index can be used with the incoming value type.Returns the index in a way that can be appended to a path.updateValue(Object sourceValue, Object elementValue) 
- 
Method Details- 
isCompatibleReturns whether this sub index can be used with the incoming value type.
- 
extractValuePulls the value out of a qualified value. The resulting value will have the same timestamp and quality as the source, unless a new quality is generated as a result of trying to extract the. Returns any errors as quality on the value.
- 
updateValue
- 
toEncodedStringString toEncodedString()Returns the index in a way that can be appended to a path. Should return a value that can be read by a static parse function on the implementation.
 
-