AppSearchSchema.LongPropertyConfig
Stay organized with collections
Save and categorize content based on your preferences.
Configuration for a property containing a 64-bit integer.
Inherited Constant Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Constants
public static final int
INDEXING_TYPE_NONE
Content in this property will not be indexed.
Constant Value: 0
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
Public Methods
public int getIndexingType ()
Returns how the property is indexed.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`AppSearchSchema.LongPropertyConfig` is used to define properties containing 64-bit integers within an AppSearch schema."],["It offers two indexing types: `INDEXING_TYPE_NONE` (no indexing) and `INDEXING_TYPE_RANGE` (indexed for numeric range queries)."],["Developers can utilize `AppSearchSchema.LongPropertyConfig.Builder` to configure these properties."],["This class inherits properties like cardinality and description from the `AppSearchSchema.PropertyConfig` parent class."]]],["`AppSearchSchema.LongPropertyConfig` configures a property for 64-bit integers. Key actions involve setting how the property is indexed and its cardinality (optional, required, or repeated). Indexing options include `INDEXING_TYPE_NONE` (not indexed) and `INDEXING_TYPE_RANGE` (indexed for range queries). The `getIndexingType()` method retrieves the current indexing setting. A builder class assists in creating configurations. Cardinality options include: `CARDINALITY_OPTIONAL`, `CARDINALITY_REPEATED`, and `CARDINALITY_REQUIRED`.\n"]]