simpledb.parse
Class DeleteData

java.lang.Object
  extended by simpledb.parse.DeleteData

public class DeleteData
extends Object

Data for the SQL delete statement.

Author:
Edward Sciore

Constructor Summary
DeleteData(String tblname, Predicate pred)
          Saves the table name and predicate.
 
Method Summary
 Predicate pred()
          Returns the predicate that describes which records should be deleted.
 String tableName()
          Returns the name of the affected table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteData

public DeleteData(String tblname,
                  Predicate pred)
Saves the table name and predicate.

Method Detail

tableName

public String tableName()
Returns the name of the affected table.

Returns:
the name of the affected table

pred

public Predicate pred()
Returns the predicate that describes which records should be deleted.

Returns:
the deletion predicate


Copyright © 2011. All Rights Reserved.