Compartilhar via


DocumentIdUtil.CreateQualifiedId Method

Definition

Overloads

CreateQualifiedId(String, String, GenericDocument)

Generates a qualified id based on package, database, and a GenericDocument.

CreateQualifiedId(String, String, String, String)

Generates a qualified id based on package, database, namespace, and doc id.

CreateQualifiedId(String, String, GenericDocument)

Generates a qualified id based on package, database, and a GenericDocument.

[Android.Runtime.Register("createQualifiedId", "(Ljava/lang/String;Ljava/lang/String;Landroid/app/appsearch/GenericDocument;)Ljava/lang/String;", "", ApiSince=34)]
public static string CreateQualifiedId (string packageName, string databaseName, Android.App.AppSearch.GenericDocument document);
[<Android.Runtime.Register("createQualifiedId", "(Ljava/lang/String;Ljava/lang/String;Landroid/app/appsearch/GenericDocument;)Ljava/lang/String;", "", ApiSince=34)>]
static member CreateQualifiedId : string * string * Android.App.AppSearch.GenericDocument -> string

Parameters

packageName
String

The package the document belongs to.

databaseName
String

The database containing the document.

document
GenericDocument

The document to generate a qualified id for.

Returns

the qualified id of a document.

Attributes

Remarks

Generates a qualified id based on package, database, and a GenericDocument.

Java documentation for android.app.appsearch.util.DocumentIdUtil.createQualifiedId(java.lang.String, java.lang.String, android.app.appsearch.GenericDocument).

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

CreateQualifiedId(String, String, String, String)

Generates a qualified id based on package, database, namespace, and doc id.

[Android.Runtime.Register("createQualifiedId", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=34)]
public static string CreateQualifiedId (string packageName, string databaseName, string namespace, string id);
[<Android.Runtime.Register("createQualifiedId", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=34)>]
static member CreateQualifiedId : string * string * string * string -> string

Parameters

packageName
String

The package the document belongs to.

databaseName
String

The database containing the document.

namespace
String

The namespace of the document.

id
String

The id of the document.

Returns

the qualified id of a document

Attributes

Remarks

Generates a qualified id based on package, database, namespace, and doc id.

A qualified id is a String referring to the combined package name, database name, namespace, and id of the document. It is useful for linking one document to another in order to perform a join operation.

Java documentation for android.app.appsearch.util.DocumentIdUtil.createQualifiedId(java.lang.String, java.lang.String, java.lang.String, 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