S - The "self" type (the actual exposed type of this step).F - The type of field values.public interface ScaledNumberIndexFieldTypeOptionsStep<S extends ScaledNumberIndexFieldTypeOptionsStep<?,F>,F> extends StandardIndexFieldTypeOptionsStep<S,F>
| Modifier and Type | Method and Description |
|---|---|
S |
decimalScale(int decimalScale) |
aggregable, indexNullAs, projectable, searchable, sortabletoIndexFieldTypedslConverter, projectionConverterS decimalScale(int decimalScale)
decimalScale - How the scale of values should be adjusted before indexing as a fixed-precision integer.
A positive decimalScale will shift the decimal point to the right before rounding to the nearest integer and indexing,
effectively retaining that many after the decimal place in the index,
Since numbers are indexed with a fixed number of bits,
this increase in precision also means that the maximum value that can be indexed will be smaller.
A negative decimalScale will shift the decimal point to the left before rounding to the nearest integer and indexing,
effectively setting that many of the smaller digits to zero in the index.
Since numbers are indexed with a fixed number of bits,
this decrease in precision also means that the maximum value that can be indexed will be larger.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.