S - The type of this context.F - The type of field values.public interface IndexFieldTypeConverterContext<S extends IndexFieldTypeConverterContext<? extends S,F>,F>
| Modifier and Type | Method and Description |
|---|---|
S |
dslConverter(ToDocumentFieldValueConverter<?,? extends F> toIndexConverter)
Define how values passed to the predicate and sort DSL should be converted to the type of field values.
|
S |
projectionConverter(FromDocumentFieldValueConverter<? super F,?> fromIndexConverter)
Define how values returned when projecting on fields of this type
should be converted before being returned to the user.
|
S dslConverter(ToDocumentFieldValueConverter<?,? extends F> toIndexConverter)
When not set, users are expected to pass the field's value type directly.
toIndexConverter - A converter.this, for method chaining.S projectionConverter(FromDocumentFieldValueConverter<? super F,?> fromIndexConverter)
When not set, users will be returned the field's value type directly.
fromIndexConverter - A converter.this, for method chaining.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.