/foundation/distributeddatamgr/relational_store/frameworks/cj/src/ |
H A D | relational_store_impl_resultsetproxy.cpp | 141 double ResultSetImpl::GetDouble(int32_t columnIndex, int32_t* rtnCode) in GetDouble() argument 144 *rtnCode = resultSetValue->GetDouble(columnIndex, result); in GetDouble() 148 bool ResultSetImpl::GoToRow(int32_t position, int32_t* rtnCode) in GoToRow() argument 150 *rtnCode = resultSetValue->GoToRow(position); in GoToRow() 151 return *rtnCode == RelationalStoreJsKit::OK; in GoToRow() 154 bool ResultSetImpl::GoToPreviousRow(int32_t* rtnCode) in GoToPreviousRow() argument 156 *rtnCode = resultSetValue->GoToPreviousRow(); in GoToPreviousRow() 157 return *rtnCode == RelationalStoreJsKit::OK; in GoToPreviousRow() 160 bool ResultSetImpl::GoToLastRow(int32_t* rtnCode) in GoToLastRow() argument 162 *rtnCode in GoToLastRow() 166 GetColumnName(int32_t columnIndex, int32_t* rtnCode) GetColumnName() argument 176 IsColumnNull(int32_t columnIndex, int32_t* rtnCode) IsColumnNull() argument 183 GetAsset(int32_t columnIndex, int32_t* rtnCode) GetAsset() argument 207 GetColumnIndex(char* columnName, int32_t* rtnCode) GetColumnIndex() argument 214 GetString(int32_t columnIndex, int32_t* rtnCode) GetString() argument 221 GoToFirstRow(int32_t* rtnCode) GoToFirstRow() argument 227 GetLong(int32_t columnIndex, int32_t* rtnCode) GetLong() argument 234 GoToNextRow(int32_t* rtnCode) GoToNextRow() argument 240 GetBlob(int32_t columnIndex, int32_t* rtnCode) GetBlob() argument 257 GoTo(int32_t offset, int32_t* rtnCode) GoTo() argument 263 GetAssets(int32_t columnIndex, int32_t* rtnCode) GetAssets() argument 288 GetRow(int32_t* rtnCode) GetRow() argument [all...] |
H A D | relational_store_ffi.cpp | 644 double FfiOHOSRelationalStoreGetDouble(int64_t id, int32_t columnIndex, int32_t* rtnCode) in FfiOHOSRelationalStoreGetDouble() argument 648 *rtnCode = -1; in FfiOHOSRelationalStoreGetDouble() 651 return nativeResultSet->GetDouble(columnIndex, rtnCode); in FfiOHOSRelationalStoreGetDouble() 654 bool FfiOHOSRelationalStoreGoToRow(int64_t id, int32_t position, int32_t* rtnCode) in FfiOHOSRelationalStoreGoToRow() argument 658 *rtnCode = -1; in FfiOHOSRelationalStoreGoToRow() 661 return nativeResultSet->GoToRow(position, rtnCode); in FfiOHOSRelationalStoreGoToRow() 664 bool FfiOHOSRelationalStoreGoToPreviousRow(int64_t id, int32_t* rtnCode) in FfiOHOSRelationalStoreGoToPreviousRow() argument 668 *rtnCode = -1; in FfiOHOSRelationalStoreGoToPreviousRow() 671 return nativeResultSet->GoToPreviousRow(rtnCode); in FfiOHOSRelationalStoreGoToPreviousRow() 674 bool FfiOHOSRelationalStoreGoToLastRow(int64_t id, int32_t* rtnCode) in FfiOHOSRelationalStoreGoToLastRow() argument 684 FfiOHOSRelationalStoreGetColumnName(int64_t id, int32_t columnIndex, int32_t* rtnCode) FfiOHOSRelationalStoreGetColumnName() argument 694 FfiOHOSRelationalStoreIsColumnNull(int64_t id, int32_t columnIndex, int32_t* rtnCode) FfiOHOSRelationalStoreIsColumnNull() argument 704 FfiOHOSRelationalStoreGetAsset(int64_t id, int32_t columnIndex, int32_t* rtnCode) FfiOHOSRelationalStoreGetAsset() argument 723 FfiOHOSRelationalStoreGetColumnIndex(int64_t id, char* columnName, int32_t* rtnCode) FfiOHOSRelationalStoreGetColumnIndex() argument 733 FfiOHOSRelationalStoreGetString(int64_t id, int32_t columnIndex, int32_t* rtnCode) FfiOHOSRelationalStoreGetString() argument 743 FfiOHOSRelationalStoreGoToFirstRow(int64_t id, int32_t* rtnCode) FfiOHOSRelationalStoreGoToFirstRow() argument 753 FfiOHOSRelationalStoreGetLong(int64_t id, int32_t columnIndex, int32_t* rtnCode) FfiOHOSRelationalStoreGetLong() argument 763 FfiOHOSRelationalStoreGoToNextRow(int64_t id, int32_t* rtnCode) FfiOHOSRelationalStoreGoToNextRow() argument 773 FfiOHOSRelationalStoreGetBlob(int64_t id, int32_t columnIndex, int32_t* rtnCode) FfiOHOSRelationalStoreGetBlob() argument 783 FfiOHOSRelationalStoreGoTo(int64_t id, int32_t offset, int32_t* rtnCode) FfiOHOSRelationalStoreGoTo() argument 793 FfiOHOSRelationalStoreGetAssets(int64_t id, int32_t columnIndex, int32_t* rtnCode) FfiOHOSRelationalStoreGetAssets() argument [all...] |
H A D | relational_store_impl_rdbstore.cpp | 244 int32_t rtnCode = rdbStore_->CleanDirtyData(tableName, cursor); in CleanDirtyData() local 245 return rtnCode; in CleanDirtyData() 260 int32_t rtnCode = rdbStore_->BatchInsert(insertNum, tableNameStr, valuesVector); in BatchInsert() local 261 return rtnCode; in BatchInsert()
|
/foundation/distributeddatamgr/relational_store/frameworks/cj/include/ |
H A D | relational_store_impl_resultsetproxy.h | 55 double GetDouble(int32_t columnIndex, int32_t* rtnCode); 57 bool GoToRow(int32_t position, int32_t* rtnCode); 59 bool GoToPreviousRow(int32_t* rtnCode); 61 bool GoToLastRow(int32_t* rtnCode); 63 char* GetColumnName(int32_t columnIndex, int32_t* rtnCode); 65 bool IsColumnNull(int32_t columnIndex, int32_t* rtnCode); 67 Asset GetAsset(int32_t columnIndex, int32_t* rtnCode); 71 int32_t GetColumnIndex(char* columnName, int32_t* rtnCode); 73 char* GetString(int32_t columnIndex, int32_t* rtnCode); 75 bool GoToFirstRow(int32_t* rtnCode); [all...] |
H A D | relational_store_ffi.h | 176 FFI_EXPORT double FfiOHOSRelationalStoreGetDouble(int64_t id, int32_t columnIndex, int32_t* rtnCode); 178 FFI_EXPORT bool FfiOHOSRelationalStoreGoToRow(int64_t id, int32_t position, int32_t* rtnCode); 180 FFI_EXPORT bool FfiOHOSRelationalStoreGoToPreviousRow(int64_t id, int32_t* rtnCode); 182 FFI_EXPORT bool FfiOHOSRelationalStoreGoToLastRow(int64_t id, int32_t* rtnCode); 184 FFI_EXPORT char* FfiOHOSRelationalStoreGetColumnName(int64_t id, int32_t columnIndex, int32_t* rtnCode); 186 FFI_EXPORT bool FfiOHOSRelationalStoreIsColumnNull(int64_t id, int32_t columnIndex, int32_t* rtnCode); 188 FFI_EXPORT Asset FfiOHOSRelationalStoreGetAsset(int64_t id, int32_t columnIndex, int32_t* rtnCode); 192 FFI_EXPORT int32_t FfiOHOSRelationalStoreGetColumnIndex(int64_t id, char* columnName, int32_t* rtnCode); 194 FFI_EXPORT char* FfiOHOSRelationalStoreGetString(int64_t id, int32_t columnIndex, int32_t* rtnCode); 196 FFI_EXPORT bool FfiOHOSRelationalStoreGoToFirstRow(int64_t id, int32_t* rtnCode); [all...] |