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
SQLExceptionpublic void write(int id,
String value)
throws RuntimeException
RuntimeExceptionpublic void close()
throws SQLException
SQLExceptionpublic int getId(String key)
public int getNumWrites()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.