We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
AppGallery Connect ReferencesCloud DBServerJavaOverview

Overview

Annotations

Expand

Interface

Description

DefaultValue

Defines the default value of a field in an object type.

Indexes

Defines the index of an object type.

NotNull

Defines the non-null attribute of a field in an object type.

PrimaryKeys

Defines the primary key of an object type.

EntireEncrypted

Defines the encryption attribute of a field in an object type.

ObjectTypeMapping

Defines the mapping of an object type.

FieldMapping

Defines the mapping of a field in an object type.

Interfaces

Expand

Interface

Description

AGConnectCloudDB

Cloud DB entry class, which provides instances for multiple data processing locations. That is, each data processing location has only one AGConnectCloudDB instance. You need to obtain the instance corresponding to the data processing location and then perform operations such as opening a CloudDBZone based on the instance.

CloudDBZone

Provides methods for adding, deleting, modifying, querying, and transacting data in the CloudDBZone object.

Function

Overrides the apply method to define operations to be performed in a transaction.

Classes

Expand

Class

Description

CloudDBZoneQuery

Provides a series of predicate queries such as where(), equalTo(), notEqualTo(), and in() to construct query conditions. You can use these predicates to construct a CloudDBZoneQuery object.

CloudDBZoneSnapshot

Describes the current queried snapshot data, including the full object set. You can call the corresponding methods to obtain the required result.

Transaction

Manages data in the Cloud DB zone on the cloud, including adding, deleting, modifying, and querying data. Multiple data operations can be performed in a transaction. The read operation must be performed before the write operation.

CloudDBZoneConfig

Constructs the CloudDBZoneConfig object and sets the Cloud DB zone to be accessed.

CloudDBZoneObject

Abstract class, which belongs to the base class of the object type. You can create an object type that inherits this class by adding the object type exported from AppGallery Connect.

Text

Text type, which is a basic data type of the CloudDBZone object.

CloudDBZoneGenericObject

Generic object, which is a subclass of CloudDBZoneObject. You can directly use generic objects to perform data operations.

CloudDBZoneObjectOperator

Defines an operation object instance or updates specified fields.

CloudDBZoneObjectOperatorConstraint

Constructs conditions using predicates such as where(), equalTo(), notEqualTo(), and in().

ServerStatus

Server status information. A ServerStatus object is returned only when the executeServerStatusQuery() method in the CloudDBZone class is called to obtain the cloud server status successfully.

Enums

Expand

Enum

Description

ClientNameEnum

Name of the AGConnectCloudDB instance where data is processed.

Exceptions

Expand

Exception

Description

AGConnectCloudDBException

Cloud DB exception base class, which is inherited from AGCException. AGConnectCloudDBException provides methods for you to obtain exception information, including error codes and detailed error information.