This project has retired. For details please refer to its
Attic page.
InsertStatement (Apache Gora 0.2 API)
org.apache.gora.sql.statement
Class InsertStatement
java.lang.Object
org.apache.gora.sql.statement.InsertStatement
public class InsertStatement
- extends Object
An SQL INSERT statement, for generating a Prepared Statement
InsertStatement
public InsertStatement(SqlMapping mapping,
String tableName)
InsertStatement
public InsertStatement(SqlMapping mapping,
String tableName,
String... columnNames)
toString
public String toString()
- Overrides:
toString
in class Object
getTableName
public String getTableName()
- Returns:
- the tableName
setTableName
public void setTableName(String tableName)
- Parameters:
tableName
- the tableName to set
getColumnNames
public List<String> getColumnNames()
- Returns:
- the columnNames
setColumnNames
public void setColumnNames(String... columnNames)
- Parameters:
columnNames
- the columnNames to set
addColumnName
public void addColumnName(String columnName)
clear
public void clear()
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.