Class LuceneDocumentFromRecord.DocumentFieldList<T extends LuceneIndexExpressions.RecordSource<T>>
java.lang.Object
com.apple.foundationdb.record.lucene.LuceneDocumentFromRecord.DocumentFieldList<T>
- All Implemented Interfaces:
LuceneIndexExpressions.DocumentDestination<T>
- Enclosing class:
- LuceneDocumentFromRecord
protected static class LuceneDocumentFromRecord.DocumentFieldList<T extends LuceneIndexExpressions.RecordSource<T>>
extends Object
implements LuceneIndexExpressions.DocumentDestination<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddField(T source, String fieldName, Object value, LuceneIndexExpressions.DocumentFieldType type, boolean fieldNameOverride, List<String> namedFieldPath, String namedFieldSuffix, boolean stored, boolean sorted, List<Integer> overriddenKeyRanges, int groupingKeyIndex, int keyIndex, Map<String, Object> fieldConfigs) Add fields to the destination of the "getFields" traversal.
-
Constructor Details
-
DocumentFieldList
protected DocumentFieldList()
-
-
Method Details
-
getFields
-
addField
public void addField(@Nonnull T source, @Nonnull String fieldName, @Nullable Object value, @Nonnull LuceneIndexExpressions.DocumentFieldType type, boolean fieldNameOverride, @Nullable List<String> namedFieldPath, @Nullable String namedFieldSuffix, boolean stored, boolean sorted, @Nonnull List<Integer> overriddenKeyRanges, int groupingKeyIndex, int keyIndex, @Nonnull Map<String, Object> fieldConfigs) Description copied from interface:LuceneIndexExpressions.DocumentDestinationAdd fields to the destination of the "getFields" traversal.- Specified by:
addFieldin interfaceLuceneIndexExpressions.DocumentDestination<T extends LuceneIndexExpressions.RecordSource<T>>- Parameters:
source- the RecordSource for the field to be addedfieldName- the (full) field namevalue- the last element of the field nametype- the type of the fieldfieldNameOverride- whether we are overriding field names (map support)namedFieldPath- the relative path to the field (from the source)namedFieldSuffix- the replaced suffix for the field (the map-replaced part)stored- whether the field has stored datasorted- whether the field has sorted dataoverriddenKeyRanges- -groupingKeyIndex- -keyIndex- -fieldConfigs- -
-