AppSearchSchema.LongPropertyConfig
public final class AppSearchSchema.LongPropertyConfig extends AppSearchSchema.PropertyConfig
| java.lang.Object | ||
| ↳ | androidx.appsearch.app.AppSearchSchema.PropertyConfig | |
| ↳ | androidx.appsearch.app.AppSearchSchema.LongPropertyConfig |
Configuration for a property containing a 64-bit integer.
Summary
Nested types |
|---|
public final class AppSearchSchema.LongPropertyConfig.BuilderBuilder for |
Constants |
|
|---|---|
static final int |
Content in this property will not be indexed. |
static final int |
@RequiresFeature(enforcement = "androidx.appsearch.app.Features#isFeatureSupported", name = Features.NUMERIC_SEARCH)Content in this property will be indexed and can be fetched via numeric search range query. |
Public methods |
|
|---|---|
int |
Returns how the property is indexed. |
boolean |
Returns if the property is enabled for scoring. |
Inherited Constants |
||||||
|---|---|---|---|---|---|---|
|
Inherited methods |
|---|
Constants
INDEXING_TYPE_NONE
public static final int INDEXING_TYPE_NONE = 0
Content in this property will not be indexed.
INDEXING_TYPE_RANGE
@RequiresFeature(enforcement = "androidx.appsearch.app.Features#isFeatureSupported", name = Features.NUMERIC_SEARCH)
public static final int INDEXING_TYPE_RANGE = 1
Content in this property will be indexed and can be fetched via numeric search range query.
For example, a property with 1024 should match numeric search range query [0, 2000].
Public methods
isScoringEnabled
@ExperimentalAppSearchApi
public boolean isScoringEnabled()
Returns if the property is enabled for scoring.