Package guru.mikelue.jdut.operation
The most important objects to effect data to database.
DataGrainOperator
This interface defines the DataGrain
to be process over a Connection
.
DataRowsOperator
- The operator to process alist
ofDataRows
DataRowOperator
- The operator to process everyDataRow
in aDataGrain
OperatorFactory
This interface defines the factory used to retrieving a DataGrainOperator
by a String
.
DefaultOperatorFactory
This implementation of OperatorFactory is an extensible, automatic vendor-detection factory you should use.
Depending on provided vendor-specific implementation
, some pre-defined operation would be replaced with certain requirements for certain vendor.
For example, to insert new data to a table on MS SQL Server, which contains identity,
the column should allow you to assign value directly.
See IdentityInsertOperator
DefaultOperators
- Defines the name of operator pre-defined by this framework, e.g.
DefaultOperators.INSERT
. - Defines the lambda of operator(for
DataGrain
) pre-defined by this framework, e.g.DefaultOperators::insert
. - Defines the lambda of operator(for
DataRow
) pre-defined by this framework, e.g.DefaultOperators::doInsert
.
- See Also:
DefaultOperators
,DefaultOperatorFactory
,DataGrainOperator
-
Interface Summary Interface Description DataGrainOperator Operator to execute code by fedDataGrain
.DataGrainOperator.SurroundOperator The operator for surrounding ofDataGrainOperator
.DataRowOperator Operator to execute code by fedDataRow
.DataRowOperator.SurroundOperator The operator for surrounding ofDataRowOperator
.DataRowsOperator DataRowsOperator.SurroundOperator The operator for surrounding ofDataRowsOperator
.OperatorFactory Defines the factory to retrieve the target operator by name. -
Class Summary Class Description DefaultOperatorFactory This implementation would cache the found operator in order to improve performance for looking for corresponding operators.DefaultOperators Defines the name of operators.TableBasedOperator This operator operates every table only once.