public final class

AppSearchSchema.DocumentPropertyConfig

extends AppSearchSchema.PropertyConfig

 java.lang.Object

androidx.appsearch.app.AppSearchSchema.PropertyConfig

↳androidx.appsearch.app.AppSearchSchema.DocumentPropertyConfig

Overview

Configuration for a property containing another Document.

Summary

Fields
from AppSearchSchema.PropertyConfigCARDINALITY_OPTIONAL, CARDINALITY_REPEATED, CARDINALITY_REQUIRED, DATA_TYPE_BOOLEAN, DATA_TYPE_BYTES, DATA_TYPE_DOCUMENT, DATA_TYPE_DOUBLE, DATA_TYPE_LONG, DATA_TYPE_STRING
Methods
public java.lang.StringgetSchemaType()

Returns the logical schema-type of the contents of this document property.

public booleanshouldIndexNestedProperties()

Returns whether fields in the nested document should be indexed according to that document's schema.

from AppSearchSchema.PropertyConfigequals, fromBundle, getCardinality, getDataType, getName, hashCode, toString
from java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait

Methods

public java.lang.String getSchemaType()

Returns the logical schema-type of the contents of this document property.

public boolean shouldIndexNestedProperties()

Returns whether fields 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.