org.apache.gora.sql.statement
Class InsertUpdateStatement<K,V extends Persistent>
java.lang.Object
org.apache.gora.sql.statement.InsertUpdateStatement<K,V>
- Direct Known Subclasses:
- HSqlInsertUpdateStatement, MySqlInsertUpdateStatement
public abstract class InsertUpdateStatement<K,V extends Persistent>
- extends java.lang.Object
|
Method Summary |
void |
setObject(java.lang.Object object,
org.apache.avro.Schema schema,
Column column)
|
abstract java.sql.PreparedStatement |
toStatement(java.sql.Connection connection)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
columnMap
protected java.util.SortedMap<java.lang.String,InsertUpdateStatement.ColumnData> columnMap
tableName
protected java.lang.String tableName
mapping
protected SqlMapping mapping
store
protected SqlStore<K,V extends Persistent> store
InsertUpdateStatement
public InsertUpdateStatement(SqlStore<K,V> store,
SqlMapping mapping,
java.lang.String tableName)
setObject
public void setObject(java.lang.Object object,
org.apache.avro.Schema schema,
Column column)
toStatement
public abstract java.sql.PreparedStatement toStatement(java.sql.Connection connection)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.