DocumentPropertyConfig
class DocumentPropertyConfig : AppSearchSchema.PropertyConfig
kotlin.Any | ||
↳ | android.app.appsearch.AppSearchSchema.PropertyConfig | |
↳ | android.app.appsearch.AppSearchSchema.DocumentPropertyConfig |
Configuration for a property containing another Document.
Summary
Nested classes | |
---|---|
Builder for |
Inherited constants | |
---|---|
Public methods | |
---|---|
MutableList<String!> |
Returns the list of indexable nested properties for the nested document. |
String |
Returns the logical schema-type of the contents of this document property. |
Boolean |
Returns whether properties in the nested document should be indexed according to that document's schema. |
Inherited functions | |
---|---|
Public methods
getIndexableNestedProperties
fun getIndexableNestedProperties(): MutableList<String!>
Returns the list of indexable nested properties for the nested document.
Return | |
---|---|
MutableList<String!> |
This value cannot be null . |
getSchemaType
fun getSchemaType(): String
Returns the logical schema-type of the contents of this document property.
Return | |
---|---|
String |
This value cannot be null . |
shouldIndexNestedProperties
fun shouldIndexNestedProperties(): Boolean
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.