Package com.zendesk.maxwell.row
Class RowMapBufferByTable
- java.lang.Object
-
- com.zendesk.maxwell.row.RowMapBufferByTable
-
public class RowMapBufferByTable extends Object
-
-
Constructor Summary
Constructors Constructor Description RowMapBufferByTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(RowMap row)voidflushToDisk(String databaseName, String tableName)RowMapremoveFirst(String databaseName, String tableName)Longsize(String databaseName, String tableName)
-
-
-
Method Detail
-
add
public void add(RowMap row) throws IOException
- Throws:
IOException
-
removeFirst
public RowMap removeFirst(String databaseName, String tableName) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
size
public Long size(String databaseName, String tableName) throws IOException
- Throws:
IOException
-
flushToDisk
public void flushToDisk(String databaseName, String tableName) throws IOException
- Throws:
IOException
-
-