AppSearchSchema.LongPropertyConfig
public
static
final
class
AppSearchSchema.LongPropertyConfig
extends AppSearchSchema.PropertyConfig
java.lang.Object | ||
↳ | android.app.appsearch.AppSearchSchema.PropertyConfig | |
↳ | android.app.appsearch.AppSearchSchema.LongPropertyConfig |
Configuration for a property containing a 64-bit integer.
Summary
Nested classes | |
---|---|
class |
AppSearchSchema.LongPropertyConfig.Builder
Builder for |
Constants | |
---|---|
int |
INDEXING_TYPE_NONE
Content in this property will not be indexed. |
int |
INDEXING_TYPE_RANGE
Content in this property will be indexed and can be fetched via numeric search range query. |
Inherited constants |
---|
Public methods | |
---|---|
int
|
getIndexingType()
Returns how the property is indexed. |
Inherited methods | |
---|---|
Constants
INDEXING_TYPE_NONE
public static final int INDEXING_TYPE_NONE
Content in this property will not be indexed.
Constant Value: 0 (0x00000000)
INDEXING_TYPE_RANGE
public static final int INDEXING_TYPE_RANGE
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].
Constant Value: 1 (0x00000001)
Public methods
getIndexingType
public int getIndexingType ()
Returns how the property is indexed.
Returns | |
---|---|
int |
Value is INDEXING_TYPE_NONE , or INDEXING_TYPE_RANGE |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.