Freigeben über


JoinSpec.Builder(String) Constructor

Definition

Create a specification for the joining operation in search.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)]
public Builder (string childPropertyExpression);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)>]
new Android.App.AppSearch.JoinSpec.Builder : string -> Android.App.AppSearch.JoinSpec.Builder

Parameters

childPropertyExpression
String

the property to match in the child documents.

Attributes

Remarks

Create a specification for the joining operation in search.

The child property expressions 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.

Java documentation for android.app.appsearch.JoinSpec.Builder.JoinSpec$Builder(java.lang.String).

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