Produced by Siminov Software Solution LLP

siminov.orm.database.impl
Interface IDelete

All Known Implementing Classes:
Select

public interface IDelete

Exposes API's to delete tuples from table.


Field Summary
static java.lang.String INTERFACE_NAME
           
 
Method Summary
 IDeleteClause and(java.lang.String column)
          Used to specify AND condition between where clause.
 java.lang.Object execute()
          Used to delete, this method should be called in last to delete tuples from table.
 IDeleteClause or(java.lang.String column)
          Used to specify OR condition between where clause.
 IDeleteClause where(java.lang.String column)
          Column name of which condition will be specified.
 IDelete whereClause(java.lang.String whereClause)
          Used to provide manually created Where clause, instead of using API's.
 

Field Detail

INTERFACE_NAME

static final java.lang.String INTERFACE_NAME
Method Detail

where

IDeleteClause where(java.lang.String column)
Column name of which condition will be specified.

Parameters:
column - Name of column.
Returns:
IDeleteClause Interface.

whereClause

IDelete whereClause(java.lang.String whereClause)
Used to provide manually created Where clause, instead of using API's.

Parameters:
whereClause - Manually created where clause.
Returns:
IDelete Interface.

and

IDeleteClause and(java.lang.String column)
Used to specify AND condition between where clause.

Parameters:
column - Name of column on which condition need to be specified.
Returns:
IDeleteClause Interface.

or

IDeleteClause or(java.lang.String column)
Used to specify OR condition between where clause.

Parameters:
column - Name of column on which condition need to be specified.
Returns:
IDeleteClause Interface.

execute

java.lang.Object execute()
                         throws DatabaseException
Used to delete, this method should be called in last to delete tuples from table.

Throws:
DatabaseException - Throws exception if any error occur while deleting tuples from table.

Apache License 2.0

Copyright 2013