public class BinglogReadByFile extends InputStreamRamdomRead implements IBinlogRead
markPos, oriFileBIN_ROW, BINLOG_MAGIC, HEAD_LENGTH| 构造器和说明 |
|---|
BinglogReadByFile(File file,
Checksum checksum,
ISender... senders) |
BinglogReadByFile(File file,
String dbPattern,
String tbPattern,
Checksum checksum,
ISender... senders) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
checkHead() |
Pos |
curPos()
返回当前的位点
|
CountNum |
getCountNum()
返回统计数据
|
long |
getEndPos() |
BinLogVersion |
getVersion(EventHeader firstHead) |
void |
read(long pos) |
void |
resetNum()
重置增、删、改统计数据
|
void |
setBeginGtid(String beginGtid) |
void |
setEndGtid(String endGtid) |
void |
setEndPos(long endPos) |
available, close, getCurPos, mark, markSupported, read, read, readByte, readBytes, reset, seekread, skippublic BinglogReadByFile(File file, Checksum checksum, ISender... senders) throws IOException
IOExceptionpublic BinglogReadByFile(File file, String dbPattern, String tbPattern, Checksum checksum, ISender... senders) throws IOException
IOExceptionpublic Result checkHead()
checkHead 在接口中 IBinlogReadpublic BinLogVersion getVersion(EventHeader firstHead)
public void read(long pos)
throws IOException
read 在接口中 IBinlogReadIOExceptionpublic Pos curPos()
IBinlogReadcurPos 在接口中 IBinlogReadpublic void resetNum()
IBinlogReadresetNum 在接口中 IBinlogReadpublic CountNum getCountNum()
IBinlogReadgetCountNum 在接口中 IBinlogReadpublic long getEndPos()
public void setEndPos(long endPos)
public void setBeginGtid(String beginGtid)
public void setEndGtid(String endGtid)
Copyright © 2017. All rights reserved.