public interface LuceneIndexSchemaFieldContext extends IndexSchemaFieldContext
Modifier and Type | Method and Description |
---|---|
default <F> IndexSchemaFieldTerminalContext<F> |
asLuceneField(Class<F> valueType,
LuceneFieldContributor<F> fieldContributor)
Declares a native field on which projection is not allowed.
|
<F> IndexSchemaFieldTerminalContext<F> |
asLuceneField(Class<F> valueType,
LuceneFieldContributor<F> fieldContributor,
LuceneFieldValueExtractor<F> fieldValueExtractor)
Declares a native field, on which projection is allowed.
|
as, asBoolean, asGeoPoint, asInstant, asInteger, asLocalDate, asLong, asString, extension
<F> IndexSchemaFieldTerminalContext<F> asLuceneField(Class<F> valueType, LuceneFieldContributor<F> fieldContributor, LuceneFieldValueExtractor<F> fieldValueExtractor)
F
- The type of the value.valueType
- The type of the value.fieldContributor
- The field contributor.fieldValueExtractor
- The field value extractor used when projecting on this field.default <F> IndexSchemaFieldTerminalContext<F> asLuceneField(Class<F> valueType, LuceneFieldContributor<F> fieldContributor)
F
- The type of the value.valueType
- The type of the value.fieldContributor
- The field contributor.Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.