net.neoremind.fountain.rowbaselog.event
接口 TableInfoCallback


public interface TableInfoCallback

获取表信息的回调接口描述

作者:
hexiufeng

方法摘要
 TableMapEvent getTableMapEvent(long tableId)
          根据tableId获取缓存的TableMapEvent
 TableMeta getTableMeta(String tableName, long tableId, TableMapEvent.ColumnInfo[] columnInfo)
          根据表名和tableid获取meta信息
 

方法详细信息

getTableMapEvent

TableMapEvent getTableMapEvent(long tableId)
根据tableId获取缓存的TableMapEvent

参数:
tableId - mysql内部记录表的id
返回:
TableMapEvent

getTableMeta

TableMeta getTableMeta(String tableName,
                       long tableId,
                       TableMapEvent.ColumnInfo[] columnInfo)
根据表名和tableid获取meta信息

参数:
tableName - 表名
tableId - table id
columnInfo - 列信息
返回:
meta


Copyright © 2016 neoremind. All rights reserved.