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_EMBEDDING, DATA_TYPE_LONG, DATA_TYPE_STRING
Methods
public java.util.List<java.lang.String>getIndexableNestedProperties()

Returns the list of indexable nested properties for the nested document.

public java.lang.StringgetSchemaType()

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

public booleanshouldIndexNestedProperties()

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

from AppSearchSchema.PropertyConfigequals, fromParcel, getCardinality, getDataType, getDescription, 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 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.

See also: for indexing a subset of properties from the nested document.

public java.util.List<java.lang.String> getIndexableNestedProperties()

Returns the list of indexable nested properties for the nested document.