AppSearchSchema.DocumentPropertyConfig
public
static
final
class
AppSearchSchema.DocumentPropertyConfig
extends AppSearchSchema.PropertyConfig
java.lang.Object | ||
↳ | android.app.appsearch.AppSearchSchema.PropertyConfig | |
↳ | android.app.appsearch.AppSearchSchema.DocumentPropertyConfig |
Configuration for a property containing another Document.
Summary
Nested classes | |
---|---|
class |
AppSearchSchema.DocumentPropertyConfig.Builder
Builder for |
Inherited constants |
---|
Public methods | |
---|---|
List<String>
|
getIndexableNestedProperties()
Returns the list of indexable nested properties for the nested document. |
String
|
getSchemaType()
Returns the logical schema-type of the contents of this document property. |
boolean
|
shouldIndexNestedProperties()
Returns whether properties in the nested document should be indexed according to that document's schema. |
Inherited methods | |
---|---|
Public methods
getIndexableNestedProperties
public List<String> getIndexableNestedProperties ()
Returns the list of indexable nested properties for the nested document.
Returns | |
---|---|
List<String> |
This value cannot be null . |
getSchemaType
public String getSchemaType ()
Returns the logical schema-type of the contents of this document property.
Returns | |
---|---|
String |
This value cannot be null . |
shouldIndexNestedProperties
public boolean shouldIndexNestedProperties ()
Returns whether properties in the nested document should be indexed according to that document's schema.
If false, the nested document's properties are not indexed regardless of its own schema.
Returns | |
---|---|
boolean |
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-12-18 UTC.