RECORD - All fields returned by the registry will have field paths relative
to this class or one of it's subtypes.public interface IdxFieldResolver<RECORD>
IdxFieldResolver provides access to fields for a given record type.
All fields returned by the| Modifier and Type | Method and Description |
|---|---|
<T> IdxField<RECORD,T> |
getField(Class<?> recordType,
String fieldPath)
Gets a field for the given recordType and field path.
|
<T> IdxField<RECORD,T> |
getField(Class<?> recordType,
String fieldPath,
Class<T> fieldType,
Class<?>... pathTypes)
Gets a field for the given recordType and field path.
|
<T> IdxField<RECORD,T> |
getField(String recordTypeName,
String fieldPath)
Gets a field from the given type name and fieldPath.
|
<T> IdxField<RECORD,T> getField(String recordTypeName, String fieldPath)
recordTypeName - The typeName of the log entry's object.fieldPath - The bean path of the field.<T> IdxField<RECORD,T> getField(Class<?> recordType, String fieldPath)
IdxFieldResolver's
RECORD type, but it is possible that some implementation can infer a field
of RECORD type based on an alternative type.recordType - The class of the corresponding record.fieldPath - The bean path of the field.<T> IdxField<RECORD,T> getField(Class<?> recordType, String fieldPath, Class<T> fieldType, Class<?>... pathTypes)
IdxFieldResolver's
RECORD type, but it is possible that some implementation can infer a field
of RECORD type based on an alternative type.recordType - The class of the corresponding record.fieldPath - The bean path of the field.fieldType - Indicates the required type of the field.pathTypes - For cases where types in the field path are ambiguous, this allows
specifying specific types for the intermediate paths.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.