public class DBBuffer extends Object
Constructor and Description |
---|
DBBuffer(Connection connection,
String tableName,
String idColumnName,
String valueColumnName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getId(String key) |
int |
getNumWrites() |
void |
write(int id,
String value) |
public DBBuffer(Connection connection, String tableName, String idColumnName, String valueColumnName) throws SQLException
SQLException
public void write(int id, String value) throws RuntimeException
RuntimeException
public void close() throws SQLException
SQLException
public int getId(String key)
public int getNumWrites()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.