Language

JoinSpec.Builder.SetChildPropertyExpression(String) Method

Definition

Sets the child property expression.

[Android.Runtime.Register("setChildPropertyExpression", "(Ljava/lang/String;)Landroid/app/appsearch/JoinSpec$Builder;", "", ApiSince=36)]
public Android.App.AppSearch.JoinSpec.Builder SetChildPropertyExpression(string childPropertyExpression);
[<Android.Runtime.Register("setChildPropertyExpression", "(Ljava/lang/String;)Landroid/app/appsearch/JoinSpec$Builder;", "", ApiSince=36)>]
member this.SetChildPropertyExpression : string -> Android.App.AppSearch.JoinSpec.Builder

Parameters

childPropertyExpression
String

the property to match in the child documents. This value cannot be null.

Returns

Attributes

Remarks

Sets the child property expression. The child property expression specifies how to join documents. Documents with a child property expression equal to the qualified id of the parent will be retrieved. Property expressions differ from PropertyPath as property expressions may refer to document properties or nested document properties such as "person.business.id" as well as a property expression. Currently the only property expression is "this.qualifiedId()". PropertyPath objects may only reference document properties and nested document properties. In order to join a child document to a parent document, the child document must contain the parent's qualified id at the property expression specified by this method.

Android reference for android.app.appsearch.JoinSpec.Builder.setChildPropertyExpression.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to