后浪云鸿蒙OS教程:鸿蒙OS AbsRdbPredicates

树叶云

AbsRdbPredicates

java.lang.Object

|—ohos.data.rdb.AbsRdbPredicates

public abstract class AbsRdbPredicates
extends Object

抽象超类,用于为关系数据库(RDB)设置数据库操作条件。

定义了两个 AbsRdbPredicates 实现类,分别包含 RdbPredicates 和 RawRdbPredicates。

构造函数摘要

构造函数描述
AbsRdbPredicates(String tableName)AbsPredicates 的构造方法,带有定义的表名。

方法总结

修饰符和类型方法描述
voidclear()
StringgetTableName()获取谓词中的数据库表名。
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

构造函数详细信息

AbsRdbPredicates

public AbsRdbPredicates(String tableName)

AbsPredicates 的构造方法,带有定义的表名。

参数:

参数名称参数描述
tableName表示要操作的表名。

方法详情

getTableName

public String getTableName()

获取谓词中的数据库表名。

返回:

变量表名的值。

clear

public void clear()

文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/202090.html<

(0)
运维的头像运维
上一篇2025-04-06 01:45
下一篇 2025-04-06 01:46

相关推荐

发表回复

您的邮箱地址不会被公开。必填项已用 * 标注