Package org.apache.tika.eval.app.db
Class MimeBuffer
- java.lang.Object
-
- org.apache.tika.eval.app.db.MimeBuffer
-
public class MimeBuffer extends Object
-
-
Constructor Summary
Constructors Constructor Description MimeBuffer(Connection connection, TableInfo mimeTable, TikaConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getId(String key)
int
getNumWrites()
void
write(int id, String value)
-
-
-
Constructor Detail
-
MimeBuffer
public MimeBuffer(Connection connection, TableInfo mimeTable, TikaConfig config) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
write
public void write(int id, String value) throws RuntimeException
- Throws:
RuntimeException
-
close
public void close() throws SQLException
- Throws:
SQLException
-
getId
public int getId(String key)
-
getNumWrites
public int getNumWrites()
-
-