Class RecordOperator
java.lang.Object
org.nervousync.database.operator.process.Operator
org.nervousync.database.operator.process.impl.RecordOperator
- All Implemented Interfaces:
Serializable
The type Record operator.
- Version:
- $Revision : 1.0 $ $Date: 10/17/2020 3:43 PM $
- Author:
- Steven Wee wmkm0113@Hotmail.com
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RecordOperatordeleteRecords(TransactionalConfig transactionalConfig, Object... objects) Delete records from databaseObject[]Gets the value of baseObjectsstatic longGets the value of serialVersionUIDstatic RecordOperatorinsertRecords(TransactionalConfig transactionalConfig, Object... objects) Insert records to databasestatic RecordOperatorupdateRecords(TransactionalConfig transactionalConfig, Object... objects) Update records to databaseMethods inherited from class org.nervousync.database.operator.process.Operator
getOperateResult, getOperatorMode, getTransactionalConfig, isReadOnly, setOperateResult, unwrap
-
Method Details
-
getSerialVersionUID
public static long getSerialVersionUID()Gets the value of serialVersionUID- Returns:
- the value of serialVersionUID
-
getObjects
Gets the value of baseObjects- Returns:
- the value of baseObjects
-
insertRecords
public static RecordOperator insertRecords(TransactionalConfig transactionalConfig, Object... objects) Insert records to database- Parameters:
transactionalConfig- the transactional configobjects- the objects- Returns:
- RecordOperator instance
-
updateRecords
public static RecordOperator updateRecords(TransactionalConfig transactionalConfig, Object... objects) Update records to database- Parameters:
transactionalConfig- the transactional configobjects- the objects- Returns:
- RecordOperator instance
-
deleteRecords
public static RecordOperator deleteRecords(TransactionalConfig transactionalConfig, Object... objects) Delete records from database- Parameters:
transactionalConfig- the transactional configobjects- the objects- Returns:
- RecordOperator instance
-