SYMBOL INDEX (9277 symbols across 1033 files) FILE: src/main/java/io/mycat/MycatServer.java class MycatServer (line 112) | public class MycatServer { method getInstance (line 152) | public static final MycatServer getInstance() { method MycatServer (line 177) | private MycatServer() { method getStartup (line 228) | public AtomicBoolean getStartup() { method getTotalNetWorkBufferSize (line 232) | public long getTotalNetWorkBufferSize() { method getBufferPool (line 236) | public BufferPool getBufferPool() { method getTimerExecutor (line 240) | public NameableExecutor getTimerExecutor() { method getCatletClassLoader (line 244) | public DynaClassLoader getCatletClassLoader() { method getSequnceProcessor (line 248) | public MyCATSequnceProcessor getSequnceProcessor() { method getSqlInterceptor (line 252) | public SQLInterceptor getSqlInterceptor() { method getScheduler (line 256) | public ScheduledExecutorService getScheduler() { method genXATXID (line 260) | public String genXATXID() { method getXATXIDGLOBAL (line 273) | public String getXATXIDGLOBAL() { method getUUID (line 277) | public static String getUUID() { method getMyCatMemory (line 283) | public MyCatMemory getMyCatMemory() { method getNextAsyncChannelGroup (line 293) | public AsynchronousChannelGroup getNextAsyncChannelGroup() { method getConfig (line 308) | public MycatConfig getConfig() { method beforeStart (line 312) | public void beforeStart() { method startup (line 319) | public void startup() throws IOException { method ensureSqlstatRecycleFuture (line 539) | public void ensureSqlstatRecycleFuture() { method initRuleData (line 553) | public void initRuleData() { method initZkDnindex (line 587) | private void initZkDnindex() { method reloadDnIndex (line 608) | public void reloadDnIndex() { method catletClassClear (line 625) | private Runnable catletClassClear() { method dataSourceOldConsClear (line 646) | private Runnable dataSourceOldConsClear() { method resultSetMapClear (line 680) | private Runnable resultSetMapClear() { method loadDnIndexProps (line 710) | private Properties loadDnIndexProps() { method saveDataHostIndexToZk (line 734) | public synchronized boolean saveDataHostIndexToZk(String dataHost, int... method saveDataHostIndex (line 760) | public synchronized void saveDataHostIndex(String dataHost, int curInd... method isUseZk (line 819) | private boolean isUseZk() { method isUseZkSwitch (line 824) | public boolean isUseZkSwitch() { method getRouterService (line 831) | public RouteService getRouterService() { method getCacheService (line 835) | public CacheService getCacheService() { method getBusinessExecutor (line 839) | public NameableExecutor getBusinessExecutor() { method getRouterservice (line 843) | public RouteService getRouterservice() { method nextProcessor (line 847) | public NIOProcessor nextProcessor() { method getProcessors (line 855) | public NIOProcessor[] getProcessors() { method getConnector (line 859) | public SocketConnector getConnector() { method getSqlRecorder (line 863) | public SQLRecorder getSqlRecorder() { method getStartupTime (line 867) | public long getStartupTime() { method isOnline (line 871) | public boolean isOnline() { method offline (line 875) | public void offline() { method online (line 879) | public void online() { method updateTime (line 884) | private Runnable updateTime() { method processorCheck (line 894) | private Runnable processorCheck() { method dataNodeConHeartBeatCheck (line 928) | private Runnable dataNodeConHeartBeatCheck(final long heartPeriod) { method dataNodeHeartbeat (line 955) | private Runnable dataNodeHeartbeat() { method dataNodeCalcActiveCons (line 973) | private Runnable dataNodeCalcActiveCons() { method recycleSqlStat (line 994) | private Runnable recycleSqlStat() { method xaTaskCheck (line 1010) | private Runnable xaTaskCheck() { method tableStructureCheck (line 1036) | private Runnable tableStructureCheck() { method glableTableConsistencyCheck (line 1041) | private Runnable glableTableConsistencyCheck() { method putXARecoveryLogToMemory (line 1055) | private void putXARecoveryLogToMemory(CoordinatorLogEntry[] coordinato... method performXARecoveryLog (line 1065) | private void performXARecoveryLog(CoordinatorLogEntry[] coordinatorLog... method sendXaCmd (line 1119) | private void sendXaCmd(ParticipantLogEntry participantLogEntry, String... method getCoordinatorLogEntries (line 1142) | private CoordinatorLogEntry[] getCoordinatorLogEntries() { method getSequenceExecutor (line 1153) | public NameableExecutor getSequenceExecutor() { method getDirectByteBufferPool (line 1158) | public DirectByteBufferPool getDirectByteBufferPool() { method isAIO (line 1162) | public boolean isAIO() { method getListeningExecutorService (line 1167) | public ListeningExecutorService getListeningExecutorService() { method getHeartbeatScheduler (line 1171) | public ScheduledExecutorService getHeartbeatScheduler() { method getLeaderLatch (line 1175) | public MycatLeaderLatch getLeaderLatch() { method main (line 1179) | public static void main(String[] args) throws Exception { FILE: src/main/java/io/mycat/MycatShutdown.java class MycatShutdown (line 31) | public final class MycatShutdown { method main (line 33) | public static void main(String[] args) { FILE: src/main/java/io/mycat/MycatStartup.java class MycatStartup (line 40) | public final class MycatStartup { method main (line 43) | public static void main(String[] args) { FILE: src/main/java/io/mycat/backend/BackendConnection.java type BackendConnection (line 11) | public interface BackendConnection extends ClosableConnection { method isModifiedSQLExecuted (line 12) | public boolean isModifiedSQLExecuted(); method isFromSlaveDB (line 14) | public boolean isFromSlaveDB(); method getSchema (line 16) | public String getSchema(); method setSchema (line 18) | public void setSchema(String newSchema); method getLastTime (line 20) | public long getLastTime(); method isClosedOrQuit (line 22) | public boolean isClosedOrQuit(); method setAttachment (line 24) | public void setAttachment(Object attachment); method quit (line 26) | public void quit(); method setLastTime (line 28) | public void setLastTime(long currentTimeMillis); method release (line 30) | public void release(); method setResponseHandler (line 32) | public boolean setResponseHandler(ResponseHandler commandHandler); method commit (line 34) | public void commit(); method query (line 36) | public void query(String sql) throws UnsupportedEncodingException; method getAttachment (line 38) | public Object getAttachment(); method closeWithoutRsp (line 40) | public void closeWithoutRsp(String reason); method execute (line 46) | public void execute(RouteResultsetNode node, ServerConnection source, method recordSql (line 49) | public void recordSql(String host, String schema, String statement); method syncAndExcute (line 51) | public boolean syncAndExcute(); method rollback (line 53) | public void rollback(); method isBorrowed (line 55) | public boolean isBorrowed(); method setBorrowed (line 57) | public void setBorrowed(boolean borrowed); method getTxIsolation (line 59) | public int getTxIsolation(); method isAutocommit (line 61) | public boolean isAutocommit(); method isTxReadonly (line 63) | public boolean isTxReadonly(); method getSqlSelectLimit (line 64) | public int getSqlSelectLimit(); method getId (line 66) | public long getId(); method discardClose (line 68) | public void discardClose(String reason); method query (line 70) | public void query(String sql, int charsetIndex); method checkAlive (line 72) | public boolean checkAlive(); method disableRead (line 74) | public void disableRead(); method enableRead (line 76) | public void enableRead(); FILE: src/main/java/io/mycat/backend/ConMap.java class ConMap (line 15) | public class ConMap { method getSchemaConQueue (line 20) | public ConQueue getSchemaConQueue(String schema) { method tryTakeCon (line 30) | public BackendConnection tryTakeCon(final String schema, boolean autoC... method tryTakeCon (line 49) | private BackendConnection tryTakeCon(ConQueue queue, boolean autoCommi... method getAllConQueue (line 60) | public Collection getAllConQueue() { method getActiveCountForSchema (line 64) | public int getActiveCountForSchema(String schema, method getActiveCountForDs (line 90) | public int getActiveCountForDs(PhysicalDatasource dataSouce) { method getTotalCountForDs (line 114) | public int getTotalCountForDs(PhysicalDatasource dataSouce) { method clearConnections (line 135) | public void clearConnections(String reason, PhysicalDatasource dataSou... FILE: src/main/java/io/mycat/backend/ConQueue.java class ConQueue (line 6) | public class ConQueue { method takeIdleCon (line 11) | public BackendConnection takeIdleCon(boolean autoCommit) { method getExecuteCount (line 38) | public long getExecuteCount() { method incExecuteCount (line 42) | public void incExecuteCount() { method removeCon (line 46) | public boolean removeCon(BackendConnection con) { method isSameCon (line 54) | public boolean isSameCon(BackendConnection con) { method getAutoCommitCons (line 63) | public ConcurrentLinkedQueue getAutoCommitCons() { method getManCommitCons (line 67) | public ConcurrentLinkedQueue getManCommitCons() { method getIdleConsToClose (line 71) | public ArrayList getIdleConsToClose(int count) { FILE: src/main/java/io/mycat/backend/ConnectionMeta.java class ConnectionMeta (line 32) | public class ConnectionMeta { method ConnectionMeta (line 38) | public ConnectionMeta(String schema, String charset, int txIsolation, method getSchema (line 47) | public String getSchema() { method isSameSchema (line 63) | public boolean isSameSchema(BackendConnection theCon) method getMetaSimilarity (line 74) | public int getMetaSimilarity(BackendConnection theCon) { method toString (line 91) | @Override FILE: src/main/java/io/mycat/backend/datasource/PhysicalDBNode.java class PhysicalDBNode (line 33) | public class PhysicalDBNode { method PhysicalDBNode (line 41) | public PhysicalDBNode(String hostName, String database, method getName (line 48) | public String getName() { method getDbPool (line 52) | public PhysicalDBPool getDbPool() { method getDatabase (line 56) | public String getDatabase() { method getConnectionFromSameSource (line 66) | public void getConnectionFromSameSource(String schema,boolean autocommit, method checkRequest (line 80) | private void checkRequest(String schema){ method getConnection (line 93) | public void getConnection(String schema,boolean autoCommit, RouteResul... FILE: src/main/java/io/mycat/backend/datasource/PhysicalDBPool.java class PhysicalDBPool (line 54) | public class PhysicalDBPool { method PhysicalDBPool (line 93) | public PhysicalDBPool(String name, DataHostConfig conf, method getWriteType (line 132) | public int getWriteType() { method setDataSourceProps (line 136) | private void setDataSourceProps() { method findDatasouce (line 142) | public PhysicalDatasource findDatasouce(BackendConnection exitsCon) { method getSlaveIDs (line 154) | public String getSlaveIDs() { method setSlaveIDs (line 158) | public void setSlaveIDs(String slaveIDs) { method getHostName (line 162) | public String getHostName() { method getSources (line 170) | public PhysicalDatasource[] getSources() { method getSource (line 174) | public PhysicalDatasource getSource() { method getActivedIndex (line 219) | public int getActivedIndex() { method isInitSuccess (line 223) | public boolean isInitSuccess() { method next (line 227) | public int next(int i) { method switchSourceVoted (line 235) | private boolean switchSourceVoted(int newIndex, boolean isAlarm, Strin... method switchSourceOrVoted (line 259) | public boolean switchSourceOrVoted(int newIndex, boolean isAlarm, Stri... method notSwitchSource (line 266) | public boolean notSwitchSource(int newIndex){ method switchSource (line 270) | public boolean switchSource(int newIndex, boolean isAlarm, String reas... method switchMessage (line 327) | private String switchMessage(int current, int newIndex, boolean alarm,... method loop (line 337) | private int loop(int i) { method init (line 341) | public void init(int index) { method init (line 345) | public void init(int index, String reason) { method checkIndex (line 383) | private boolean checkIndex(int i) { method getMessage (line 387) | private String getMessage(int index, String info) { method initSource (line 391) | private boolean initSource(int index, PhysicalDatasource ds) { method doHeartbeat (line 426) | public void doHeartbeat() { method heartbeatCheck (line 449) | public void heartbeatCheck(long ildCheckPeriod) { method startHeartbeat (line 466) | public void startHeartbeat() { method stopHeartbeat (line 472) | public void stopHeartbeat() { method clearDataSources (line 482) | public void clearDataSources(String reason) { method genAllDataSources (line 491) | public Collection genAllDataSources() { method getAllDataSources (line 510) | public Collection getAllDataSources() { method getRWBanlanceCon (line 522) | public void getRWBanlanceCon(String schema, boolean autocommit, method getReadBanlanceCon (line 572) | public void getReadBanlanceCon(String schema, boolean autocommit, Resp... method getReadCon (line 593) | public boolean getReadCon(String schema, boolean autocommit, ResponseH... method checkSlaveSynStatus (line 639) | private boolean checkSlaveSynStatus() { method randomSelect (line 653) | public PhysicalDatasource randomSelect(ArrayList o... method getBalance (line 695) | public int getBalance() { method isAlive (line 699) | private boolean isAlive(PhysicalDatasource theSource) { method canSelectAsReadNode (line 703) | private boolean canSelectAsReadNode(PhysicalDatasource theSource) { method getAllActiveRWSources (line 725) | private ArrayList getAllActiveRWSources( method getSchemas (line 805) | public String[] getSchemas() { method setSchemas (line 809) | public void setSchemas(String[] mySchemas) { FILE: src/main/java/io/mycat/backend/datasource/PhysicalDatasource.java class PhysicalDatasource (line 55) | public abstract class PhysicalDatasource { method PhysicalDatasource (line 101) | public PhysicalDatasource(DBHostConfig config, DataHostConfig hostConfig, method isMyConnection (line 111) | public boolean isMyConnection(BackendConnection con) { method getReadCount (line 120) | public long getReadCount() { method setReadCount (line 124) | public void setReadCount() { method getWriteCount (line 128) | public long getWriteCount() { method setWriteCount (line 132) | public void setWriteCount() { method getHostConfig (line 136) | public DataHostConfig getHostConfig() { method isReadNode (line 140) | public boolean isReadNode() { method getSize (line 144) | public int getSize() { method setDbPool (line 148) | public void setDbPool(PhysicalDBPool dbPool) { method getDbPool (line 152) | public PhysicalDBPool getDbPool() { method createHeartBeat (line 156) | public abstract DBHeartbeat createHeartBeat(); method getName (line 158) | public String getName() { method getExecuteCount (line 162) | public long getExecuteCount() { method getExecuteCountForSchema (line 171) | public long getExecuteCountForSchema(String schema) { method getActiveCountForSchema (line 176) | public int getActiveCountForSchema(String schema) { method getIdleCountForSchema (line 180) | public int getIdleCountForSchema(String schema) { method getHeartbeat (line 188) | public DBHeartbeat getHeartbeat() { method getIdleCount (line 192) | public int getIdleCount() { method validSchema (line 217) | private boolean validSchema(String schema) { method checkIfNeedHeartBeat (line 223) | private void checkIfNeedHeartBeat( method getIndex (line 257) | public int getIndex() { method isSalveOrRead (line 269) | public boolean isSalveOrRead() { method heatBeatCheck (line 277) | public void heatBeatCheck(long timeout, long conHeartBeatPeriod) { method closeByIdleMany (line 342) | private void closeByIdleMany(int ildeCloseCount) { method createByIdleLitte (line 396) | private void createByIdleLitte(int idleCons, int createCount) { method getActiveCount (line 421) | public int getActiveCount() { method getTotalCount (line 425) | public long getTotalCount() { method calcTotalCount (line 429) | public void calcTotalCount() { method clearCons (line 444) | public void clearCons(String reason) { method startHeartbeat (line 448) | public void startHeartbeat() { method stopHeartbeat (line 452) | public void stopHeartbeat() { method doHeartbeat (line 456) | public void doHeartbeat() { method takeCon (line 471) | private BackendConnection takeCon(BackendConnection conn, method createNewConnection (line 494) | private void createNewConnection(final ResponseHandler handler, method getConnection (line 529) | public void getConnection(String schema, boolean autocommit, method returnCon (line 605) | private void returnCon(BackendConnection c) { method releaseChannel (line 631) | public void releaseChannel(BackendConnection c) { method connectionClosed (line 639) | public void connectionClosed(BackendConnection conn) { method createNewConnection (line 651) | public abstract void createNewConnection(ResponseHandler handler, Stri... method testConnection (line 656) | public abstract boolean testConnection(String schema) throws IOException; method getHeartbeatRecoveryTime (line 658) | public long getHeartbeatRecoveryTime() { method setHeartbeatRecoveryTime (line 662) | public void setHeartbeatRecoveryTime(long heartbeatRecoveryTime) { method getConfig (line 666) | public DBHostConfig getConfig() { method isAlive (line 670) | public boolean isAlive() { FILE: src/main/java/io/mycat/backend/heartbeat/ConsistenCollectHandler.java class ConsistenCollectHandler (line 33) | public class ConsistenCollectHandler { method ConsistenCollectHandler (line 46) | public ConsistenCollectHandler(ManagerConnection c, String tableName, method startDetector (line 58) | public void startDetector(){ method onSuccess (line 66) | public void onSuccess(SQLQueryResult> result) { method cancelTask (line 126) | public void cancelTask() { method onError (line 135) | public void onError(String msg) { method getRetryTime (line 143) | public int getRetryTime() { class ConsisterThread (line 148) | class ConsisterThread implements Runnable{ method ConsisterThread (line 153) | public ConsisterThread(String tableName, String schemaName,ConsistenCo... method run (line 161) | public void run() { FILE: src/main/java/io/mycat/backend/heartbeat/DBHeartbeat.java class DBHeartbeat (line 33) | public abstract class DBHeartbeat { method getSlaveBehindMaster (line 57) | public Integer getSlaveBehindMaster() { method getDbSynStatus (line 61) | public int getDbSynStatus() { method setDbSynStatus (line 65) | public void setDbSynStatus(int dbSynStatus) { method setSlaveBehindMaster (line 69) | public void setSlaveBehindMaster(Integer slaveBehindMaster) { method getStatus (line 73) | public int getStatus() { method isChecking (line 77) | public boolean isChecking() { method start (line 81) | public abstract void start(); method stop (line 83) | public abstract void stop(); method isStop (line 85) | public boolean isStop() { method getErrorCount (line 89) | public int getErrorCount() { method getRecorder (line 93) | public HeartbeatRecorder getRecorder() { method getLastActiveTime (line 97) | public abstract String getLastActiveTime(); method getTimeout (line 99) | public abstract long getTimeout(); method heartbeat (line 101) | public abstract void heartbeat(); method getHeartbeatTimeout (line 103) | public long getHeartbeatTimeout() { method setHeartbeatTimeout (line 107) | public void setHeartbeatTimeout(long heartbeatTimeout) { method getHeartbeatRetry (line 111) | public int getHeartbeatRetry() { method setHeartbeatRetry (line 115) | public void setHeartbeatRetry(int heartbeatRetry) { method getHeartbeatSQL (line 119) | public String getHeartbeatSQL() { method setHeartbeatSQL (line 123) | public void setHeartbeatSQL(String heartbeatSQL) { method isNeedHeartbeat (line 127) | public boolean isNeedHeartbeat() { method getAsynRecorder (line 131) | public DataSourceSyncRecorder getAsynRecorder() { method writeStatusMsg (line 138) | protected void writeStatusMsg(String dataHost, String dataSourceName,i... method getMsg (line 150) | protected String getMsg(int status) { FILE: src/main/java/io/mycat/backend/heartbeat/MySQLConsistencyChecker.java class MySQLConsistencyChecker (line 48) | public class MySQLConsistencyChecker{ method MySQLConsistencyChecker (line 69) | public MySQLConsistencyChecker(MySQLDataSource source, String tableNam... method checkRecordCout (line 80) | public void checkRecordCout() { method checkMaxTimeStamp (line 101) | public void checkMaxTimeStamp() { method checkInnerColumnExist (line 125) | public void checkInnerColumnExist() { method setResult (line 148) | public void setResult(SQLQueryResult> result) { method isTimeOut (line 177) | public boolean isTimeOut(){ method getCountSQL (line 182) | public String getCountSQL() { method getColumnExistSQL (line 185) | public String getColumnExistSQL() { method setColumnExistSQL (line 188) | public void setColumnExistSQL(String columnExistSQL) { method getMaxSQL (line 191) | public String getMaxSQL() { method getTableName (line 194) | public String getTableName() { method getSource (line 197) | public MySQLDataSource getSource() { FILE: src/main/java/io/mycat/backend/heartbeat/MySQLConsistencyCheckerHandler.java class MySQLConsistencyCheckerHandler (line 40) | public class MySQLConsistencyCheckerHandler extends MySQLConsistencyChec... method MySQLConsistencyCheckerHandler (line 44) | public MySQLConsistencyCheckerHandler(PhysicalDBNode dbNode, MySQLData... method checkRecordCout (line 52) | public void checkRecordCout() { method checkMaxTimeStamp (line 66) | public void checkMaxTimeStamp() { method checkInnerColumnExist (line 83) | public void checkInnerColumnExist() { method setResult (line 101) | public void setResult(SQLQueryResult> result) { FILE: src/main/java/io/mycat/backend/heartbeat/MySQLConsistencyHelper.java class MySQLConsistencyHelper (line 44) | public class MySQLConsistencyHelper implements SQLQueryResultListener getParticipants() throws Exception { method getParticipantsCount (line 166) | public int getParticipantsCount() { FILE: src/main/java/io/mycat/backend/heartbeat/zkprocess/SwitchStatueToZK.java class SwitchStatueToZK (line 16) | public class SwitchStatueToZK{ method startSwitch (line 24) | public static boolean startSwitch(String dataHost) { method endSwitch (line 46) | public static boolean endSwitch(String dataHost) { FILE: src/main/java/io/mycat/backend/jdbc/JDBCConnection.java class JDBCConnection (line 48) | public class JDBCConnection implements BackendConnection { method getProcessor (line 80) | public NIOProcessor getProcessor() { method setProcessor (line 84) | public void setProcessor(NIOProcessor processor) { method JDBCConnection (line 88) | public JDBCConnection() { method getCon (line 92) | public Connection getCon() { method setCon (line 96) | public void setCon(Connection con) { method close (line 101) | @Override method closeWithoutRsp (line 122) | @Override method setId (line 128) | public void setId(long id) { method getPool (line 132) | public JDBCDatasource getPool() { method setPool (line 136) | public void setPool(JDBCDatasource pool) { method setHost (line 140) | public void setHost(String host) { method setPort (line 144) | public void setPort(int port) { method isClosed (line 148) | @Override method idleCheck (line 157) | @Override method getStartupTime (line 164) | @Override method getHost (line 169) | @Override method getPort (line 174) | @Override method getLocalPort (line 179) | @Override method getNetInBytes (line 184) | @Override method getNetOutBytes (line 190) | @Override method isModifiedSQLExecuted (line 195) | @Override method isFromSlaveDB (line 200) | @Override method getDbType (line 205) | public String getDbType() { method setDbType (line 209) | public void setDbType(String newDbType) { method getSchema (line 215) | @Override method setSchema (line 220) | @Override method getLastTime (line 227) | @Override method isClosedOrQuit (line 233) | @Override method setAttachment (line 238) | @Override method quit (line 244) | @Override method setLastTime (line 250) | @Override method release (line 256) | @Override method setRunning (line 263) | public void setRunning(boolean running) { method setResponseHandler (line 268) | @Override method commit (line 274) | @Override method convertNativeIsolationToJDBC (line 287) | private int convertNativeIsolationToJDBC(int nativeIsolation) method syncTxReadonly (line 303) | private void syncTxReadonly(boolean txReadonly) method syncIsolation (line 316) | private void syncIsolation(int nativeIsolation) method executeSQL (line 333) | private void executeSQL(RouteResultsetNode rrn, ServerConnection sc, method getNewFieldPacket (line 410) | private FieldPacket getNewFieldPacket(String charset, String fieldName) { method executeddl (line 422) | private void executeddl(ServerConnection sc, String sql) method ouputCallStatement (line 467) | private void ouputCallStatement(RouteResultsetNode rrn,ServerConnectio... method ouputResultSet (line 702) | private void ouputResultSet(ServerConnection sc, String sql) method query (line 806) | @Override method justForHeartbeat (line 816) | private void justForHeartbeat(String sql) method getAttachment (line 849) | @Override method getCharset (line 854) | @Override method execute (line 859) | @Override method recordSql (line 878) | @Override method syncAndExcute (line 883) | @Override method rollback (line 888) | @Override method isRunning (line 899) | public boolean isRunning() { method isBorrowed (line 903) | @Override method setBorrowed (line 908) | @Override method getTxIsolation (line 914) | @Override method isAutocommit (line 927) | @Override method isTxReadonly (line 941) | @Override method getSqlSelectLimit (line 955) | @Override method getId (line 960) | @Override method toString (line 965) | @Override method discardClose (line 975) | @Override method query (line 981) | @Override method checkAlive (line 991) | @Override method disableRead (line 1010) | @Override method enableRead (line 1016) | @Override method setFromSlaveDB (line 1022) | public void setFromSlaveDB(boolean fromSlaveDB) { FILE: src/main/java/io/mycat/backend/jdbc/JDBCDatasource.java class JDBCDatasource (line 23) | public class JDBCDatasource extends PhysicalDatasource { method JDBCDatasource (line 48) | public JDBCDatasource(DBHostConfig config, DataHostConfig hostConfig, ... method getDruidConnection (line 60) | public Connection getDruidConnection() throws SQLException { method createHeartBeat (line 64) | @Override method createNewConnection (line 69) | @Override method testConnection (line 97) | @Override method getConnection (line 124) | Connection getConnection() throws SQLException { FILE: src/main/java/io/mycat/backend/jdbc/JDBCHeartbeat.java class JDBCHeartbeat (line 19) | public class JDBCHeartbeat extends DBHeartbeat{ method JDBCHeartbeat (line 32) | public JDBCHeartbeat(JDBCDatasource source) method start (line 43) | @Override method stop (line 61) | @Override method getLastActiveTime (line 77) | @Override method getTimeout (line 85) | @Override method getRecorder (line 90) | @Override method heartbeat (line 96) | @Override method setResult (line 134) | public void setResult(int result) { method setOk (line 152) | private void setOk() { method nextDector (line 171) | private void nextDector( int nextStatue) { method setError (line 188) | private void setError() { method setTimeout (line 193) | private void setTimeout() { method switchSourceIfNeed (line 202) | private void switchSourceIfNeed(String reason) { FILE: src/main/java/io/mycat/backend/jdbc/ShowVariables.java class ShowVariables (line 50) | public final class ShowVariables method parseVariable (line 71) | private static List parseVariable(String sql) method execute (line 81) | public static void execute(ServerConnection c, String sql) { method justReturnValue (line 121) | public static void justReturnValue(ServerConnection c, String value) { method getRow (line 160) | private static RowDataPacket getRow(String name, String value, String ... method execute (line 188) | public static void execute(ServerConnection sc, String orgin, BackendC... method justReturnValue (line 193) | public static void justReturnValue(ServerConnection sc, String orgin, ... FILE: src/main/java/io/mycat/backend/jdbc/mongodb/DriverPropertyInfoHelper.java class DriverPropertyInfoHelper (line 7) | public class DriverPropertyInfoHelper{ method getPropertyInfo (line 23) | public DriverPropertyInfo[] getPropertyInfo() method addPropInfo (line 59) | private void addPropInfo(final ArrayList propInfos... FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoClientPropertyHelper.java class MongoClientPropertyHelper (line 15) | public class MongoClientPropertyHelper { method formatProperties (line 22) | public static String formatProperties(Properties pro) { FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoConnection.java class MongoConnection (line 33) | public class MongoConnection implements Connection { method MongoConnection (line 41) | public MongoConnection(MongoClientURI mcu, String url) throws UnknownH... method getDB (line 47) | public DB getDB() { method unwrap (line 56) | @Override method isWrapperFor (line 62) | @Override method nativeSQL (line 68) | @Override method setAutoCommit (line 74) | @Override method getAutoCommit (line 80) | @Override method commit (line 86) | @Override method rollback (line 92) | @Override method close (line 98) | @Override method isClosed (line 105) | @Override method getMetaData (line 111) | @Override method setReadOnly (line 117) | @Override method isReadOnly (line 124) | @Override method setCatalog (line 130) | @Override method getCatalog (line 136) | @Override method setTransactionIsolation (line 142) | @Override method getTransactionIsolation (line 148) | @Override method getWarnings (line 154) | @Override method clearWarnings (line 160) | @Override method getTypeMap (line 166) | @Override method setTypeMap (line 172) | @Override method setHoldability (line 178) | @Override method getHoldability (line 184) | @Override method setSavepoint (line 190) | @Override method setSavepoint (line 196) | @Override method rollback (line 202) | @Override method releaseSavepoint (line 208) | @Override method createStatement (line 214) | @Override method createStatement (line 220) | @Override method createStatement (line 227) | @Override method prepareCall (line 235) | @Override method prepareCall (line 241) | @Override method prepareCall (line 248) | @Override method prepareStatement (line 257) | @Override method prepareStatement (line 263) | @Override method prepareStatement (line 270) | @Override method prepareStatement (line 278) | @Override method prepareStatement (line 285) | @Override method prepareStatement (line 292) | @Override method createClob (line 299) | @Override method createBlob (line 305) | @Override method createNClob (line 311) | @Override method createSQLXML (line 317) | @Override method isValid (line 323) | @Override method setClientInfo (line 329) | @Override method setClientInfo (line 336) | @Override method getClientInfo (line 343) | @Override method getClientInfo (line 349) | @Override method createArrayOf (line 355) | @Override method createStruct (line 362) | @Override method setSchema (line 369) | @Override method getSchema (line 375) | @Override method abort (line 381) | @Override method setNetworkTimeout (line 387) | @Override method getNetworkTimeout (line 394) | @Override FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoData.java class MongoData (line 13) | public class MongoData { method MongoData (line 23) | public MongoData(){ method getCount (line 28) | public long getCount() { method setCount (line 33) | public void setCount(long count) { method getTable (line 37) | public String getTable() { method setTable (line 41) | public void setTable(String table) { method getGrouyBy (line 45) | public DBObject getGrouyBy() { method getGrouyBys (line 49) | public BasicDBList getGrouyBys() { method setGrouyBy (line 58) | public void setGrouyBy(DBObject gb) { method getObjectToType (line 75) | public static int getObjectToType(Object ob){ method setField (line 114) | public void setField(String field,int ftype) { method getFields (line 118) | public HashMap getFields() { method getType (line 122) | public boolean getType() { method getCursor (line 126) | public DBCursor getCursor() { method setCursor (line 130) | public DBCursor setCursor(DBCursor cursor) { FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoDriver.java class MongoDriver (line 21) | public class MongoDriver implements Driver method connect (line 37) | @Override method parseURL (line 55) | private MongoClientURI parseURL(String url, Properties defaults) { method acceptsURL (line 84) | @Override method getPropertyInfo (line 92) | @Override method getMajorVersion (line 100) | @Override method getMinorVersion (line 105) | @Override method jdbcCompliant (line 110) | @Override method getParentLogger (line 114) | @Override FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoEmbeddedObjectProcessor.java class MongoEmbeddedObjectProcessor (line 63) | public class MongoEmbeddedObjectProcessor { method valueMapper (line 74) | public static Object valueMapper(String columnLabel, Object value, Cla... method loadFields (line 120) | private static Map loadFields(Class clazzToMapper) { method getParameterizedClass (line 136) | private static Class getParameterizedClass(Field field) { method createCollection (line 167) | private static Collection createCollection(Field field, int si... method beanMapper (line 186) | private static Object beanMapper(BasicDBObject dbObj, Class clazzTo... method arrayMapper (line 263) | private static Object arrayMapper(BasicDBList basicDBList, Class ar... FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoPreparedStatement.java class MongoPreparedStatement (line 31) | public class MongoPreparedStatement extends MongoStatement implements method MongoPreparedStatement (line 37) | public MongoPreparedStatement(MongoConnection conn, int type, method executeQuery (line 45) | @Override method executeUpdate (line 51) | @Override method setValue (line 58) | public void setValue(int idx, Object o) { method setNull (line 65) | @Override method setBoolean (line 71) | @Override method setByte (line 77) | @Override method setShort (line 83) | @Override method setInt (line 89) | @Override method setLong (line 95) | @Override method setFloat (line 101) | @Override method setDouble (line 107) | @Override method setBigDecimal (line 113) | @Override method setString (line 120) | @Override method setBytes (line 126) | @Override method setDate (line 132) | @Override method setTime (line 138) | @Override method setTimestamp (line 144) | @Override method setAsciiStream (line 151) | @Override method setUnicodeStream (line 158) | @Override method setBinaryStream (line 165) | @Override method clearParameters (line 172) | @Override method setObject (line 178) | @Override method setObject (line 185) | @Override method execute (line 191) | @Override method addBatch (line 197) | @Override method setCharacterStream (line 203) | @Override method setRef (line 210) | @Override method setBlob (line 216) | @Override method setClob (line 222) | @Override method setArray (line 228) | @Override method getMetaData (line 234) | @Override method setDate (line 240) | @Override method setTime (line 247) | @Override method setTimestamp (line 254) | @Override method setNull (line 261) | @Override method setURL (line 268) | @Override method getParameterMetaData (line 274) | @Override method setRowId (line 280) | @Override method setNString (line 286) | @Override method setNCharacterStream (line 293) | @Override method setNClob (line 300) | @Override method setClob (line 306) | @Override method setBlob (line 313) | @Override method setNClob (line 320) | @Override method setSQLXML (line 327) | @Override method setObject (line 334) | @Override method setAsciiStream (line 341) | @Override method setBinaryStream (line 348) | @Override method setCharacterStream (line 355) | @Override method setAsciiStream (line 362) | @Override method setBinaryStream (line 369) | @Override method setCharacterStream (line 376) | @Override method setNCharacterStream (line 383) | @Override method setClob (line 390) | @Override method setBlob (line 396) | @Override method setNClob (line 403) | @Override FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoResultSet.java class MongoResultSet (line 39) | public class MongoResultSet implements ResultSet method MongoResultSet (line 56) | public MongoResultSet(MongoData mongo,String schema) throws SQLExcepti... method SetFields (line 95) | public void SetFields(Set keySet) { method SetFieldType (line 100) | public void SetFieldType(boolean isid) throws SQLException { method SetFieldType (line 116) | public void SetFieldType(HashMap map) throws SQLExcept... method unwrap (line 124) | @Override method isWrapperFor (line 130) | @Override method next (line 136) | @Override method close (line 179) | @Override method getField (line 185) | public String getField(int columnIndex){ method wasNull (line 189) | @Override method getString (line 195) | @Override method getBoolean (line 201) | @Override method getByte (line 207) | @Override method getShort (line 213) | @Override method getInt (line 219) | @Override method getLong (line 225) | @Override method getFloat (line 231) | @Override method getDouble (line 237) | @Override method getBigDecimal (line 243) | @Override method getBytes (line 250) | @Override method getDate (line 256) | @Override method getTime (line 262) | @Override method getTimestamp (line 268) | @Override method getAsciiStream (line 274) | @Override method getUnicodeStream (line 280) | @Override method getBinaryStream (line 286) | @Override method getString (line 292) | @Override method getBoolean (line 302) | @Override method getNumber (line 313) | public Number getNumber(String columnLabel) method getByte (line 322) | @Override method getShort (line 328) | @Override method getInt (line 334) | @Override method getLong (line 340) | @Override method getFloat (line 346) | @Override method getDouble (line 352) | @Override method getBigDecimal (line 358) | @Override method getBytes (line 365) | @Override method getDate (line 371) | @Override method getTime (line 377) | @Override method getTimestamp (line 383) | @Override method getAsciiStream (line 393) | @Override method getUnicodeStream (line 399) | @Override method getBinaryStream (line 405) | @Override method getWarnings (line 411) | @Override method clearWarnings (line 417) | @Override method getCursorName (line 423) | @Override method getMetaData (line 429) | @Override method getObject (line 443) | @Override method getObject (line 459) | @Override method findColumn (line 481) | @Override method getCharacterStream (line 487) | @Override method getCharacterStream (line 493) | @Override method getBigDecimal (line 499) | @Override method getBigDecimal (line 505) | @Override method isBeforeFirst (line 511) | @Override method isAfterLast (line 517) | @Override method isFirst (line 523) | @Override method isLast (line 529) | @Override method beforeFirst (line 535) | @Override method afterLast (line 541) | @Override method first (line 547) | @Override method last (line 553) | @Override method getRow (line 559) | @Override method absolute (line 565) | @Override method relative (line 571) | @Override method previous (line 577) | @Override method setFetchDirection (line 583) | @Override method getFetchDirection (line 591) | @Override method setFetchSize (line 597) | @Override method getFetchSize (line 603) | @Override method getType (line 609) | @Override method getConcurrency (line 615) | @Override method rowUpdated (line 621) | @Override method rowInserted (line 627) | @Override method rowDeleted (line 633) | @Override method updateNull (line 639) | @Override method updateBoolean (line 645) | @Override method updateByte (line 651) | @Override method updateShort (line 657) | @Override method updateInt (line 663) | @Override method updateLong (line 669) | @Override method updateFloat (line 675) | @Override method updateDouble (line 681) | @Override method updateBigDecimal (line 687) | @Override method updateString (line 694) | @Override method updateBytes (line 700) | @Override method updateDate (line 706) | @Override method updateTime (line 712) | @Override method updateTimestamp (line 718) | @Override method updateAsciiStream (line 725) | @Override method updateBinaryStream (line 732) | @Override method updateCharacterStream (line 739) | @Override method updateObject (line 746) | @Override method updateObject (line 753) | @Override method updateNull (line 759) | @Override method updateBoolean (line 765) | @Override method updateByte (line 772) | @Override method updateShort (line 778) | @Override method updateInt (line 784) | @Override method updateLong (line 790) | @Override method updateFloat (line 796) | @Override method updateDouble (line 802) | @Override method updateBigDecimal (line 808) | @Override method updateString (line 815) | @Override method updateBytes (line 821) | @Override method updateDate (line 827) | @Override method updateTime (line 833) | @Override method updateTimestamp (line 839) | @Override method updateAsciiStream (line 846) | @Override method updateBinaryStream (line 853) | @Override method updateCharacterStream (line 860) | @Override method updateObject (line 867) | @Override method updateObject (line 874) | @Override method insertRow (line 880) | @Override method updateRow (line 886) | @Override method deleteRow (line 892) | @Override method refreshRow (line 898) | @Override method cancelRowUpdates (line 904) | @Override method moveToInsertRow (line 910) | @Override method moveToCurrentRow (line 916) | @Override method getStatement (line 922) | @Override method getObject (line 928) | @Override method getRef (line 935) | @Override method getBlob (line 941) | @Override method getClob (line 947) | @Override method getArray (line 953) | @Override method getObject (line 959) | @Override method getRef (line 966) | @Override method getBlob (line 972) | @Override method getClob (line 978) | @Override method getArray (line 984) | @Override method getDate (line 990) | @Override method getDate (line 996) | @Override method getTime (line 1002) | @Override method getTime (line 1008) | @Override method getTimestamp (line 1014) | @Override method getTimestamp (line 1021) | @Override method getURL (line 1028) | @Override method getURL (line 1034) | @Override method updateRef (line 1040) | @Override method updateRef (line 1046) | @Override method updateBlob (line 1052) | @Override method updateBlob (line 1058) | @Override method updateClob (line 1064) | @Override method updateClob (line 1070) | @Override method updateArray (line 1076) | @Override method updateArray (line 1082) | @Override method getRowId (line 1088) | @Override method getRowId (line 1094) | @Override method updateRowId (line 1100) | @Override method updateRowId (line 1106) | @Override method getHoldability (line 1112) | @Override method isClosed (line 1118) | @Override method updateNString (line 1124) | @Override method updateNString (line 1131) | @Override method updateNClob (line 1138) | @Override method updateNClob (line 1144) | @Override method getNClob (line 1151) | @Override method getNClob (line 1157) | @Override method getSQLXML (line 1163) | @Override method getSQLXML (line 1169) | @Override method updateSQLXML (line 1175) | @Override method updateSQLXML (line 1182) | @Override method getNString (line 1189) | @Override method getNString (line 1195) | @Override method getNCharacterStream (line 1201) | @Override method getNCharacterStream (line 1207) | @Override method updateNCharacterStream (line 1213) | @Override method updateNCharacterStream (line 1220) | @Override method updateAsciiStream (line 1227) | @Override method updateBinaryStream (line 1234) | @Override method updateCharacterStream (line 1241) | @Override method updateAsciiStream (line 1248) | @Override method updateBinaryStream (line 1255) | @Override method updateCharacterStream (line 1262) | @Override method updateBlob (line 1269) | @Override method updateBlob (line 1276) | @Override method updateClob (line 1283) | @Override method updateClob (line 1290) | @Override method updateNClob (line 1297) | @Override method updateNClob (line 1304) | @Override method updateNCharacterStream (line 1311) | @Override method updateNCharacterStream (line 1318) | @Override method updateAsciiStream (line 1325) | @Override method updateBinaryStream (line 1332) | @Override method updateCharacterStream (line 1339) | @Override method updateAsciiStream (line 1346) | @Override method updateBinaryStream (line 1353) | @Override method updateCharacterStream (line 1360) | @Override method updateBlob (line 1367) | @Override method updateBlob (line 1374) | @Override method updateClob (line 1381) | @Override method updateClob (line 1387) | @Override method updateNClob (line 1394) | @Override method updateNClob (line 1400) | @Override method getObject (line 1407) | @Override method getObject (line 1413) | @Override FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoResultSetMetaData.java class MongoResultSetMetaData (line 15) | public class MongoResultSetMetaData implements ResultSetMetaData { method MongoResultSetMetaData (line 30) | public MongoResultSetMetaData(String[] select,int [] ftype,String sche... method unwrap (line 38) | @Override method isWrapperFor (line 44) | @Override method getColumnCount (line 50) | @Override method isAutoIncrement (line 60) | @Override method isCaseSensitive (line 66) | @Override method isSearchable (line 72) | @Override method isCurrency (line 78) | @Override method isNullable (line 84) | @Override method isSigned (line 90) | @Override method getColumnDisplaySize (line 96) | @Override method getColumnLabel (line 102) | @Override method getColumnName (line 107) | @Override method getSchemaName (line 112) | @Override method getPrecision (line 118) | @Override method getScale (line 124) | @Override method getTableName (line 130) | @Override method getCatalogName (line 136) | @Override method getColumnType (line 142) | @Override method getColumnTypeName (line 148) | @Override method isReadOnly (line 165) | @Override method isWritable (line 171) | @Override method isDefinitelyWritable (line 177) | @Override method getColumnClassName (line 183) | @Override FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoSQLException.java class MongoSQLException (line 5) | @SuppressWarnings("serial") method MongoSQLException (line 9) | public MongoSQLException(String msg) class ErrorSQL (line 14) | public static class ErrorSQL extends MongoSQLException method ErrorSQL (line 17) | ErrorSQL(String sql) FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoSQLParser.java class MongoSQLParser (line 28) | public class MongoSQLParser { method MongoSQLParser (line 35) | public MongoSQLParser(DB db, String sql) throws MongoSQLException method parser (line 42) | public SQLStatement parser(String s) throws MongoSQLException method setParams (line 57) | public void setParams(List params) method query (line 63) | public MongoData query() throws MongoSQLException{ method executeUpdate (line 157) | public int executeUpdate() throws MongoSQLException { method InsertData (line 176) | private int InsertData(SQLInsertStatement state) { method UpData (line 199) | private int UpData(SQLUpdateStatement state) { method DeleteDate (line 215) | private int DeleteDate(SQLDeleteStatement state) { method dropTable (line 228) | private int dropTable(SQLDropTableStatement state) { method getSQLExprToInt (line 237) | private int getSQLExprToInt(SQLExpr expr){ method getSQLExprToAsc (line 243) | private int getSQLExprToAsc(SQLOrderingSpecification ASC){ method remove (line 254) | public String remove(String resource,char ch) method getExpValue (line 269) | private Object getExpValue(SQLExpr expr){ method getExprFieldName (line 292) | private String getExprFieldName(SQLAggregateExpr expr){ method getFieldName2 (line 300) | private String getFieldName2(SQLExpr item){ method getFieldName (line 304) | private String getFieldName(SQLSelectItem item){ method parserWhere (line 307) | private DBObject parserWhere(SQLExpr expr){ method parserDBObject (line 315) | private void parserDBObject(BasicDBObject ob,String akey, String aop,O... method opSQLExpr (line 340) | @SuppressWarnings("unused") method parserWhere (line 377) | private void parserWhere(SQLExpr aexpr,BasicDBObject o){ method parserWhereOLD (line 449) | private void parserWhereOLD(SQLExpr aexpr,BasicDBObject o){ method orWhere (line 502) | private void orWhere(SQLExpr exprL,SQLExpr exprR ,BasicDBObject ob){ FILE: src/main/java/io/mycat/backend/jdbc/mongodb/MongoStatement.java class MongoStatement (line 16) | public class MongoStatement implements Statement method MongoStatement (line 26) | public MongoStatement(MongoConnection conn, int type, int concurrency,... method unwrap (line 44) | @Override method isWrapperFor (line 50) | @Override method executeQuery (line 56) | @Override method executeUpdate (line 75) | @Override method close (line 81) | @Override method getMaxFieldSize (line 87) | @Override method setMaxFieldSize (line 93) | @Override method getMaxRows (line 99) | @Override method setMaxRows (line 105) | @Override method setEscapeProcessing (line 111) | @Override method getQueryTimeout (line 117) | @Override method setQueryTimeout (line 123) | @Override method cancel (line 129) | @Override method getWarnings (line 135) | @Override method clearWarnings (line 141) | @Override method setCursorName (line 147) | @Override method execute (line 153) | @Override method getResultSet (line 159) | @Override method getUpdateCount (line 165) | @Override method getMoreResults (line 171) | @Override method setFetchDirection (line 177) | @Override method getFetchDirection (line 183) | @Override method setFetchSize (line 189) | @Override method getFetchSize (line 195) | @Override method getResultSetConcurrency (line 201) | @Override method getResultSetType (line 207) | @Override method addBatch (line 213) | @Override method clearBatch (line 219) | @Override method executeBatch (line 224) | @Override method getConnection (line 230) | @Override method getMoreResults (line 236) | @Override method getGeneratedKeys (line 242) | @Override method executeUpdate (line 248) | @Override method executeUpdate (line 254) | @Override method executeUpdate (line 261) | @Override method execute (line 267) | @Override method execute (line 273) | @Override method execute (line 278) | @Override method getResultSetHoldability (line 284) | @Override method isClosed (line 290) | @Override method setPoolable (line 296) | @Override method isPoolable (line 302) | @Override method closeOnCompletion (line 308) | @Override method isCloseOnCompletion (line 314) | @Override FILE: src/main/java/io/mycat/backend/jdbc/mongodb/StringUtils.java class StringUtils (line 4) | public class StringUtils { method startsWithIgnoreCase (line 7) | public static boolean startsWithIgnoreCase(String searchIn, int startAt, method startsWithIgnoreCase (line 13) | public static boolean startsWithIgnoreCase(String searchIn, String sea... FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/DriverPropertyInfoHelper.java class DriverPropertyInfoHelper (line 7) | public class DriverPropertyInfoHelper{ method getPropertyInfo (line 23) | public DriverPropertyInfo[] getPropertyInfo() method addPropInfo (line 59) | private void addPropInfo(final ArrayList propInfos... FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/SequoiaConnection.java class SequoiaConnection (line 33) | public class SequoiaConnection implements Connection { method SequoiaConnection (line 41) | public SequoiaConnection(String url, String db) throws UnknownHostExce... method getDB (line 52) | public CollectionSpace getDB() { method unwrap (line 66) | @Override method isWrapperFor (line 72) | @Override method nativeSQL (line 78) | @Override method setAutoCommit (line 84) | @Override method getAutoCommit (line 92) | @Override method commit (line 98) | @Override method rollback (line 104) | @Override method close (line 110) | @Override method isClosed (line 117) | @Override method getMetaData (line 123) | @Override method setReadOnly (line 129) | @Override method isReadOnly (line 136) | @Override method setCatalog (line 142) | @Override method getCatalog (line 148) | @Override method setTransactionIsolation (line 154) | @Override method getTransactionIsolation (line 160) | @Override method getWarnings (line 166) | @Override method clearWarnings (line 172) | @Override method getTypeMap (line 178) | @Override method setTypeMap (line 184) | @Override method setHoldability (line 190) | @Override method getHoldability (line 196) | @Override method setSavepoint (line 202) | @Override method setSavepoint (line 208) | @Override method rollback (line 214) | @Override method releaseSavepoint (line 220) | @Override method createStatement (line 226) | @Override method createStatement (line 232) | @Override method createStatement (line 239) | @Override method prepareCall (line 247) | @Override method prepareCall (line 253) | @Override method prepareCall (line 260) | @Override method prepareStatement (line 269) | @Override method prepareStatement (line 275) | @Override method prepareStatement (line 282) | @Override method prepareStatement (line 290) | @Override method prepareStatement (line 297) | @Override method prepareStatement (line 304) | @Override method createClob (line 311) | @Override method createBlob (line 317) | @Override method createNClob (line 323) | @Override method createSQLXML (line 329) | @Override method isValid (line 335) | @Override method setClientInfo (line 341) | @Override method setClientInfo (line 348) | @Override method getClientInfo (line 355) | @Override method getClientInfo (line 361) | @Override method createArrayOf (line 367) | @Override method createStruct (line 374) | @Override method setSchema (line 381) | @Override method getSchema (line 387) | @Override method abort (line 393) | @Override method setNetworkTimeout (line 399) | @Override method getNetworkTimeout (line 406) | @Override FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/SequoiaData.java class SequoiaData (line 14) | public class SequoiaData { method SequoiaData (line 24) | public SequoiaData(){ method getCount (line 29) | public long getCount() { method setCount (line 34) | public void setCount(long count) { method getTable (line 38) | public String getTable() { method setTable (line 42) | public void setTable(String table) { method getGrouyBy (line 46) | public BSONObject getGrouyBy() { method getGrouyBys (line 50) | public BasicBSONList getGrouyBys() { method setGrouyBy (line 58) | public void setGrouyBy(BSONObject gb) { method getObjectToType (line 72) | public static int getObjectToType(Object ob){ method setField (line 111) | public void setField(String field,int ftype) { method getFields (line 115) | public HashMap getFields() { method getType (line 119) | public boolean getType() { method getCursor (line 123) | public DBCursor getCursor() { method setCursor (line 127) | public DBCursor setCursor(DBCursor cursor) { FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/SequoiaDriver.java class SequoiaDriver (line 20) | public class SequoiaDriver implements Driver method connect (line 36) | @Override method acceptsURL (line 87) | @Override method getPropertyInfo (line 95) | @Override method getMajorVersion (line 103) | @Override method getMinorVersion (line 108) | @Override method jdbcCompliant (line 113) | @Override method getParentLogger (line 117) | @Override FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/SequoiaPreparedStatement.java class SequoiaPreparedStatement (line 31) | public class SequoiaPreparedStatement extends SequoiaStatement implements method SequoiaPreparedStatement (line 37) | public SequoiaPreparedStatement(SequoiaConnection conn, int type, method executeQuery (line 45) | @Override method executeUpdate (line 51) | @Override method setValue (line 58) | public void setValue(int idx, Object o) { method setNull (line 65) | @Override method setBoolean (line 71) | @Override method setByte (line 77) | @Override method setShort (line 83) | @Override method setInt (line 89) | @Override method setLong (line 95) | @Override method setFloat (line 101) | @Override method setDouble (line 107) | @Override method setBigDecimal (line 113) | @Override method setString (line 120) | @Override method setBytes (line 126) | @Override method setDate (line 132) | @Override method setTime (line 138) | @Override method setTimestamp (line 144) | @Override method setAsciiStream (line 151) | @Override method setUnicodeStream (line 158) | @Override method setBinaryStream (line 165) | @Override method clearParameters (line 172) | @Override method setObject (line 178) | @Override method setObject (line 185) | @Override method execute (line 191) | @Override method addBatch (line 197) | @Override method setCharacterStream (line 203) | @Override method setRef (line 210) | @Override method setBlob (line 216) | @Override method setClob (line 222) | @Override method setArray (line 228) | @Override method getMetaData (line 234) | @Override method setDate (line 240) | @Override method setTime (line 247) | @Override method setTimestamp (line 254) | @Override method setNull (line 261) | @Override method setURL (line 268) | @Override method getParameterMetaData (line 274) | @Override method setRowId (line 280) | @Override method setNString (line 286) | @Override method setNCharacterStream (line 293) | @Override method setNClob (line 300) | @Override method setClob (line 306) | @Override method setBlob (line 313) | @Override method setNClob (line 320) | @Override method setSQLXML (line 327) | @Override method setObject (line 334) | @Override method setAsciiStream (line 341) | @Override method setBinaryStream (line 348) | @Override method setCharacterStream (line 355) | @Override method setAsciiStream (line 362) | @Override method setBinaryStream (line 369) | @Override method setCharacterStream (line 376) | @Override method setNCharacterStream (line 383) | @Override method setClob (line 390) | @Override method setBlob (line 396) | @Override method setNClob (line 403) | @Override FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/SequoiaResultSet.java class SequoiaResultSet (line 40) | public class SequoiaResultSet implements ResultSet method SequoiaResultSet (line 57) | public SequoiaResultSet(SequoiaData mongo,String schema) throws SQLExc... method SetFields (line 96) | public void SetFields(Set keySet) { method SetFieldType (line 101) | public void SetFieldType(boolean isid) throws SQLException { method SetFieldType (line 117) | public void SetFieldType(HashMap map) throws SQLExcept... method unwrap (line 125) | @Override method isWrapperFor (line 131) | @Override method next (line 137) | @Override method close (line 180) | @Override method getField (line 186) | public String getField(int columnIndex){ method wasNull (line 190) | @Override method getString (line 196) | @Override method getBoolean (line 202) | @Override method getByte (line 208) | @Override method getShort (line 214) | @Override method getInt (line 220) | @Override method getLong (line 226) | @Override method getFloat (line 232) | @Override method getDouble (line 238) | @Override method getBigDecimal (line 244) | @Override method getBytes (line 251) | @Override method getDate (line 257) | @Override method getTime (line 263) | @Override method getTimestamp (line 269) | @Override method getAsciiStream (line 275) | @Override method getUnicodeStream (line 281) | @Override method getBinaryStream (line 287) | @Override method getString (line 293) | @Override method getBoolean (line 303) | @Override method getNumber (line 314) | public Number getNumber(String columnLabel) method getByte (line 323) | @Override method getShort (line 329) | @Override method getInt (line 335) | @Override method getLong (line 341) | @Override method getFloat (line 347) | @Override method getDouble (line 353) | @Override method getBigDecimal (line 359) | @Override method getBytes (line 366) | @Override method getDate (line 372) | @Override method getTime (line 378) | @Override method getTimestamp (line 384) | @Override method getAsciiStream (line 390) | @Override method getUnicodeStream (line 396) | @Override method getBinaryStream (line 402) | @Override method getWarnings (line 408) | @Override method clearWarnings (line 414) | @Override method getCursorName (line 420) | @Override method getMetaData (line 426) | @Override method getObject (line 440) | @Override method getObject (line 456) | @Override method findColumn (line 478) | @Override method getCharacterStream (line 484) | @Override method getCharacterStream (line 490) | @Override method getBigDecimal (line 496) | @Override method getBigDecimal (line 502) | @Override method isBeforeFirst (line 508) | @Override method isAfterLast (line 514) | @Override method isFirst (line 520) | @Override method isLast (line 526) | @Override method beforeFirst (line 532) | @Override method afterLast (line 538) | @Override method first (line 544) | @Override method last (line 550) | @Override method getRow (line 556) | @Override method absolute (line 562) | @Override method relative (line 568) | @Override method previous (line 574) | @Override method setFetchDirection (line 580) | @Override method getFetchDirection (line 587) | @Override method setFetchSize (line 593) | @Override method getFetchSize (line 599) | @Override method getType (line 605) | @Override method getConcurrency (line 611) | @Override method rowUpdated (line 617) | @Override method rowInserted (line 623) | @Override method rowDeleted (line 629) | @Override method updateNull (line 635) | @Override method updateBoolean (line 641) | @Override method updateByte (line 647) | @Override method updateShort (line 653) | @Override method updateInt (line 659) | @Override method updateLong (line 665) | @Override method updateFloat (line 671) | @Override method updateDouble (line 677) | @Override method updateBigDecimal (line 683) | @Override method updateString (line 690) | @Override method updateBytes (line 696) | @Override method updateDate (line 702) | @Override method updateTime (line 708) | @Override method updateTimestamp (line 714) | @Override method updateAsciiStream (line 721) | @Override method updateBinaryStream (line 728) | @Override method updateCharacterStream (line 735) | @Override method updateObject (line 742) | @Override method updateObject (line 749) | @Override method updateNull (line 755) | @Override method updateBoolean (line 761) | @Override method updateByte (line 768) | @Override method updateShort (line 774) | @Override method updateInt (line 780) | @Override method updateLong (line 786) | @Override method updateFloat (line 792) | @Override method updateDouble (line 798) | @Override method updateBigDecimal (line 804) | @Override method updateString (line 811) | @Override method updateBytes (line 817) | @Override method updateDate (line 823) | @Override method updateTime (line 829) | @Override method updateTimestamp (line 835) | @Override method updateAsciiStream (line 842) | @Override method updateBinaryStream (line 849) | @Override method updateCharacterStream (line 856) | @Override method updateObject (line 863) | @Override method updateObject (line 870) | @Override method insertRow (line 876) | @Override method updateRow (line 882) | @Override method deleteRow (line 888) | @Override method refreshRow (line 894) | @Override method cancelRowUpdates (line 900) | @Override method moveToInsertRow (line 906) | @Override method moveToCurrentRow (line 912) | @Override method getStatement (line 918) | @Override method getObject (line 924) | @Override method getRef (line 931) | @Override method getBlob (line 937) | @Override method getClob (line 943) | @Override method getArray (line 949) | @Override method getObject (line 955) | @Override method getRef (line 962) | @Override method getBlob (line 968) | @Override method getClob (line 974) | @Override method getArray (line 980) | @Override method getDate (line 986) | @Override method getDate (line 992) | @Override method getTime (line 998) | @Override method getTime (line 1004) | @Override method getTimestamp (line 1010) | @Override method getTimestamp (line 1017) | @Override method getURL (line 1024) | @Override method getURL (line 1030) | @Override method updateRef (line 1036) | @Override method updateRef (line 1042) | @Override method updateBlob (line 1048) | @Override method updateBlob (line 1054) | @Override method updateClob (line 1060) | @Override method updateClob (line 1066) | @Override method updateArray (line 1072) | @Override method updateArray (line 1078) | @Override method getRowId (line 1084) | @Override method getRowId (line 1090) | @Override method updateRowId (line 1096) | @Override method updateRowId (line 1102) | @Override method getHoldability (line 1108) | @Override method isClosed (line 1114) | @Override method updateNString (line 1120) | @Override method updateNString (line 1127) | @Override method updateNClob (line 1134) | @Override method updateNClob (line 1140) | @Override method getNClob (line 1147) | @Override method getNClob (line 1153) | @Override method getSQLXML (line 1159) | @Override method getSQLXML (line 1165) | @Override method updateSQLXML (line 1171) | @Override method updateSQLXML (line 1178) | @Override method getNString (line 1185) | @Override method getNString (line 1191) | @Override method getNCharacterStream (line 1197) | @Override method getNCharacterStream (line 1203) | @Override method updateNCharacterStream (line 1209) | @Override method updateNCharacterStream (line 1216) | @Override method updateAsciiStream (line 1223) | @Override method updateBinaryStream (line 1230) | @Override method updateCharacterStream (line 1237) | @Override method updateAsciiStream (line 1244) | @Override method updateBinaryStream (line 1251) | @Override method updateCharacterStream (line 1258) | @Override method updateBlob (line 1265) | @Override method updateBlob (line 1272) | @Override method updateClob (line 1279) | @Override method updateClob (line 1286) | @Override method updateNClob (line 1293) | @Override method updateNClob (line 1300) | @Override method updateNCharacterStream (line 1307) | @Override method updateNCharacterStream (line 1314) | @Override method updateAsciiStream (line 1321) | @Override method updateBinaryStream (line 1328) | @Override method updateCharacterStream (line 1335) | @Override method updateAsciiStream (line 1342) | @Override method updateBinaryStream (line 1349) | @Override method updateCharacterStream (line 1356) | @Override method updateBlob (line 1363) | @Override method updateBlob (line 1370) | @Override method updateClob (line 1377) | @Override method updateClob (line 1383) | @Override method updateNClob (line 1390) | @Override method updateNClob (line 1396) | @Override method getObject (line 1403) | @Override method getObject (line 1409) | @Override FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/SequoiaResultSetMetaData.java class SequoiaResultSetMetaData (line 14) | public class SequoiaResultSetMetaData implements ResultSetMetaData { method SequoiaResultSetMetaData (line 29) | public SequoiaResultSetMetaData(String[] select,int [] ftype,String sc... method unwrap (line 37) | @Override method isWrapperFor (line 43) | @Override method getColumnCount (line 49) | @Override method isAutoIncrement (line 59) | @Override method isCaseSensitive (line 65) | @Override method isSearchable (line 71) | @Override method isCurrency (line 77) | @Override method isNullable (line 83) | @Override method isSigned (line 89) | @Override method getColumnDisplaySize (line 95) | @Override method getColumnLabel (line 101) | @Override method getColumnName (line 106) | @Override method getSchemaName (line 111) | @Override method getPrecision (line 117) | @Override method getScale (line 123) | @Override method getTableName (line 129) | @Override method getCatalogName (line 135) | @Override method getColumnType (line 141) | @Override method getColumnTypeName (line 147) | @Override method isReadOnly (line 164) | @Override method isWritable (line 170) | @Override method isDefinitelyWritable (line 176) | @Override method getColumnClassName (line 182) | @Override FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/SequoiaSQLException.java class SequoiaSQLException (line 5) | @SuppressWarnings("serial") method SequoiaSQLException (line 9) | public SequoiaSQLException(String msg) class ErrorSQL (line 14) | public static class ErrorSQL extends SequoiaSQLException method ErrorSQL (line 17) | ErrorSQL(String sql) FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/SequoiaSQLParser.java class SequoiaSQLParser (line 35) | public class SequoiaSQLParser { method SequoiaSQLParser (line 42) | public SequoiaSQLParser(CollectionSpace db, String sql) throws Sequoi... method parser (line 49) | public SQLStatement parser(String s) throws SequoiaSQLException method setParams (line 64) | public void setParams(List params) method query (line 70) | public SequoiaData query() throws SequoiaSQLException{ method executeUpdate (line 166) | public int executeUpdate() throws SequoiaSQLException { method InsertData (line 185) | private int InsertData(SQLInsertStatement state) { method UpData (line 204) | private int UpData(SQLUpdateStatement state) { method DeleteDate (line 221) | private int DeleteDate(SQLDeleteStatement state) { method dropTable (line 236) | private int dropTable(SQLDropTableStatement state) { method createTable (line 246) | private int createTable(SQLCreateTableStatement state) { method getSQLExprToInt (line 254) | private int getSQLExprToInt(SQLExpr expr){ method getSQLExprToAsc (line 260) | private int getSQLExprToAsc(SQLOrderingSpecification ASC){ method remove (line 271) | public String remove(String resource,char ch) method getExpValue (line 286) | private Object getExpValue(SQLExpr expr){ method getExprFieldName (line 309) | private String getExprFieldName(SQLAggregateExpr expr){ method getFieldName2 (line 317) | private String getFieldName2(SQLExpr item){ method getFieldName (line 321) | private String getFieldName(SQLSelectItem item){ method parserWhere (line 324) | private BSONObject parserWhere(SQLExpr expr){ method parserDBObject (line 332) | private void parserDBObject(BasicBSONObject ob,String akey, String aop... method opSQLExpr (line 357) | @SuppressWarnings("unused") method parserWhere (line 392) | private void parserWhere(SQLExpr aexpr,BasicBSONObject o){ method orWhere (line 444) | private void orWhere(SQLExpr exprL,SQLExpr exprR ,BasicBSONObject ob){ FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/SequoiaStatement.java class SequoiaStatement (line 14) | public class SequoiaStatement implements Statement method SequoiaStatement (line 24) | public SequoiaStatement(SequoiaConnection conn, int type, int concurre... method unwrap (line 42) | @Override method isWrapperFor (line 48) | @Override method executeQuery (line 54) | @Override method executeUpdate (line 74) | @Override method close (line 80) | @Override method getMaxFieldSize (line 86) | @Override method setMaxFieldSize (line 92) | @Override method getMaxRows (line 98) | @Override method setMaxRows (line 104) | @Override method setEscapeProcessing (line 110) | @Override method getQueryTimeout (line 116) | @Override method setQueryTimeout (line 122) | @Override method cancel (line 128) | @Override method getWarnings (line 134) | @Override method clearWarnings (line 140) | @Override method setCursorName (line 146) | @Override method execute (line 152) | @Override method getResultSet (line 158) | @Override method getUpdateCount (line 164) | @Override method getMoreResults (line 170) | @Override method setFetchDirection (line 176) | @Override method getFetchDirection (line 182) | @Override method setFetchSize (line 188) | @Override method getFetchSize (line 194) | @Override method getResultSetConcurrency (line 200) | @Override method getResultSetType (line 206) | @Override method addBatch (line 212) | @Override method clearBatch (line 218) | @Override method executeBatch (line 224) | @Override method getConnection (line 230) | @Override method getMoreResults (line 236) | @Override method getGeneratedKeys (line 242) | @Override method executeUpdate (line 248) | @Override method executeUpdate (line 256) | @Override method executeUpdate (line 264) | @Override method execute (line 272) | @Override method execute (line 279) | @Override method execute (line 285) | @Override method getResultSetHoldability (line 292) | @Override method isClosed (line 298) | @Override method setPoolable (line 304) | @Override method isPoolable (line 310) | @Override method closeOnCompletion (line 316) | @Override method isCloseOnCompletion (line 322) | @Override FILE: src/main/java/io/mycat/backend/jdbc/sequoiadb/StringUtils.java class StringUtils (line 4) | public class StringUtils { method startsWithIgnoreCase (line 7) | public static boolean startsWithIgnoreCase(String searchIn, int startAt, method startsWithIgnoreCase (line 13) | public static boolean startsWithIgnoreCase(String searchIn, String sea... FILE: src/main/java/io/mycat/backend/loadbalance/LeastActiveLoadBalance.java class LeastActiveLoadBalance (line 31) | public class LeastActiveLoadBalance implements LoadBalance { method doSelect (line 33) | @Override FILE: src/main/java/io/mycat/backend/loadbalance/LoadBalance.java type LoadBalance (line 30) | public interface LoadBalance { method doSelect (line 32) | PhysicalDatasource doSelect(String hostName, ArrayList dataNode... method execute (line 128) | public String execute(String schema, String sql, ArrayList dat... method _execute (line 187) | private void _execute(BackendConnection conn, RouteResultsetNode node,... method connectionAcquired (line 196) | @Override method connectionError (line 206) | @Override method errorResponse (line 213) | @Override method okResponse (line 225) | @Override method rowResponse (line 236) | @Override method getColumn (line 252) | private String getColumn(byte[] row) { method rowEofResponse (line 259) | @Override method executeException (line 266) | private void executeException(BackendConnection c, Throwable e) { method writeQueueAvailable (line 273) | @Override method connectionClose (line 278) | @Override method fieldEofResponse (line 284) | @Override method releaseConnection (line 289) | private void releaseConnection(BackendConnection conn) { FILE: src/main/java/io/mycat/backend/mysql/nio/handler/GetConnectionHandler.java class GetConnectionHandler (line 40) | public class GetConnectionHandler implements ResponseHandler { method GetConnectionHandler (line 47) | public GetConnectionHandler( method getStatusInfo (line 55) | public String getStatusInfo() method finished (line 59) | public boolean finished() { method connectionAcquired (line 63) | @Override method connectionError (line 71) | @Override method errorResponse (line 78) | @Override method okResponse (line 84) | @Override method fieldEofResponse (line 90) | @Override method rowResponse (line 96) | @Override method rowEofResponse (line 101) | @Override method writeQueueAvailable (line 106) | @Override method connectionClose (line 111) | @Override FILE: src/main/java/io/mycat/backend/mysql/nio/handler/JDBCFetchStoreNodeOfChildTableHandler.java class JDBCFetchStoreNodeOfChildTableHandler (line 18) | public class JDBCFetchStoreNodeOfChildTableHandler { method execute (line 23) | public String execute(String schema, String sql, ArrayList dat... FILE: src/main/java/io/mycat/backend/mysql/nio/handler/KillConnectionHandler.java class KillConnectionHandler (line 41) | public class KillConnectionHandler implements ResponseHandler { method KillConnectionHandler (line 48) | public KillConnectionHandler(BackendConnection killee, method connectionAcquired (line 54) | @Override method connectionError (line 66) | @Override method okResponse (line 71) | @Override method rowEofResponse (line 82) | @Override method errorResponse (line 91) | @Override method fieldEofResponse (line 107) | @Override method rowResponse (line 112) | @Override method writeQueueAvailable (line 116) | @Override method connectionClose (line 121) | @Override FILE: src/main/java/io/mycat/backend/mysql/nio/handler/LoadDataResponseHandler.java type LoadDataResponseHandler (line 8) | public interface LoadDataResponseHandler method requestDataResponse (line 13) | void requestDataResponse(byte[] row, BackendConnection conn); FILE: src/main/java/io/mycat/backend/mysql/nio/handler/LockTablesHandler.java class LockTablesHandler (line 24) | public class LockTablesHandler extends MultiNodeHandler { method LockTablesHandler (line 32) | public LockTablesHandler(NonBlockingSession session, RouteResultset rr... method execute (line 39) | public void execute() throws Exception { method _execute (line 54) | private void _execute(BackendConnection conn, RouteResultsetNode node) { method connectionAcquired (line 66) | @Override method okResponse (line 73) | @Override method byte2Str (line 100) | protected String byte2Str(byte[] data) { method fieldEofResponse (line 108) | @Override method rowResponse (line 115) | @Override method rowEofResponse (line 122) | @Override method writeQueueAvailable (line 129) | @Override FILE: src/main/java/io/mycat/backend/mysql/nio/handler/MiddlerQueryResultHandler.java class MiddlerQueryResultHandler (line 16) | public class MiddlerQueryResultHandler implements MiddlerResultHandle... method MiddlerQueryResultHandler (line 23) | public MiddlerQueryResultHandler(SecondHandler secondHandler) { method MiddlerQueryResultHandler (line 29) | private MiddlerQueryResultHandler(){ method getResult (line 33) | @Override method add (line 37) | @Override method getDataType (line 42) | @Override method secondEexcute (line 47) | @Override FILE: src/main/java/io/mycat/backend/mysql/nio/handler/MiddlerResultHandler.java type MiddlerResultHandler (line 13) | public interface MiddlerResultHandler { method getResult (line 16) | public List getResult(); method add (line 18) | public void add(T t ); method getDataType (line 20) | public String getDataType(); method secondEexcute (line 22) | public void secondEexcute(); FILE: src/main/java/io/mycat/backend/mysql/nio/handler/MultiNodeCoordinator.java class MultiNodeCoordinator (line 25) | public class MultiNodeCoordinator implements ResponseHandler { method MultiNodeCoordinator (line 41) | public MultiNodeCoordinator(NonBlockingSession session) { method executeBatchNodeCmd (line 46) | public void executeBatchNodeCmd(SQLCtrlCommand cmdHandler) { method writeRecoverLog (line 121) | private void writeRecoverLog(int initCount) { method finished (line 159) | private boolean finished() { method connectionError (line 164) | @Override method connectionAcquired (line 168) | @Override method errorResponse (line 173) | @Override method okResponse (line 233) | @Override method fieldEofResponse (line 353) | @Override method rowResponse (line 359) | @Override method rowEofResponse (line 364) | @Override method writeQueueAvailable (line 368) | @Override method connectionClose (line 373) | @Override method setFail (line 430) | private void setFail(String err){ method tryErrorFinished (line 434) | protected void tryErrorFinished(boolean allEnd) { FILE: src/main/java/io/mycat/backend/mysql/nio/handler/MultiNodeHandler.java class MultiNodeHandler (line 40) | abstract class MultiNodeHandler implements ResponseHandler, Terminatable { method MultiNodeHandler (line 50) | public MultiNodeHandler(NonBlockingSession session) { method setFail (line 57) | public void setFail(String errMsg) { method isFail (line 62) | public boolean isFail() { method terminate (line 70) | @Override method canClose (line 88) | protected boolean canClose(BackendConnection conn, boolean tryErrorFin... method decrementCountToZero (line 101) | protected void decrementCountToZero() { method connectionError (line 116) | public void connectionError(Throwable e, BackendConnection conn) { method errorResponse (line 134) | public void errorResponse(byte[] data, BackendConnection conn) { method clearIfSessionClosed (line 147) | public boolean clearIfSessionClosed(NonBlockingSession session) { method decrementCountBy (line 162) | protected boolean decrementCountBy(int finished) { method reset (line 182) | protected void reset(int initCount) { method createErrPkg (line 189) | protected ErrorPacket createErrPkg(String errmgs) { method tryErrorFinished (line 202) | protected void tryErrorFinished(boolean allEnd) { method connectionClose (line 226) | public void connectionClose(BackendConnection conn, String reason) { method clearResources (line 248) | public void clearResources() { FILE: src/main/java/io/mycat/backend/mysql/nio/handler/MultiNodeQueryHandler.java class MultiNodeQueryHandler (line 77) | public class MultiNodeQueryHandler extends MultiNodeHandler implements L... method MultiNodeQueryHandler (line 125) | public MultiNodeQueryHandler(int sqlType, RouteResultset rrs, method reset (line 181) | protected void reset(int initCount) { method incExecCount (line 193) | private synchronized int incExecCount() { method getSession (line 197) | public NonBlockingSession getSession() { method execute (line 201) | public void execute() throws Exception { method _execute (line 260) | private void _execute(BackendConnection conn, RouteResultsetNode node) { method connectionAcquired (line 279) | @Override method decrementOkCountBy (line 293) | private boolean decrementOkCountBy(int finished) { method errorResponse (line 302) | @Override method connectionClose (line 328) | @Override method connectionError (line 339) | @Override method executeError (line 357) | private void executeError(BackendConnection conn, ErrorPacket errPacke... method okResponse (line 376) | @Override method rowEofResponse (line 497) | @Override method outputMergeResult (line 609) | public void outputMergeResult(final ServerConnection source, final byt... method outputMergeResult (line 704) | public void outputMergeResult(final ServerConnection source, method fieldEofResponse (line 781) | @Override method handleDataProcessException (line 941) | public void handleDataProcessException(Exception e) { method rowResponse (line 959) | @Override method clearResources (line 1040) | @Override method writeQueueAvailable (line 1052) | @Override method requestDataResponse (line 1056) | @Override method isPrepared (line 1061) | public boolean isPrepared() { method setPrepared (line 1065) | public void setPrepared(boolean prepared) { method processFinishWork (line 1079) | protected void processFinishWork(byte[] data, boolean isCommit, Backen... FILE: src/main/java/io/mycat/backend/mysql/nio/handler/NewConnectionRespHandler.java class NewConnectionRespHandler (line 32) | public class NewConnectionRespHandler implements ResponseHandler{ method connectionError (line 35) | @Override method connectionAcquired (line 41) | @Override method errorResponse (line 50) | @Override method okResponse (line 56) | @Override method fieldEofResponse (line 62) | @Override method rowResponse (line 69) | @Override method rowEofResponse (line 75) | @Override method writeQueueAvailable (line 81) | @Override method connectionClose (line 87) | @Override FILE: src/main/java/io/mycat/backend/mysql/nio/handler/PrepareRequestHandler.java class PrepareRequestHandler (line 43) | public class PrepareRequestHandler implements ResponseHandler { method PrepareRequestHandler (line 58) | public PrepareRequestHandler(ServerConnection sc, String sql, PrepareR... method execute (line 66) | public void execute() { method doFinished (line 102) | private void doFinished(boolean failed, String errorMsg) { method closePrepareStmt (line 110) | private void closePrepareStmt(BackendConnection conn) { method parseTables (line 127) | private List parseTables(String sql) { method sendPrepareRequestCommand (line 152) | private void sendPrepareRequestCommand(BackendConnection conn) { method isLastPacket (line 163) | public boolean isLastPacket() { method connectionError (line 167) | @Override method connectionAcquired (line 174) | @Override method errorResponse (line 195) | @Override method okResponse (line 218) | @Override method fieldEofResponse (line 264) | @Override method rowResponse (line 270) | @Override method rowEofResponse (line 275) | @Override method writeQueueAvailable (line 282) | @Override method connectionClose (line 288) | @Override type PrepareRequestCallback (line 299) | public interface PrepareRequestCallback { method callback (line 300) | void callback(boolean success, String msg, FieldPacket[] params, Fie... FILE: src/main/java/io/mycat/backend/mysql/nio/handler/ResponseHandler.java type ResponseHandler (line 34) | public interface ResponseHandler { method connectionError (line 42) | public void connectionError(Throwable e, BackendConnection conn); method connectionAcquired (line 47) | void connectionAcquired(BackendConnection conn); method errorResponse (line 52) | void errorResponse(byte[] err, BackendConnection conn); method okResponse (line 57) | void okResponse(byte[] ok, BackendConnection conn); method fieldEofResponse (line 62) | void fieldEofResponse(byte[] header, List fields, byte[] eof, method rowResponse (line 68) | void rowResponse(byte[] row, BackendConnection conn); method rowEofResponse (line 73) | void rowEofResponse(byte[] eof, BackendConnection conn); method writeQueueAvailable (line 79) | void writeQueueAvailable(); method connectionClose (line 84) | void connectionClose(BackendConnection conn, String reason); FILE: src/main/java/io/mycat/backend/mysql/nio/handler/RollbackNodeHandler.java class RollbackNodeHandler (line 43) | public class RollbackNodeHandler extends MultiNodeHandler { method RollbackNodeHandler (line 47) | public RollbackNodeHandler(NonBlockingSession session) { method RollbackNodeHandler (line 51) | public RollbackNodeHandler(NonBlockingSession session, byte[] response... method rollback (line 56) | public void rollback() { method okResponse (line 186) | @Override method rowEofResponse (line 221) | @Override method connectionAcquired (line 228) | @Override method fieldEofResponse (line 233) | @Override method rowResponse (line 241) | @Override method writeQueueAvailable (line 248) | @Override method connectionClose (line 253) | public void connectionClose(BackendConnection conn, String reason) { method tryErrorFinished (line 269) | protected void tryErrorFinished(boolean allEnd) { FILE: src/main/java/io/mycat/backend/mysql/nio/handler/RollbackReleaseHandler.java class RollbackReleaseHandler (line 35) | public class RollbackReleaseHandler implements ResponseHandler { method RollbackReleaseHandler (line 39) | public RollbackReleaseHandler() { method connectionAcquired (line 42) | @Override method connectionError (line 47) | @Override method errorResponse (line 52) | @Override method okResponse (line 57) | @Override method fieldEofResponse (line 63) | @Override method rowResponse (line 68) | @Override method rowEofResponse (line 72) | @Override method writeQueueAvailable (line 77) | @Override method connectionClose (line 82) | @Override FILE: src/main/java/io/mycat/backend/mysql/nio/handler/SecondHandler.java type SecondHandler (line 10) | public interface SecondHandler { method doExecute (line 12) | public void doExecute(List params); FILE: src/main/java/io/mycat/backend/mysql/nio/handler/SecondQueryHandler.java class SecondQueryHandler (line 5) | public class SecondQueryHandler implements SecondHandler { method SecondQueryHandler (line 8) | public SecondQueryHandler(MiddlerResultHandler middlerResultHandler){ method doExecute (line 12) | @Override FILE: src/main/java/io/mycat/backend/mysql/nio/handler/SimpleLogHandler.java class SimpleLogHandler (line 33) | public class SimpleLogHandler implements ResponseHandler{ method connectionError (line 36) | @Override method connectionAcquired (line 42) | @Override method errorResponse (line 48) | @Override method okResponse (line 53) | @Override method fieldEofResponse (line 59) | @Override method rowResponse (line 71) | @Override method rowEofResponse (line 77) | @Override method writeQueueAvailable (line 84) | @Override method connectionClose (line 90) | @Override method bytesToHex (line 96) | public static String bytesToHex(byte[] bytes) { FILE: src/main/java/io/mycat/backend/mysql/nio/handler/SingleNodeHandler.java class SingleNodeHandler (line 65) | public class SingleNodeHandler implements ResponseHandler, Terminatable,... method SingleNodeHandler (line 94) | public SingleNodeHandler(RouteResultset rrs, NonBlockingSession sessio... method getSession (line 127) | public NonBlockingSession getSession() { method getRouteResultsetNode (line 130) | public RouteResultsetNode getRouteResultsetNode() { method getRouteResultset (line 133) | public RouteResultset getRouteResultset(){ method getBuffer (line 136) | public ByteBuffer getBuffer() { method terminate (line 139) | @Override method endRunning (line 154) | protected void endRunning() { method recycleResources (line 167) | private void recycleResources() { method execute (line 176) | public void execute() throws Exception { method connectionAcquired (line 217) | @Override method _execute (line 224) | private void _execute(BackendConnection conn) { method executeException (line 240) | private void executeException(BackendConnection c, Exception e) { method connectionError (line 250) | @Override method errorResponse (line 270) | @Override method backConnectionErr (line 278) | private void backConnectionErr(ErrorPacket errPkg, BackendConnection c... method okResponse (line 327) | @Override method rowEofResponse (line 386) | @Override method allocBuffer (line 429) | protected ByteBuffer allocBuffer() { method fieldEofResponse (line 441) | @Override method rowResponse (line 502) | @Override method writeQueueAvailable (line 552) | @Override method connectionClose (line 557) | @Override method clearResources (line 569) | public void clearResources() { method requestDataResponse (line 573) | @Override method isPrepared (line 578) | public boolean isPrepared() { method setPrepared (line 582) | public void setPrepared(boolean prepared) { method toString (line 586) | @Override FILE: src/main/java/io/mycat/backend/mysql/nio/handler/Terminatable.java type Terminatable (line 29) | public interface Terminatable { method terminate (line 30) | void terminate(Runnable runnable); FILE: src/main/java/io/mycat/backend/mysql/nio/handler/UnLockTablesHandler.java class UnLockTablesHandler (line 21) | public class UnLockTablesHandler extends MultiNodeHandler implements Res... method UnLockTablesHandler (line 29) | public UnLockTablesHandler(NonBlockingSession session, boolean autocom... method execute (line 36) | public void execute() { method connectionError (line 65) | @Override method connectionAcquired (line 70) | @Override method errorResponse (line 75) | @Override method okResponse (line 80) | @Override method fieldEofResponse (line 105) | @Override method rowResponse (line 112) | @Override method rowEofResponse (line 119) | @Override method writeQueueAvailable (line 126) | @Override method connectionClose (line 132) | @Override FILE: src/main/java/io/mycat/backend/mysql/xa/CoordinatorLogEntry.java class CoordinatorLogEntry (line 10) | public class CoordinatorLogEntry implements Serializable { method CoordinatorLogEntry (line 21) | public CoordinatorLogEntry(String coordinatorId, method CoordinatorLogEntry (line 26) | public CoordinatorLogEntry(String coordinatorId, boolean wasCommitted, method CoordinatorLogEntry (line 34) | public CoordinatorLogEntry(String coordinatorId, boolean wasCommitted, FILE: src/main/java/io/mycat/backend/mysql/xa/Deserializer.java class Deserializer (line 13) | public class Deserializer { method tokenize (line 23) | List tokenize(String content) { method extractArrayPart (line 35) | String extractArrayPart(String content) { method fromJSON (line 46) | public CoordinatorLogEntry fromJSON(String coordinatorLogEntryStr) thr... method validateJSONContent (line 70) | private void validateJSONContent(String coordinatorLogEntryStr) method extractHeader (line 80) | private Map extractHeader(String coordinatorLogEntrySt... method recreateParticipantLogEntry (line 90) | ParticipantLogEntry recreateParticipantLogEntry(String coordinatorId, FILE: src/main/java/io/mycat/backend/mysql/xa/LogFileLock.java class LogFileLock (line 16) | public class LogFileLock { method LogFileLock (line 28) | public LogFileLock(String dir, String fileName) { method acquireLock (line 36) | public void acquireLock() throws LogException { method releaseLock (line 59) | public void releaseLock() { FILE: src/main/java/io/mycat/backend/mysql/xa/ParticipantLogEntry.java class ParticipantLogEntry (line 8) | public class ParticipantLogEntry implements Serializable { method ParticipantLogEntry (line 40) | public ParticipantLogEntry(String coordinatorId, String uri, method equals (line 51) | @Override method hashCode (line 61) | @Override method toString (line 68) | @Override FILE: src/main/java/io/mycat/backend/mysql/xa/Serializer.java class Serializer (line 6) | public class Serializer { method toJSON (line 15) | public String toJSON(CoordinatorLogEntry coordinatorLogEntry) { FILE: src/main/java/io/mycat/backend/mysql/xa/TxState.java class TxState (line 6) | public class TxState { FILE: src/main/java/io/mycat/backend/mysql/xa/VersionedFile.java class VersionedFile (line 15) | public class VersionedFile { method VersionedFile (line 39) | public VersionedFile ( String baseDir , String baseName , String suffix ) method resetVersion (line 51) | private void resetVersion() method extractLastValidVersionNumberFromFileNames (line 56) | private long extractLastValidVersionNumberFromFileNames() { method extractVersion (line 77) | private long extractVersion ( String name ) method getBackupVersionFileName (line 94) | private String getBackupVersionFileName() method getCurrentVersionFileName (line 99) | public String getCurrentVersionFileName() method getBaseUrl (line 104) | public String getBaseUrl() method getBaseDir (line 109) | public String getBaseDir() method getBaseName (line 114) | public String getBaseName() method getSuffix (line 119) | public String getSuffix() method openLastValidVersionForReading (line 134) | public FileInputStream openLastValidVersionForReading() method openNewVersionForWriting (line 153) | public FileOutputStream openNewVersionForWriting() throws IOException method openNewVersionForNioWriting (line 173) | public FileChannel openNewVersionForNioWriting() throws FileNotFoundEx... method discardBackupVersion (line 193) | public void discardBackupVersion() throws IllegalStateException, IOExc... method close (line 208) | public void close() throws IOException method getSize (line 230) | public long getSize() FILE: src/main/java/io/mycat/backend/mysql/xa/XACommitCallback.java class XACommitCallback (line 15) | public class XACommitCallback implements SQLQueryResultListener> result) { FILE: src/main/java/io/mycat/backend/mysql/xa/XARollbackCallback.java class XARollbackCallback (line 14) | public class XARollbackCallback implements SQLQueryResultListener> result) { FILE: src/main/java/io/mycat/backend/mysql/xa/recovery/DeserialisationException.java class DeserialisationException (line 6) | public class DeserialisationException extends Exception{ method DeserialisationException (line 9) | public DeserialisationException(String content) { FILE: src/main/java/io/mycat/backend/mysql/xa/recovery/LogException.java class LogException (line 6) | public class LogException extends Exception{ method LogException (line 9) | public LogException() { method LogException (line 13) | public LogException(String message) { method LogException (line 17) | public LogException(Throwable cause) { FILE: src/main/java/io/mycat/backend/mysql/xa/recovery/LogReadException.java class LogReadException (line 6) | public class LogReadException extends LogException{ method LogReadException (line 10) | public LogReadException() { method LogReadException (line 14) | public LogReadException(Throwable cause) { method LogReadException (line 18) | public LogReadException(String message) { FILE: src/main/java/io/mycat/backend/mysql/xa/recovery/LogWriteException.java class LogWriteException (line 6) | public class LogWriteException extends LogException{ method LogWriteException (line 10) | public LogWriteException() { method LogWriteException (line 13) | public LogWriteException(Throwable cause) { FILE: src/main/java/io/mycat/backend/mysql/xa/recovery/Repository.java type Repository (line 10) | public interface Repository { method init (line 12) | void init() ; method put (line 14) | void put(String id, CoordinatorLogEntry coordinatorLogEntry); method get (line 16) | CoordinatorLogEntry get(String coordinatorId); method findAllCommittingCoordinatorLogEntries (line 18) | Collection findAllCommittingCoordinatorLogEntries... method getAllCoordinatorLogEntries (line 20) | Collection getAllCoordinatorLogEntries() ; method writeCheckpoint (line 22) | void writeCheckpoint(String id, Collection checkp... method close (line 24) | void close(); FILE: src/main/java/io/mycat/backend/mysql/xa/recovery/impl/FileSystemRepository.java class FileSystemRepository (line 37) | public class FileSystemRepository implements Repository{ method FileSystemRepository (line 44) | public FileSystemRepository() { method init (line 48) | @Override method put (line 72) | @Override method initChannelIfNecessary (line 83) | private synchronized void initChannelIfNecessary() method write (line 90) | private int write(CoordinatorLogEntry coordinatorLogEntry, method writeToFile (line 102) | private synchronized void writeToFile(ByteBuffer buff, boolean force) method get (line 108) | @Override method findAllCommittingCoordinatorLogEntries (line 113) | @Override method getAllCoordinatorLogEntries (line 118) | @Override method readFromInputStream (line 134) | public static Collection readFromInputStream( method readContent (line 150) | static Map readContent(BufferedReader br) method closeSilently (line 184) | private static void closeSilently(BufferedReader fis) { method deserialize (line 195) | private static CoordinatorLogEntry deserialize(String line) method close (line 200) | @Override method closeOutput (line 210) | protected void closeOutput() throws IllegalStateException { method writeCheckpoint (line 220) | @Override method checkForUpdate (line 263) | private boolean checkForUpdate(String id, CoordinatorLogEntry coordina... method createBaseDir (line 279) | public void createBaseDir(String baseDir){ FILE: src/main/java/io/mycat/backend/mysql/xa/recovery/impl/InMemoryRepository.java class InMemoryRepository (line 18) | public class InMemoryRepository implements Repository { method init (line 25) | @Override method put (line 30) | @Override method clear (line 40) | private void clear(String id) { method get (line 58) | @Override method findAllCommittingCoordinatorLogEntries (line 63) | @Override method close (line 76) | @Override method getAllCoordinatorLogEntries (line 82) | @Override method writeCheckpoint (line 87) | @Override method isClosed (line 99) | public boolean isClosed() { FILE: src/main/java/io/mycat/backend/postgresql/PostgreSQLBackendConnection.java class PostgreSQLBackendConnection (line 33) | public class PostgreSQLBackendConnection extends BackendAIOConnection { type BackendConnectionState (line 35) | public static enum BackendConnectionState { class StatusSync (line 39) | private static class StatusSync { method StatusSync (line 48) | public StatusSync(boolean xaStarted, String schema, Integer charsetI... method synAndExecuted (line 60) | public boolean synAndExecuted(PostgreSQLBackendConnection conn) { method updateConnectionInfo (line 72) | private void updateConnectionInfo(PostgreSQLBackendConnection conn) method getCharsetCommand (line 100) | private static void getCharsetCommand(StringBuilder sb, int clientChar... method getTxIsolationCommand (line 110) | private static void getTxIsolationCommand(StringBuilder sb, int txIsol... method PostgreSQLBackendConnection (line 198) | public PostgreSQLBackendConnection(NetworkChannel channel, boolean fro... method commit (line 203) | @Override method execute (line 210) | @Override method getAttachment (line 244) | @Override method getAutocommitCommand (line 249) | private void getAutocommitCommand(StringBuilder sb, boolean autoCommit) { method getTxReadonly (line 256) | private void getTxReadonly(StringBuilder sb, boolean txReadonly) { method getLastTime (line 264) | @Override method getPassword (line 269) | public String getPassword() { method getPool (line 273) | public PostgreSQLDataSource getPool() { method getResponseHandler (line 277) | public ResponseHandler getResponseHandler() { method getSchema (line 281) | @Override method getServerSecretKey (line 286) | public int getServerSecretKey() { method getState (line 290) | public BackendConnectionState getState() { method getTxIsolation (line 294) | @Override method getUser (line 299) | public String getUser() { method isAutocommit (line 303) | @Override method isTxReadonly (line 308) | @Override method getSqlSelectLimit (line 313) | @Override method isBorrowed (line 319) | @Override method isClosedOrQuit (line 324) | @Override method isFromSlaveDB (line 329) | @Override method isInTransaction (line 334) | public boolean isInTransaction() { method isModifiedSQLExecuted (line 338) | @Override method onConnectFailed (line 343) | @Override method onConnectfinish (line 350) | @Override method getPacketLength (line 364) | protected final int getPacketLength(ByteBuffer buffer, int offset) { method query (line 372) | @Override method quit (line 378) | @Override method recordSql (line 395) | @Override method release (line 400) | @Override method rollback (line 420) | @Override method setAttachment (line 427) | @Override method setBorrowed (line 432) | @Override method setInTransaction (line 437) | public void setInTransaction(boolean inTransaction) { method setLastTime (line 441) | @Override method setPassword (line 446) | public void setPassword(String password) { method setPool (line 450) | public void setPool(PostgreSQLDataSource pool) { method setResponseHandler (line 454) | @Override method setSchema (line 460) | @Override method setServerSecretKey (line 472) | public void setServerSecretKey(int serverSecretKey) { method setState (line 476) | public void setState(BackendConnectionState state) { method setUser (line 480) | public void setUser(String user) { method synAndDoExecute (line 484) | private void synAndDoExecute(String xaTxID, RouteResultsetNode rrn, in... method close (line 550) | public void close(String reason) { method closeWithoutRsp (line 562) | @Override method syncAndExcute (line 569) | @Override method toString (line 582) | @Override method query (line 588) | @Override method disableRead (line 598) | @Override method enableRead (line 604) | @Override FILE: src/main/java/io/mycat/backend/postgresql/PostgreSQLBackendConnectionFactory.java class PostgreSQLBackendConnectionFactory (line 15) | public class PostgreSQLBackendConnectionFactory extends method make (line 18) | @SuppressWarnings({ "unchecked", "rawtypes" }) FILE: src/main/java/io/mycat/backend/postgresql/PostgreSQLBackendConnectionHandler.java class PostgreSQLBackendConnectionHandler (line 46) | public class PostgreSQLBackendConnectionHandler extends BackendAsyncHand... class SelectResponse (line 47) | static class SelectResponse { method SelectResponse (line 52) | public SelectResponse(RowDescription description) { method addDataRow (line 56) | public void addDataRow(DataRow packet) { method getDataRows (line 60) | public List getDataRows() { method getDescription (line 64) | public RowDescription getDescription() { method setDataRows (line 68) | public void setDataRows(List dataRows) { method PostgreSQLBackendConnectionHandler (line 95) | public PostgreSQLBackendConnectionHandler(PostgreSQLBackendConnection ... method doConnecting (line 107) | private void doConnecting(PostgreSQLBackendConnection con, ByteBuffer ... method doHandleBusinessMsg (line 159) | private void doHandleBusinessMsg(PostgreSQLBackendConnection con, method doProcessBusinessQuery (line 219) | private void doProcessBusinessQuery(PostgreSQLBackendConnection con, method doProcessCommandComplete (line 285) | private void doProcessCommandComplete(PostgreSQLBackendConnection con, method doProcessCopyInResponse (line 304) | private void doProcessCopyInResponse(PostgreSQLBackendConnection con, method doProcessCopyOutResponse (line 309) | private void doProcessCopyOutResponse(PostgreSQLBackendConnection con, method doProcessEmptyQueryResponse (line 314) | private void doProcessEmptyQueryResponse(PostgreSQLBackendConnection con, method doProcessErrorResponse (line 325) | private void doProcessErrorResponse(PostgreSQLBackendConnection con, method doProcessNoticeResponse (line 343) | private void doProcessNoticeResponse(PostgreSQLBackendConnection con, method doProcessNotificationResponse (line 348) | private void doProcessNotificationResponse(PostgreSQLBackendConnection... method doProcessParameterStatus (line 353) | private void doProcessParameterStatus(PostgreSQLBackendConnection con, method doProcessReadyForQuery (line 364) | private void doProcessReadyForQuery(PostgreSQLBackendConnection con, method handle (line 371) | @Override method handleData (line 383) | @Override method offerDataError (line 419) | @Override FILE: src/main/java/io/mycat/backend/postgresql/PostgreSQLDataSource.java class PostgreSQLDataSource (line 17) | public class PostgreSQLDataSource extends PhysicalDatasource { method PostgreSQLDataSource (line 20) | public PostgreSQLDataSource(DBHostConfig config, DataHostConfig hostCo... method createHeartBeat (line 26) | @Override method createNewConnection (line 31) | @Override method testConnection (line 37) | @Override FILE: src/main/java/io/mycat/backend/postgresql/heartbeat/PostgreSQLDetector.java class PostgreSQLDetector (line 18) | public class PostgreSQLDetector implements method PostgreSQLDetector (line 36) | public PostgreSQLDetector(PostgreSQLHeartbeat heartbeat) { method onResult (line 41) | @Override method getHeartbeat (line 80) | public PostgreSQLHeartbeat getHeartbeat() { method getHeartbeatTimeout (line 84) | public long getHeartbeatTimeout() { method heartbeat (line 88) | public void heartbeat() { method close (line 103) | public void close(String msg) { method isHeartbeatTimeout (line 111) | public boolean isHeartbeatTimeout() { method getLastSendQryTime (line 116) | public long getLastSendQryTime() { method getLasstReveivedQryTime (line 120) | public long getLasstReveivedQryTime() { method quit (line 124) | public void quit() { method isQuit (line 127) | public boolean isQuit() { FILE: src/main/java/io/mycat/backend/postgresql/heartbeat/PostgreSQLHeartbeat.java class PostgreSQLHeartbeat (line 16) | public class PostgreSQLHeartbeat extends DBHeartbeat { method PostgreSQLHeartbeat (line 30) | public PostgreSQLHeartbeat(PostgreSQLDataSource source) { method start (line 38) | @Override method stop (line 50) | @Override method getLastActiveTime (line 71) | @Override method getTimeout (line 82) | @Override method heartbeat (line 91) | @Override method getSource (line 126) | public PostgreSQLDataSource getSource() { method setResult (line 130) | public void setResult(int result, PostgreSQLDetector detector, Object ... method switchSourceIfNeed (line 148) | private void switchSourceIfNeed(String reason) { method setTimeout (line 205) | private void setTimeout(PostgreSQLDetector detector) { method setError (line 210) | private void setError(PostgreSQLDetector detector) { method setOk (line 229) | private void setOk(PostgreSQLDetector detector) { FILE: src/main/java/io/mycat/backend/postgresql/packet/AuthenticationPacket.java class AuthenticationPacket (line 7) | public class AuthenticationPacket extends PostgreSQLPacket { type AuthType (line 8) | public static enum AuthType { method AuthType (line 13) | AuthType(int v) { method getValue (line 17) | public int getValue() { method valueOf (line 21) | public static AuthType valueOf(int v) { method getAuthType (line 59) | public AuthType getAuthType() { method getLength (line 63) | @Override method getMarker (line 68) | @Override method getSalt (line 73) | public byte[] getSalt() { method setSalt (line 77) | public void setSalt(byte[] salt) { method parse (line 81) | public static AuthenticationPacket parse(ByteBuffer buffer, int offset){ FILE: src/main/java/io/mycat/backend/postgresql/packet/BackendKeyData.java class BackendKeyData (line 24) | public class BackendKeyData extends PostgreSQLPacket { method getPid (line 40) | public int getPid() { method getSecretKey (line 44) | public int getSecretKey() { method getLength (line 48) | @Override method getMarker (line 53) | @Override method parse (line 66) | public static BackendKeyData parse(ByteBuffer buffer, int offset) { FILE: src/main/java/io/mycat/backend/postgresql/packet/Bind.java class Bind (line 46) | public class Bind extends PostgreSQLPacket { class DataParameter (line 48) | public static class DataParameter { method getLength (line 61) | public int getLength() { method setLength (line 68) | public void setLength(int length) { method getData (line 75) | public byte[] getData() { method setData (line 82) | public void setData(byte[] data) { method isNull (line 89) | public boolean isNull() { method setNull (line 96) | public void setNull(boolean isNull) { method getLength (line 113) | @Override method getMarker (line 118) | @Override method getName (line 126) | public String getName() { method getSql (line 133) | public String getSql() { method getParameterProtocolNumber (line 140) | public short getParameterProtocolNumber() { method getParameterProtocol (line 147) | public DataProtocol[] getParameterProtocol() { method getParameterNumber (line 154) | public short getParameterNumber() { method getParameter (line 161) | public DataParameter[] getParameter() { method getResultNumber (line 168) | public short getResultNumber() { method getResultProtocol (line 175) | public DataProtocol[] getResultProtocol() { FILE: src/main/java/io/mycat/backend/postgresql/packet/BindComplete.java class BindComplete (line 20) | public class BindComplete extends PostgreSQLPacket { method getLength (line 24) | @Override method getMarker (line 29) | @Override method parse (line 34) | public static BindComplete parse(ByteBuffer buffer, int offset) { FILE: src/main/java/io/mycat/backend/postgresql/packet/CancelRequest.java class CancelRequest (line 26) | public class CancelRequest extends PostgreSQLPacket { method CancelRequest (line 32) | public CancelRequest(int pid, int secretKey) { method getLength (line 37) | @Override method getMarker (line 42) | @Override method write (line 47) | public void write(ByteBuffer buffer) { FILE: src/main/java/io/mycat/backend/postgresql/packet/CommandComplete.java class CommandComplete (line 26) | public class CommandComplete extends PostgreSQLPacket { method getAffectedRows (line 37) | public int getAffectedRows() { method setAffectedRows (line 41) | public void setAffectedRows(int affectedRows) { method getInsertId (line 45) | public int getInsertId() { method setInsertId (line 49) | public void setInsertId(int insertId) { method getLength (line 59) | @Override method isDDLComplete (line 64) | public boolean isDDLComplete() { method isTranComplete (line 69) | public boolean isTranComplete() { method isSelectComplete (line 74) | public boolean isSelectComplete() { method getRows (line 78) | public int getRows() { method getMarker (line 96) | @Override method parse (line 101) | public static CommandComplete parse(ByteBuffer buffer, int offset) { method parseInt (line 125) | private static int parseInt(String value) { method getCommandResponse (line 134) | public String getCommandResponse() { FILE: src/main/java/io/mycat/backend/postgresql/packet/CopyInResponse.java class CopyInResponse (line 28) | public class CopyInResponse extends PostgreSQLPacket { method getProtocol (line 52) | public DataProtocol getProtocol() { method getDataLength (line 59) | public short getDataLength() { method getColumnType (line 66) | public DataProtocol[] getColumnType() { method getLength (line 75) | @Override method getMarker (line 80) | @Override method parse (line 85) | public static CopyInResponse parse(ByteBuffer buffer, int offset) { FILE: src/main/java/io/mycat/backend/postgresql/packet/CopyOutResponse.java class CopyOutResponse (line 22) | public class CopyOutResponse extends PostgreSQLPacket { method getMarker (line 36) | public char getMarker() { method getLength (line 43) | public int getLength() { method getProtocol (line 50) | public DataProtocol getProtocol() { method getDataLength (line 57) | public short getDataLength() { method getColumnType (line 64) | public DataProtocol[] getColumnType() { method parse (line 83) | public static CopyOutResponse parse(ByteBuffer buffer, int offset) { FILE: src/main/java/io/mycat/backend/postgresql/packet/DataRow.java class DataRow (line 24) | public class DataRow extends PostgreSQLPacket { class DataColumn (line 25) | public static class DataColumn { method isNull (line 38) | public boolean isNull() { method getLength (line 45) | public int getLength() { method setLength (line 53) | public void setLength(int length) { method getData (line 60) | public byte[] getData() { method setData (line 68) | public void setData(byte[] data) { method getColumnNumber (line 92) | public short getColumnNumber() { method getColumns (line 99) | public DataColumn[] getColumns() { method getLength (line 108) | @Override method getMarker (line 113) | @Override method parse (line 118) | public static DataRow parse(ByteBuffer buffer, int offset) { FILE: src/main/java/io/mycat/backend/postgresql/packet/EmptyQueryResponse.java class EmptyQueryResponse (line 20) | public class EmptyQueryResponse extends PostgreSQLPacket { method getLength (line 25) | @Override method getMarker (line 30) | @Override method parse (line 35) | public static EmptyQueryResponse parse(ByteBuffer buffer, int offset) { FILE: src/main/java/io/mycat/backend/postgresql/packet/ErrorResponse.java class ErrorResponse (line 21) | public class ErrorResponse extends PostgreSQLPacket { method parse (line 31) | public static ErrorResponse parse(ByteBuffer buffer, int offset) method getErrMsg (line 55) | public String getErrMsg() { method getLength (line 59) | @Override method getMarker (line 64) | @Override FILE: src/main/java/io/mycat/backend/postgresql/packet/NoticeResponse.java class NoticeResponse (line 5) | public class NoticeResponse extends PostgreSQLPacket { method getLength (line 18) | @Override method getMarker (line 23) | @Override method parse (line 28) | public static NoticeResponse parse(ByteBuffer buffer, int offset) { method getMsg (line 45) | public String getMsg() { FILE: src/main/java/io/mycat/backend/postgresql/packet/NotificationResponse.java class NotificationResponse (line 17) | public class NotificationResponse extends PostgreSQLPacket{ method getLength (line 19) | @Override method getMarker (line 25) | @Override FILE: src/main/java/io/mycat/backend/postgresql/packet/ParameterDescription.java class ParameterDescription (line 16) | public class ParameterDescription { FILE: src/main/java/io/mycat/backend/postgresql/packet/ParameterStatus.java class ParameterStatus (line 5) | public class ParameterStatus extends PostgreSQLPacket { method getLength (line 15) | @Override method getMarker (line 20) | @Override method parse (line 25) | public static ParameterStatus parse(ByteBuffer buffer, int offset) { method getKey (line 43) | public String getKey() { method getValue (line 47) | public String getValue() { FILE: src/main/java/io/mycat/backend/postgresql/packet/Parse.java class Parse (line 36) | public class Parse extends PostgreSQLPacket { method getLength (line 45) | @Override method getMarker (line 51) | @Override method Parse (line 56) | public Parse(String name, String sql, DateType... parameterTypes) { method write (line 64) | public void write(ByteBuffer buffer) throws IOException { FILE: src/main/java/io/mycat/backend/postgresql/packet/ParseComplete.java class ParseComplete (line 7) | public class ParseComplete extends PostgreSQLPacket { method getLength (line 12) | @Override method getMarker (line 17) | @Override method parse (line 22) | public static ParseComplete parse(ByteBuffer buffer, int offset) { FILE: src/main/java/io/mycat/backend/postgresql/packet/PasswordMessage.java class PasswordMessage (line 19) | public class PasswordMessage extends PostgreSQLPacket { method PasswordMessage (line 21) | public PasswordMessage(String user, String password, AuthType aut, byt... method getLength (line 32) | @Override method getMarker (line 37) | @Override method write (line 42) | public void write(ByteBuffer buffer) { FILE: src/main/java/io/mycat/backend/postgresql/packet/PostgreSQLPacket.java class PostgreSQLPacket (line 5) | public abstract class PostgreSQLPacket { method getLength (line 14) | public abstract int getLength(); method getMarker (line 21) | public abstract char getMarker(); method getPacketSize (line 24) | public int getPacketSize(){ method getType (line 28) | public String getType(){ type DateType (line 38) | public static enum DateType { method valueOf (line 50) | public static DateType valueOf(int val) { method DateType (line 136) | private DateType() { method DateType (line 139) | private DateType(int value) { method getValue (line 143) | public int getValue() { type DataProtocol (line 155) | public static enum DataProtocol { method valueOf (line 158) | public static DataProtocol valueOf(short val) { type PacketMarker (line 169) | public static enum PacketMarker { method PacketMarker (line 267) | private PacketMarker(char marker) { method getValue (line 271) | public char getValue() { FILE: src/main/java/io/mycat/backend/postgresql/packet/Query.java class Query (line 21) | public class Query extends PostgreSQLPacket { method getLength (line 25) | @Override method getMarker (line 31) | @Override method Query (line 36) | public Query(String sql) { method write (line 40) | public void write(ByteBuffer buffer) { FILE: src/main/java/io/mycat/backend/postgresql/packet/ReadyForQuery.java class ReadyForQuery (line 22) | public class ReadyForQuery extends PostgreSQLPacket { method getLength (line 34) | @Override method getMarker (line 39) | @Override method parse (line 44) | public static ReadyForQuery parse(ByteBuffer buffer, int offset) { type TransactionState (line 60) | public static enum TransactionState { method getVlaue (line 78) | public char getVlaue() { method TransactionState (line 82) | TransactionState(char value) { method valueOf (line 86) | public static TransactionState valueOf(char v) { method getState (line 103) | public TransactionState getState() { method setState (line 110) | public void setState(TransactionState state) { FILE: src/main/java/io/mycat/backend/postgresql/packet/RowDescription.java class RowDescription (line 42) | public class RowDescription extends PostgreSQLPacket { method getLength (line 56) | @Override method getMarker (line 61) | @Override method parse (line 66) | public static RowDescription parse(ByteBuffer buffer, int offset) method getColumns (line 106) | public ColumnDescription[] getColumns() { method getColumnNumber (line 113) | public short getColumnNumber() { class ColumnDescription (line 117) | public static class ColumnDescription { method getColumnName (line 156) | public String getColumnName() { method setColumnName (line 164) | public void setColumnName(String columnName) { method getOid (line 171) | public int getOid() { method setOid (line 179) | public void setOid(int oid) { method getCoid (line 186) | public short getCoid() { method setCoid (line 194) | public void setCoid(short coid) { method getColumnType (line 201) | public DateType getColumnType() { method setColumnType (line 209) | public void setColumnType(DateType columnType) { method getTyplen (line 216) | public short getTyplen() { method setTyplen (line 224) | public void setTyplen(short typlen) { method getAtttypmod (line 231) | public int getAtttypmod() { method setAtttypmod (line 239) | public void setAtttypmod(int atttypmod) { method getProtocol (line 246) | public DataProtocol getProtocol() { method setProtocol (line 254) | public void setProtocol(DataProtocol protocol) { FILE: src/main/java/io/mycat/backend/postgresql/packet/SSLRequest.java class SSLRequest (line 9) | public class SSLRequest { FILE: src/main/java/io/mycat/backend/postgresql/packet/StartupMessage.java class StartupMessage (line 5) | public class StartupMessage extends PostgreSQLPacket { method getLength (line 11) | @Override method getMarker (line 16) | @Override FILE: src/main/java/io/mycat/backend/postgresql/packet/Terminate.java class Terminate (line 20) | public class Terminate extends PostgreSQLPacket { method getLength (line 24) | @Override method getMarker (line 30) | @Override method write (line 35) | public void write(ByteBuffer buffer) { FILE: src/main/java/io/mycat/backend/postgresql/utils/MD5Digest.java class MD5Digest (line 19) | public class MD5Digest method MD5Digest (line 21) | private MD5Digest() method encode (line 35) | public static byte[] encode(byte user[], byte password[], byte salt[]) method bytesToHex (line 70) | private static void bytesToHex(byte[] bytes, byte[] hex, int offset) FILE: src/main/java/io/mycat/backend/postgresql/utils/PIOUtils.java class PIOUtils (line 14) | public class PIOUtils { method SendInteger4 (line 26) | public static void SendInteger4(int val, ByteBuffer buffer) { method redInteger4 (line 35) | public static int redInteger4(ByteBuffer buffer, int offset) { method redInteger2 (line 45) | public static short redInteger2(ByteBuffer buffer, int offset) { method SendInteger2 (line 58) | public static void SendInteger2(int val, ByteBuffer buffer) method Send (line 72) | public static void Send(byte[] encodedParam, ByteBuffer buffer) { method SendChar (line 76) | public static void SendChar(int i, ByteBuffer buffer) { method redByteArray (line 88) | public static byte[] redByteArray(ByteBuffer buffer, int offset, int l... method SendString (line 96) | public static void SendString(String string, ByteBuffer buffer) { method redString (line 100) | public static String redString(ByteBuffer buffer, int offset, Charset ... method redInteger1 (line 117) | public static byte redInteger1(ByteBuffer buffer, int _offset) { method SendByte (line 121) | public static void SendByte(byte b, ByteBuffer buffer) { FILE: src/main/java/io/mycat/backend/postgresql/utils/PacketUtils.java class PacketUtils (line 24) | public class PacketUtils { method parsePacket (line 26) | public static List parsePacket(ByteBuffer buffer,int... method parsePacket (line 86) | @Deprecated method createPostgresTimeZone (line 153) | public static String createPostgresTimeZone() { method makeStartUpPacket (line 171) | public static ByteBuffer makeStartUpPacket(String user, String database) FILE: src/main/java/io/mycat/backend/postgresql/utils/PgPacketApaterUtils.java class PgPacketApaterUtils (line 22) | public class PgPacketApaterUtils { method rowDescConvertFieldPacket (line 30) | public static List rowDescConvertFieldPacket(RowDescripti... method convertFieldType (line 47) | private static int convertFieldType(DateType columnType) { method rowDataConvertRowDataPacket (line 69) | public static RowDataPacket rowDataConvertRowDataPacket(DataRow dataRow){ FILE: src/main/java/io/mycat/backend/postgresql/utils/PgSqlApaterUtils.java class PgSqlApaterUtils (line 10) | public class PgSqlApaterUtils { method apater (line 28) | public static String apater(String sql){ method doApaterColumnsSql (line 60) | private static String doApaterColumnsSql(String sql) { method doApaterPagingSql (line 65) | private static String doApaterPagingSql(final String SQL, String sql) { method doApaterCreateTabelSql (line 91) | private static String doApaterCreateTabelSql(String sql) { method doApaterTableStatusSql (line 101) | private static String doApaterTableStatusSql(String sql) { FILE: src/main/java/io/mycat/buffer/BufferArray.java class BufferArray (line 18) | public class BufferArray { method BufferArray (line 23) | public BufferArray(BufferPool bufferPool) { method checkWriteBuffer (line 29) | public ByteBuffer checkWriteBuffer(int capacity) { method getBlockCount (line 39) | public int getBlockCount() method addtoBlock (line 43) | private void addtoBlock(ByteBuffer buffer) { method getCurWritingBlock (line 50) | public ByteBuffer getCurWritingBlock() { method getWritedBlockLst (line 54) | public List getWritedBlockLst() { method clear (line 58) | public void clear() { method write (line 64) | public ByteBuffer write(byte[] src) { method writeToByteArrayAndRecycle (line 87) | public byte[] writeToByteArrayAndRecycle() { FILE: src/main/java/io/mycat/buffer/BufferPool.java type BufferPool (line 13) | public interface BufferPool { method allocate (line 14) | public ByteBuffer allocate(int size); method recycle (line 15) | public void recycle(ByteBuffer theBuf); method capacity (line 16) | public long capacity(); method size (line 17) | public long size(); method getConReadBuferChunk (line 18) | public int getConReadBuferChunk(); method getSharedOptsCount (line 19) | public int getSharedOptsCount(); method getChunkSize (line 20) | public int getChunkSize(); method getNetDirectMemoryUsage (line 21) | public ConcurrentHashMap getNetDirectMemoryUsage(); method allocateArray (line 22) | public BufferArray allocateArray(); FILE: src/main/java/io/mycat/buffer/ByteBufferArena.java class ByteBufferArena (line 21) | public class ByteBufferArena implements BufferPool { method ByteBufferArena (line 43) | public ByteBufferArena(int chunkSize, int pageSize, int chunkCount, in... method allocate (line 80) | @Override method expand (line 125) | private void expand() { method recycle (line 132) | @Override method printList (line 165) | private void printList() { method capacity (line 171) | @Override method size (line 176) | @Override method getConReadBuferChunk (line 181) | @Override method getSharedOptsCount (line 186) | @Override method getChunkSize (line 200) | @Override method getNetDirectMemoryUsage (line 205) | @Override method allocateArray (line 210) | @Override FILE: src/main/java/io/mycat/buffer/ByteBufferChunk.java class ByteBufferChunk (line 18) | public class ByteBufferChunk implements Comparable{ method ByteBufferChunk (line 40) | public ByteBufferChunk(int pageSize, int chunkSize) { method isInThisChunk (line 68) | public boolean isInThisChunk(ByteBuffer byteBuffer) { method usage (line 73) | public int usage() { method allocateRun (line 86) | public synchronized ByteBuffer allocateRun(int normCapacity) { method calculateStart (line 113) | private int calculateStart(int id) { method runLength (line 131) | private int runLength(int id) { method allocateNode (line 136) | private int allocateNode(int d) { method updateParentsAlloc (line 160) | private void updateParentsAlloc(int id) { method freeByteBuffer (line 171) | public synchronized void freeByteBuffer(ByteBuffer byteBuffer) { method free (line 193) | private void free(int handle) { method updateParentsFree (line 201) | private void updateParentsFree(int id) { method log2 (line 220) | private static int log2(int chunkSize) { method printMemoryMap (line 228) | private void printMemoryMap() { method main (line 241) | public static void main(String[] args) { method compareTo (line 263) | @Override FILE: src/main/java/io/mycat/buffer/ByteBufferChunkList.java class ByteBufferChunkList (line 21) | public class ByteBufferChunkList { method ByteBufferChunkList (line 30) | public ByteBufferChunkList(int minUsage, int maxUsage, int chunkSize, ... method getIndex (line 40) | public ByteBufferChunk getIndex(ByteBuffer buffer) { method allocate (line 49) | ByteBuffer allocate(int reqCapacity) { method free (line 75) | boolean free(ByteBuffer buffer) { FILE: src/main/java/io/mycat/buffer/ByteBufferPage.java class ByteBufferPage (line 13) | @SuppressWarnings("restriction") method ByteBufferPage (line 24) | public ByteBufferPage(ByteBuffer buf, int chunkSize) { method allocatChunk (line 34) | public ByteBuffer allocatChunk(int theChunkCount) { method markChunksUsed (line 90) | private void markChunksUsed(int startChunk, int theChunkCount) { method markChunksUnused (line 96) | private void markChunksUnused(int startChunk, int theChunkCount) { method recycleBuffer (line 111) | public boolean recycleBuffer(ByteBuffer parent, ByteBuffer recycleBuf,... FILE: src/main/java/io/mycat/buffer/DirectByteBufferPool.java class DirectByteBufferPool (line 16) | @SuppressWarnings("restriction") method DirectByteBufferPool (line 34) | public DirectByteBufferPool(int pageSize, short chunkSize, short pageC... method allocateArray (line 48) | public BufferArray allocateArray() { method expandBuffer (line 56) | public ByteBuffer expandBuffer(ByteBuffer buffer){ method allocate (line 71) | public ByteBuffer allocate(int size) { method recycle (line 100) | public void recycle(ByteBuffer theBuf) { method allocateBuffer (line 134) | private ByteBuffer allocateBuffer(int theChunkCount, int startPage, in... method getChunkSize (line 145) | public int getChunkSize() { method getNetDirectMemoryUsage (line 149) | @Override method getPageSize (line 154) | public int getPageSize() { method getPageCount (line 158) | public short getPageCount() { method capacity (line 162) | public long capacity() { method size (line 166) | public long size(){ method getSharedOptsCount (line 171) | public int getSharedOptsCount(){ method getAllPages (line 177) | public ByteBufferPage[] getAllPages() { method getConReadBuferChunk (line 181) | public int getConReadBuferChunk() { FILE: src/main/java/io/mycat/buffer/MyCatMemoryAllocator.java class MyCatMemoryAllocator (line 22) | public class MyCatMemoryAllocator implements ByteBufAllocator { method MyCatMemoryAllocator (line 45) | public MyCatMemoryAllocator(int numberOfArenas){ method getINSTANCE (line 75) | public static MyCatMemoryAllocator getINSTANCE() { method getAlloc (line 82) | public PooledByteBufAllocator getAlloc() { method getNumberOfArenas (line 91) | public int getNumberOfArenas() { method getChunkSize (line 100) | public int getChunkSize() { method getPageSize (line 108) | public int getPageSize() { method buffer (line 113) | @Override method buffer (line 118) | @Override method buffer (line 123) | @Override method ioBuffer (line 128) | @Override method ioBuffer (line 133) | @Override method ioBuffer (line 138) | @Override method heapBuffer (line 143) | @Override method heapBuffer (line 148) | @Override method heapBuffer (line 153) | @Override method directBuffer (line 158) | @Override method directBuffer (line 163) | @Override method directBuffer (line 168) | @Override method compositeBuffer (line 173) | @Override method compositeBuffer (line 178) | @Override method compositeHeapBuffer (line 183) | @Override method compositeHeapBuffer (line 188) | @Override method compositeDirectBuffer (line 193) | @Override method compositeDirectBuffer (line 198) | @Override method isDirectBufferPooled (line 203) | @Override method calculateNewCapacity (line 208) | @Override FILE: src/main/java/io/mycat/buffer/NettyBufferPool.java class NettyBufferPool (line 25) | public class NettyBufferPool implements BufferPool { method NettyBufferPool (line 31) | public NettyBufferPool(int chunkSize) { method allocate (line 36) | @Override method recycle (line 44) | @Override method getAllocator (line 61) | public MyCatMemoryAllocator getAllocator() { method capacity (line 75) | @Override method size (line 80) | @Override method getConReadBuferChunk (line 105) | @Override method getSharedOptsCount (line 110) | @Override method getChunkSize (line 115) | @Override method getNetDirectMemoryUsage (line 120) | @Override method allocateArray (line 125) | @Override FILE: src/main/java/io/mycat/cache/CachePool.java type CachePool (line 32) | public interface CachePool { method putIfAbsent (line 34) | public void putIfAbsent(Object key, Object value); method get (line 36) | public Object get(Object key); method clearCache (line 38) | public void clearCache(); method getCacheStatic (line 40) | public CacheStatic getCacheStatic(); method getMaxSize (line 42) | public long getMaxSize(); method clearCache (line 43) | public void clearCache(String cacheName); FILE: src/main/java/io/mycat/cache/CachePoolFactory.java class CachePoolFactory (line 30) | public abstract class CachePoolFactory { method createCachePool (line 39) | public abstract CachePool createCachePool(String poolName,int cacheSiz... FILE: src/main/java/io/mycat/cache/CacheService.java class CacheService (line 39) | public class CacheService { method CacheService (line 45) | public CacheService() { method getAllCachePools (line 59) | public Map getAllCachePools() method init (line 64) | private void init() throws Exception { method createLayeredPool (line 122) | private void createLayeredPool(String cacheName, String type, int size, method checkExists (line 134) | private void checkExists(String poolName) { method createPoolFactory (line 141) | private void createPoolFactory(String factryType, String factryClassName) method createPool (line 149) | private void createPool(String poolName, String type, int cacheSize, method getCacheFact (line 159) | private CachePoolFactory getCacheFact(String type) { method getCachePool (line 174) | public CachePool getCachePool(String poolName) { method clearCache (line 185) | public void clearCache() { FILE: src/main/java/io/mycat/cache/CacheStatic.java class CacheStatic (line 32) | public class CacheStatic { method getMemorySize (line 42) | public long getMemorySize() { method setMemorySize (line 46) | public void setMemorySize(long memorySize) { method getItemSize (line 50) | public long getItemSize() { method setItemSize (line 54) | public void setItemSize(long itemSize) { method getAccessTimes (line 58) | public long getAccessTimes() { method setAccessTimes (line 62) | public void setAccessTimes(long accessTimes) { method getHitTimes (line 66) | public long getHitTimes() { method setHitTimes (line 70) | public void setHitTimes(long hitTimes) { method getLastAccesTime (line 74) | public long getLastAccesTime() { method setLastAccesTime (line 78) | public void setLastAccesTime(long lastAccesTime) { method getPutTimes (line 82) | public long getPutTimes() { method setPutTimes (line 86) | public void setPutTimes(long putTimes) { method incAccessTimes (line 90) | public void incAccessTimes() { method incHitTimes (line 95) | public void incHitTimes() { method incPutTimes (line 101) | public void incPutTimes() { method getLastPutTime (line 106) | public long getLastPutTime() { method setLastPutTime (line 110) | public void setLastPutTime(long lastPutTime) { method getMaxSize (line 114) | public long getMaxSize() { method setMaxSize (line 118) | public void setMaxSize(long maxSize) { method reset (line 122) | public void reset() { method toString (line 133) | @Override FILE: src/main/java/io/mycat/cache/DefaultLayedCachePool.java class DefaultLayedCachePool (line 34) | public class DefaultLayedCachePool implements LayerCachePool { method DefaultLayedCachePool (line 47) | public DefaultLayedCachePool(String name, CachePoolFactory poolFactory, method getCache (line 56) | private CachePool getCache(String cacheName) { method createChildCache (line 80) | public CachePool createChildCache(String cacheName, int size, method putIfAbsent (line 89) | @Override method get (line 95) | @Override method clearCache (line 100) | @Override method putIfAbsent (line 109) | @Override method get (line 116) | @Override method getCacheStatic (line 122) | @Override method getAllCacheStatic (line 147) | @Override method getMaxSize (line 157) | @Override method clearCache (line 168) | public void clearCache(String cacheName) { FILE: src/main/java/io/mycat/cache/LayerCachePool.java type LayerCachePool (line 34) | public interface LayerCachePool extends CachePool { method putIfAbsent (line 36) | public void putIfAbsent(String primaryKey, Object secondKey, Object va... method get (line 38) | public Object get(String primaryKey, Object secondKey); method getAllCacheStatic (line 44) | public Map getAllCacheStatic(); method clearCache (line 46) | public void clearCache(String cacheName); FILE: src/main/java/io/mycat/cache/MysqlDataSetCache.java class MysqlDataSetCache (line 37) | public class MysqlDataSetCache implements Serializable { method getSql (line 52) | public String getSql() { method isStoring (line 56) | public boolean isStoring() { method setStoring (line 60) | public void setStoring(boolean storing) { method setSql (line 64) | public void setSql(String sql) { method getTotal (line 68) | public int getTotal() { method setTotal (line 72) | public void setTotal(int total) { method getDataFile (line 76) | public String getDataFile() { method setDataFile (line 80) | public void setDataFile(String dataFile) { method getCreateTime (line 84) | public long getCreateTime() { method setCreateTime (line 88) | public void setCreateTime(long createTime) { method getLastAccesTime (line 92) | public long getLastAccesTime() { method setLastAccesTime (line 96) | public void setLastAccesTime(long lastAccesTime) { method addHeader (line 100) | public void addHeader(byte[] header) throws IOException { method writeFile (line 104) | private void writeFile(byte[] data) throws IOException { method appendRecord (line 117) | public void appendRecord(byte[] row) throws IOException { FILE: src/main/java/io/mycat/cache/MysqlDataSetService.java class MysqlDataSetService (line 31) | public class MysqlDataSetService { method isEnabled (line 38) | public boolean isEnabled() { method setEnabled (line 42) | public void setEnabled(boolean enabled) { method getMaxExpire (line 46) | public int getMaxExpire() { method setMaxExpire (line 50) | public void setMaxExpire(int maxExpire) { method getInstance (line 56) | public static MysqlDataSetService getInstance() { method MysqlDataSetService (line 60) | private MysqlDataSetService() { method findDataSetCache (line 70) | public MysqlDataSetCache findDataSetCache(String sql) { method needCache (line 85) | public String needCache(String sql) method addIfNotExists (line 89) | public boolean addIfNotExists(MysqlDataSetCache newCache) { method validCache (line 93) | private boolean validCache(MysqlDataSetCache cache) { FILE: src/main/java/io/mycat/cache/impl/EnchachePooFactory.java class EnchachePooFactory (line 32) | public class EnchachePooFactory extends CachePoolFactory { method createCachePool (line 34) | @Override FILE: src/main/java/io/mycat/cache/impl/EnchachePool.java class EnchachePool (line 40) | public class EnchachePool implements CachePool { method EnchachePool (line 46) | public EnchachePool(String name,Cache enCache,long maxSize) { method putIfAbsent (line 54) | @Override method get (line 66) | @Override method clearCache (line 84) | @Override method getCacheStatic (line 94) | @Override method getMaxSize (line 101) | @Override method clearCache (line 106) | @Override FILE: src/main/java/io/mycat/cache/impl/LevelDBCachePooFactory.java class LevelDBCachePooFactory (line 14) | public class LevelDBCachePooFactory extends CachePoolFactory { method createCachePool (line 16) | @Override FILE: src/main/java/io/mycat/cache/impl/LevelDBPool.java class LevelDBPool (line 17) | public class LevelDBPool implements CachePool { method LevelDBPool (line 24) | public LevelDBPool(String name,DB db,long maxSize) { method putIfAbsent (line 30) | @Override method get (line 40) | @Override method clearCache (line 59) | @Override method getCacheStatic (line 68) | @Override method getMaxSize (line 89) | @Override method clearCache (line 95) | @Override method toByteArray (line 102) | public byte[] toByteArray (Object obj) { method toObject (line 119) | public Object toObject (byte[] bytes) { FILE: src/main/java/io/mycat/cache/impl/MapDBCachePooFactory.java class MapDBCachePooFactory (line 35) | public class MapDBCachePooFactory extends CachePoolFactory { method createCachePool (line 38) | @Override FILE: src/main/java/io/mycat/cache/impl/MapDBCachePool.java class MapDBCachePool (line 31) | public class MapDBCachePool implements CachePool { method MapDBCachePool (line 36) | public MapDBCachePool(HTreeMap htreeMap,long maxSize) { method putIfAbsent (line 42) | @Override method get (line 50) | @Override method clearCache (line 62) | @Override method getCacheStatic (line 69) | @Override method getMaxSize (line 76) | @Override method clearCache (line 81) | @Override FILE: src/main/java/io/mycat/cache/index/Shard.java class Shard (line 17) | public class Shard { // S类封装了机器节点的信息 ,如name、password、ip、port等 method Shard (line 23) | public Shard(List shards) { method init (line 29) | private void init() { // 初始化一致性hash环 method getShardInfo (line 41) | public S getShardInfo(String key) { method hash (line 55) | private Long hash(String key) { method main (line 98) | public static void main(String[] args) { FILE: src/main/java/io/mycat/catlets/Catlet.java type Catlet (line 16) | public interface Catlet { method processSQL (line 21) | void processSQL(String sql, EngineCtx ctx); method route (line 23) | void route(SystemConfig sysConfig, SchemaConfig schema, FILE: src/main/java/io/mycat/catlets/JoinParser.java class JoinParser (line 45) | public class JoinParser { method JoinParser (line 57) | public JoinParser(MySqlSelectQueryBlock selectQuery,String stmt) { method parser (line 62) | public void parser(){ method parserTable (line 82) | private void parserTable(SQLTableSource table,TableFilter tFilter,bool... method setTableFilter (line 104) | private TableFilter setTableFilter(TableFilter tFilter,TableFilter new... method getTableFilter (line 114) | private TableFilter getTableFilter(SQLTableSource table,boolean isOutJ... method parserJoinKey (line 126) | private void parserJoinKey(SQLExpr expr){ method getExprFieldName (line 133) | private String getExprFieldName(SQLAggregateExpr expr){ method getFieldName (line 141) | private String getFieldName(SQLSelectItem item){ method getMethodInvokeFieldName (line 150) | private String getMethodInvokeFieldName(SQLSelectItem item){ method parserFields (line 162) | private void parserFields(List mysqlSelectList){ method setField (line 191) | private void setField(String key,String value){ method setField (line 198) | private void setField(String key,String value,String expr){ method parserMasterTable (line 207) | private void parserMasterTable(){ method checkJoinField (line 213) | private boolean checkJoinField(String value){ method parserWhere (line 224) | private void parserWhere(SQLExpr aexpr,String Operator){ method andorWhere (line 258) | private void andorWhere(SQLExpr exprL,String Operator,SQLExpr exprR ){ method opSQLExpr (line 263) | private void opSQLExpr(SQLBinaryOpExpr expr,String Operator) { method getExpValue (line 288) | private Object getExpValue(SQLExpr expr){ method parserOrderBy (line 309) | private void parserOrderBy(SQLOrderBy orderby) method parserLimit (line 319) | private void parserLimit(){ method getSQLExprToInt (line 329) | private int getSQLExprToInt(SQLExpr expr){ method getSQLExprToAsc (line 336) | private String getSQLExprToAsc(SQLOrderingSpecification ASC){ method getChildSQL (line 348) | public String getChildSQL(){ method getSql (line 354) | public String getSql(){ method getJoinType (line 359) | public String getJoinType(){ method getJoinLkey (line 362) | public String getJoinLkey(){ method getJoinRkey (line 365) | public String getJoinRkey(){ method getOrderByCols (line 370) | public LinkedHashMap getOrderByCols(){ method getChildByCols (line 374) | public LinkedHashMap getChildByCols(){ method hasOrder (line 378) | public boolean hasOrder() { method getOffset (line 384) | public int getOffset() { method getRowCount (line 390) | public int getRowCount() { method hasLimit (line 396) | public boolean hasLimit() { FILE: src/main/java/io/mycat/catlets/ShareJoin.java class ShareJoin (line 45) | public class ShareJoin implements Catlet { method setRoute (line 78) | public void setRoute(RouteResultset rrs){ method route (line 82) | public void route(SystemConfig sysConfig, SchemaConfig schema,int sqlT... method getRoute (line 119) | private void getRoute(String sql){ method getDataNodes (line 128) | private String[] getDataNodes(){ method getDataNode (line 135) | private String getDataNode(String[] dataNodes){ method processSQL (line 143) | public void processSQL(String sql, EngineCtx ctx) { method putDBRow (line 196) | public void putDBRow(String id,String nid, byte[] rowData,int findex){ method putDBFields (line 208) | public void putDBFields(List mFields){ method endJobInput (line 215) | public void endJobInput(String dataNode, boolean failed){ method createQryJob (line 226) | private void createQryJob(int batchSize) { method writeHeader (line 277) | public void writeHeader(String dataNode,List afields, List afields, List... method setAllFields (line 327) | private void setAllFields(List afields, List bfields){ method getAllFields (line 338) | public List getAllFields(){ method writeRow (line 341) | public void writeRow(RowDataPacket rowDataPkg){ method writeEof (line 355) | protected void writeEof() { method getFieldIndex (line 382) | public int getFieldIndex(List fields,String fkey){ method getCommonFieldIndex (line 396) | public ColMeta getCommonFieldIndex(List fields,String fkey){ class ShareDBJoinHandler (line 410) | class ShareDBJoinHandler implements SQLJobHandler { method ShareDBJoinHandler (line 415) | public ShareDBJoinHandler(ShareJoin ctx,String joinField,NonBlockingSe... method onHeader (line 426) | @Override method onRowData (line 450) | @Override method finished (line 461) | @Override class ShareRowOutPutDataHandler (line 472) | class ShareRowOutPutDataHandler implements SQLJobHandler { method ShareRowOutPutDataHandler (line 482) | public ShareRowOutPutDataHandler(ShareJoin ctx,List afields,in... method onHeader (line 493) | @Override method getRow (line 506) | private byte[] getRow(Map batchRowsCopy,String value,i... method onRowData (line 523) | @Override method finished (line 571) | @Override FILE: src/main/java/io/mycat/catlets/TableFilter.java class TableFilter (line 20) | public class TableFilter { method TableFilter (line 41) | public TableFilter(String taName,String taAlia,boolean outJoin) { method getTablefrom (line 52) | private String getTablefrom(String key){ method getFieldfrom (line 71) | private String getFieldfrom(String key){ method addField (line 86) | public void addField(String fieldName,String fieldAlia){ method addField (line 112) | public void addField(String fieldName,String fieldAlia,String expr){ method addWhere (line 140) | public void addWhere(String fieldName,String value,String Operator,Str... method addWhere (line 154) | public void addWhere(String fieldName,String condition,String and){ method unionsql (line 169) | private String unionsql(String key,String value,String Operator){ method addOrders (line 180) | public void addOrders(int index, String fieldName,String des){ method fieldInTable (line 200) | private boolean fieldInTable(String fieldName) { method getOrderByCols (line 217) | public LinkedHashMap getOrderByCols(){ method addLimit (line 220) | public void addLimit(int offset,int rowCount){ method setJoinKey (line 224) | public void setJoinKey(String fieldName,String value){ method getChildJoinKey (line 254) | private String getChildJoinKey(boolean left){ method getJoinKey (line 267) | public String getJoinKey(boolean left){ method joinLkey (line 270) | private int joinLkey(String fieldName,String value){ method getTableName (line 296) | public String getTableName(){ method setTableName (line 299) | public void setTableName(String value){ method getTableAlia (line 303) | public String getTableAlia(){ method setTableAlia (line 306) | public void setTableAlia(String value){ method getOutJoin (line 310) | public boolean getOutJoin(){ method setOutJoin (line 313) | public void setOutJoin(boolean value){ method getAllField (line 318) | public boolean getAllField(){ method setAllField (line 321) | public void setAllField(boolean value){ method getTableJoin (line 325) | public TableFilter getTableJoin(){ method setTableJoin (line 328) | public void setTableJoin(TableFilter value){ method getParent (line 332) | public TableFilter getParent() { method setParent (line 336) | public void setParent(TableFilter parent) { method unionField (line 340) | private String unionField(String field,String key,String Operator){ method getSQL (line 350) | public String getSQL(){ method getOffset (line 411) | public int getOffset() { method getRowCount (line 416) | public int getRowCount() { method encodeOrignOrderType (line 420) | public static int encodeOrignOrderType(int index , int orderType) { method decodeOrderType (line 424) | public static int decodeOrderType(int orignOrderType){ method decodeOrignOrder (line 427) | public static int decodeOrignOrder(int orignOrderType){ method main (line 431) | public static void main(String[] args) { method toString (line 439) | @Override FILE: src/main/java/io/mycat/config/Alarms.java type Alarms (line 31) | public interface Alarms { FILE: src/main/java/io/mycat/config/Capabilities.java type Capabilities (line 31) | public interface Capabilities { FILE: src/main/java/io/mycat/config/ConfigInitializer.java class ConfigInitializer (line 61) | public class ConfigInitializer { method ConfigInitializer (line 73) | public ConfigInitializer(boolean loadDataHost) { method selfChecking0 (line 121) | private void selfChecking0() throws ConfigException { method testConnection (line 171) | public void testConnection() { method getSystem (line 221) | public SystemConfig getSystem() { method getCluster (line 225) | public MycatCluster getCluster() { method getFirewall (line 229) | public FirewallConfig getFirewall() { method getUsers (line 233) | public Map getUsers() { method getSchemas (line 237) | public Map getSchemas() { method getDataNodes (line 241) | public Map getDataNodes() { method getDataHosts (line 245) | public Map getDataHosts() { method initCobarCluster (line 249) | private MycatCluster initCobarCluster(ConfigLoader configLoader) { method initDataHosts (line 253) | private Map initDataHosts(ConfigLoader configL... method createDataSource (line 270) | private PhysicalDatasource[] createDataSource(DataHostConfig conf, method getPhysicalDBPool (line 300) | private PhysicalDBPool getPhysicalDBPool(DataHostConfig conf, method initDataNodes (line 326) | private Map initDataNodes(ConfigLoader configL... FILE: src/main/java/io/mycat/config/ErrorCode.java type ErrorCode (line 29) | public interface ErrorCode { FILE: src/main/java/io/mycat/config/Fields.java type Fields (line 31) | public interface Fields { FILE: src/main/java/io/mycat/config/Isolations.java type Isolations (line 31) | public interface Isolations { FILE: src/main/java/io/mycat/config/MycatCluster.java class MycatCluster (line 36) | public final class MycatCluster { method MycatCluster (line 41) | public MycatCluster(ClusterConfig clusterConf) { method getNodes (line 51) | public Map getNodes() { method getGroups (line 55) | public Map> getGroups() { FILE: src/main/java/io/mycat/config/MycatConfig.java class MycatConfig (line 45) | public class MycatConfig { method MycatConfig (line 69) | public MycatConfig() { method getSystem (line 95) | public SystemConfig getSystem() { method setSocketParams (line 99) | public void setSocketParams(AbstractConnection con, boolean isFrontCha... method getUsers (line 129) | public Map getUsers() { method getBackupUsers (line 133) | public Map getBackupUsers() { method getSchemas (line 137) | public Map getSchemas() { method getBackupSchemas (line 141) | public Map getBackupSchemas() { method getDataNodes (line 145) | public Map getDataNodes() { method setDataNodes (line 149) | public void setDataNodes( Map map) { method getDataNodeSchemasOfDataHost (line 153) | public String[] getDataNodeSchemasOfDataHost(String dataHost) { method getBackupDataNodes (line 163) | public Map getBackupDataNodes() { method getDataHosts (line 167) | public Map getDataHosts() { method getBackupDataHosts (line 171) | public Map getBackupDataHosts() { method getCluster (line 175) | public MycatCluster getCluster() { method getBackupCluster (line 179) | public MycatCluster getBackupCluster() { method getFirewall (line 183) | public FirewallConfig getFirewall() { method getBackupFirewall (line 187) | public FirewallConfig getBackupFirewall() { method getLock (line 191) | public ReentrantLock getLock() { method getReloadTime (line 195) | public long getReloadTime() { method getRollbackTime (line 199) | public long getRollbackTime() { method reload (line 203) | public void reload( method canRollback (line 217) | public boolean canRollback() { method rollback (line 227) | public void rollback( method apply (line 240) | private void apply(Map newUsers, FILE: src/main/java/io/mycat/config/MycatNode.java class MycatNode (line 33) | public class MycatNode { method MycatNode (line 39) | public MycatNode(MycatNodeConfig config) { method getName (line 44) | public String getName() { method getConfig (line 48) | public MycatNodeConfig getConfig() { method isOnline (line 52) | public boolean isOnline() { FILE: src/main/java/io/mycat/config/MycatPrivileges.java class MycatPrivileges (line 56) | public class MycatPrivileges implements FrontendPrivileges { method instance (line 67) | public static MycatPrivileges instance() { method MycatPrivileges (line 71) | private MycatPrivileges() { method schemaExists (line 75) | @Override method userExists (line 81) | @Override method getPassword (line 87) | @Override method getUserSchemas (line 102) | @Override method isReadOnly (line 115) | @Override method getBenchmark (line 127) | @Override method checkFirewallWhiteHostPolicy (line 148) | @Override method checkFirewallSQLPolicy (line 196) | @Override method checkDmlPrivilege (line 240) | @Override method checkDataNodeDmlPrivilege (line 342) | @Override FILE: src/main/java/io/mycat/config/Versions.java class Versions (line 29) | public abstract class Versions { method setServerVersion (line 37) | public static void setServerVersion(String version) { FILE: src/main/java/io/mycat/config/classloader/DynaClassLoader.java class DynaClassLoader (line 21) | public class DynaClassLoader { method DynaClassLoader (line 29) | public DynaClassLoader(String extClassHome, int classCheckSeconds) { method getInstanceofClass (line 39) | public Object getInstanceofClass(String className) throws Exception { method loadFile (line 71) | private static byte[] loadFile(String path) throws IOException { method checkChanged (line 89) | private boolean checkChanged(DynaClass dynaClass) throws IOException { class MyDynaClassLoader (line 106) | class MyDynaClassLoader extends ClassLoader { method MyDynaClassLoader (line 107) | public MyDynaClassLoader() { method MyDynaClassLoader (line 110) | public MyDynaClassLoader(ClassLoader parentLoader) { method loadClass (line 122) | public Class loadClass(String name) throws ClassNotFoundException { method searchFile (line 165) | private DynaClass searchFile(String classpath, String fileName) thro... method clearUnUsedClass (line 203) | public void clearUnUsedClass() { class DynaClass (line 219) | class DynaClass { method needReloadClass (line 225) | public boolean needReloadClass(long classCheckMilis) { method clear (line 233) | public void clear() { method DynaClass (line 239) | public DynaClass(String filePath) { FILE: src/main/java/io/mycat/config/classloader/JarLoader.java class JarLoader (line 11) | public class JarLoader { method unJar (line 13) | public static void unJar(File jarFile, File toDir) throws IOException { method loadJar (line 49) | public static Class loadJar(String fileName,String mainJavaclass) t... method fullyDelete (line 113) | public static boolean fullyDelete(File dir) throws IOException { method fullyDeleteContents (line 124) | public static boolean fullyDeleteContents(File dir) throws IOException { FILE: src/main/java/io/mycat/config/loader/ConfigLoader.java type ConfigLoader (line 39) | public interface ConfigLoader { method getSchemaConfig (line 40) | SchemaConfig getSchemaConfig(String schema); method getSchemaConfigs (line 42) | Map getSchemaConfigs(); method getDataNodes (line 44) | Map getDataNodes(); method getDataHosts (line 46) | Map getDataHosts(); method getSystemConfig (line 48) | SystemConfig getSystemConfig(); method getUserConfig (line 50) | UserConfig getUserConfig(String user); method getUserConfigs (line 52) | Map getUserConfigs(); method getFirewallConfig (line 54) | FirewallConfig getFirewallConfig(); method getClusterConfig (line 56) | ClusterConfig getClusterConfig(); FILE: src/main/java/io/mycat/config/loader/SchemaLoader.java type SchemaLoader (line 36) | public interface SchemaLoader { method getTableRules (line 38) | Map getTableRules(); method getDataHosts (line 40) | Map getDataHosts(); method getDataNodes (line 42) | Map getDataNodes(); method getSchemas (line 44) | Map getSchemas(); FILE: src/main/java/io/mycat/config/loader/console/ZookeeperPath.java type ZookeeperPath (line 14) | public enum ZookeeperPath { method ZookeeperPath (line 206) | private ZookeeperPath(String key) { method getKey (line 210) | public String getKey() { method setKey (line 214) | public void setKey(String key) { FILE: src/main/java/io/mycat/config/loader/xml/XMLConfigLoader.java class XMLConfigLoader (line 41) | public class XMLConfigLoader implements ConfigLoader { method XMLConfigLoader (line 55) | public XMLConfigLoader(SchemaLoader schemaLoader) { method getClusterConfig (line 67) | @Override method getFirewallConfig (line 72) | @Override method getUserConfig (line 77) | @Override method getUserConfigs (line 82) | @Override method getSystemConfig (line 87) | @Override method getSchemaConfigs (line 91) | @Override method getDataNodes (line 96) | @Override method getDataHosts (line 101) | @Override method getSchemaConfig (line 106) | @Override FILE: src/main/java/io/mycat/config/loader/xml/XMLRuleLoader.java class XMLRuleLoader (line 49) | @SuppressWarnings("unchecked") method XMLRuleLoader (line 58) | public XMLRuleLoader(String ruleFile) { method XMLRuleLoader (line 67) | public XMLRuleLoader() { method getTableRules (line 71) | public Map getTableRules() { method load (line 79) | private void load(String dtdFile, String xmlFile) { method loadTableRules (line 123) | private void loadTableRules(Element root) throws SQLSyntaxErrorExcepti... method loadRule (line 160) | private RuleConfig loadRule(Element element) throws SQLSyntaxErrorExce... method loadFunctions (line 187) | private void loadFunctions(Element root) throws ClassNotFoundException, method createFunction (line 216) | private AbstractPartitionAlgorithm createFunction(String name, String ... FILE: src/main/java/io/mycat/config/loader/xml/XMLSchemaLoader.java class XMLSchemaLoader (line 54) | @SuppressWarnings("unchecked") method XMLSchemaLoader (line 67) | public XMLSchemaLoader(String schemaFile, String ruleFile) { method XMLSchemaLoader (line 81) | public XMLSchemaLoader() { method getTableRules (line 85) | @Override method getDataHosts (line 90) | @Override method getDataNodes (line 95) | @Override method getSchemas (line 100) | @Override method load (line 105) | private void load(String dtdFile, String xmlFile) { method loadSchemas (line 140) | private void loadSchemas(Element root) { method doTableNameSuffix (line 226) | private String doTableNameSuffix(String tableNameElement, String table... method loadTables (line 294) | private Map loadTables(Element node) { method loadTable (line 321) | private void loadTable(String schemaName, Map tab... method getNewRuleName (line 444) | private String getNewRuleName(String schemaName, String tableName, Str... method distributeDataNodes (line 456) | private void distributeDataNodes(ArrayList theDataNodes) { method getDbType (line 482) | private Set getDbType(String dataNode) { method getDataNodeDbTypeMap (line 494) | private Set getDataNodeDbTypeMap(String dataNode) { method isHasMultiDbType (line 505) | private boolean isHasMultiDbType(TableConfig table) { method processChildTables (line 515) | private void processChildTables(Map tables, method checkDataNodeExists (line 558) | private void checkDataNodeExists(Collection nodes) { method checkRuleSuitTable (line 587) | private void checkRuleSuitTable(TableConfig tableConf) { method loadDataNodes (line 612) | private void loadDataNodes(Element root) { method mergerHostDatabase (line 662) | private List mergerHostDatabase(String[] hostStrings, String... method createDataNode (line 677) | private void createDataNode(String dnName, String database, String hos... method empty (line 692) | private boolean empty(String dnName) { method createDBHostConf (line 696) | private DBHostConfig createDBHostConf(String dataHost, Element node, method loadDataHosts (line 747) | private void loadDataHosts(Element root) { FILE: src/main/java/io/mycat/config/loader/xml/XMLServerLoader.java class XMLServerLoader (line 59) | @SuppressWarnings("unchecked") method XMLServerLoader (line 66) | public XMLServerLoader() { method getSystem (line 73) | public SystemConfig getSystem() { method getUsers (line 77) | public Map getUsers() { method getFirewall (line 81) | public FirewallConfig getFirewall() { method getCluster (line 85) | public ClusterConfig getCluster() { method load (line 89) | private void load() { method loadFirewall (line 137) | private void loadFirewall(Element root) throws IllegalAccessException,... method loadUsers (line 202) | private void loadUsers(Element root) { method loadPrivileges (line 251) | private void loadPrivileges(UserConfig userConfig, Element node) { method loadSystem (line 332) | private void loadSystem(Element root) throws IllegalAccessException, I... FILE: src/main/java/io/mycat/config/loader/zkprocess/comm/NotiflyService.java type NotiflyService (line 10) | public interface NotiflyService { method notiflyProcess (line 17) | public boolean notiflyProcess() throws Exception; FILE: src/main/java/io/mycat/config/loader/zkprocess/comm/ZkConfig.java class ZkConfig (line 26) | public class ZkConfig { method ZkConfig (line 35) | private ZkConfig() { method getZkURL (line 56) | public String getZkURL() method initZk (line 60) | public void initZk() method getInstance (line 77) | public static ZkConfig getInstance() { method getValue (line 89) | public String getValue(ZkParamCfg param) { method LoadMyidPropersites (line 103) | private static Properties LoadMyidPropersites() { method main (line 130) | public static void main(String[] args) { FILE: src/main/java/io/mycat/config/loader/zkprocess/comm/ZkParamCfg.java type ZkParamCfg (line 14) | public enum ZkParamCfg { method ZkParamCfg (line 61) | private ZkParamCfg(String key) { method getKey (line 67) | public String getKey() { method setKey (line 71) | public void setKey(String key) { FILE: src/main/java/io/mycat/config/loader/zkprocess/comm/ZookeeperProcessListen.java class ZookeeperProcessListen (line 24) | public class ZookeeperProcessListen { method getBasePath (line 55) | public String getBasePath() { method setBasePath (line 59) | public void setBasePath(String basePath) { method addListen (line 69) | public void addListen(String key, NotiflyService cacheNotiflySercie) { method watchPath (line 81) | public void watchPath(String key, String path) { method watchToParse (line 97) | public void watchToParse() { method getWatchPath (line 114) | public Set getWatchPath() { method notifly (line 130) | public boolean notifly(String key) { method notiflyAll (line 164) | private void notiflyAll() { FILE: src/main/java/io/mycat/config/loader/zkprocess/console/ParseParamEnum.java type ParseParamEnum (line 14) | public enum ParseParamEnum { method ParseParamEnum (line 30) | private ParseParamEnum(String key) { method getKey (line 34) | public String getKey() { method setKey (line 38) | public void setKey(String key) { FILE: src/main/java/io/mycat/config/loader/zkprocess/console/ZkNofiflyCfg.java type ZkNofiflyCfg (line 14) | public enum ZkNofiflyCfg { method ZkNofiflyCfg (line 30) | private ZkNofiflyCfg(String key) { method getKey (line 34) | public String getKey() { method setKey (line 38) | public void setKey(String key) { FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/Named.java type Named (line 6) | public interface Named { method getName (line 13) | String getName(); FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/Propertied.java type Propertied (line 6) | public interface Propertied { method addProperty (line 7) | void addProperty(Property property); FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/Property.java class Property (line 22) | @XmlAccessorType(XmlAccessType.FIELD) method getValue (line 31) | public String getValue() { method setValue (line 35) | public Property setValue(String value) { method getName (line 40) | public String getName() { method setName (line 44) | public Property setName(String value) { method equals (line 49) | @Override method hashCode (line 61) | @Override method toString (line 66) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/Rules.java class Rules (line 13) | @XmlAccessorType(XmlAccessType.FIELD) method getTableRule (line 29) | public List getTableRule() { method setTableRule (line 36) | public void setTableRule(List tableRule) { method getFunction (line 40) | public List getFunction() { method setFunction (line 47) | public void setFunction(List function) { method toString (line 51) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/Schemas.java class Schemas (line 14) | @XmlAccessorType(XmlAccessType.FIELD) method getSchema (line 35) | public List getSchema() { method setSchema (line 42) | public void setSchema(List schema) { method getDataNode (line 46) | public List getDataNode() { method setDataNode (line 53) | public void setDataNode(List dataNode) { method getDataHost (line 57) | public List getDataHost() { method setDataHost (line 64) | public void setDataHost(List dataHost) { method toString (line 68) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/Server.java class Server (line 13) | @XmlAccessorType(XmlAccessType.FIELD) method getSystem (line 23) | public System getSystem() { method setSystem (line 27) | public void setSystem(System value) { method getUser (line 31) | public List getUser() { method setUser (line 35) | public void setUser(List user) { method toString (line 39) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/cache/CacheInfo.java class CacheInfo (line 19) | @XmlAccessorType(XmlAccessType.NONE) method getMaxElementsInMemory (line 81) | public int getMaxElementsInMemory() { method setMaxElementsInMemory (line 85) | public void setMaxElementsInMemory(int maxElementsInMemory) { method isEternal (line 89) | public boolean isEternal() { method setEternal (line 93) | public void setEternal(boolean eternal) { method isOverflowToDisk (line 97) | public boolean isOverflowToDisk() { method setOverflowToDisk (line 101) | public void setOverflowToDisk(boolean overflowToDisk) { method getDiskSpoolBufferSizeMB (line 105) | public int getDiskSpoolBufferSizeMB() { method setDiskSpoolBufferSizeMB (line 109) | public void setDiskSpoolBufferSizeMB(int diskSpoolBufferSizeMB) { method getMaxElementsOnDisk (line 113) | public int getMaxElementsOnDisk() { method setMaxElementsOnDisk (line 117) | public void setMaxElementsOnDisk(int maxElementsOnDisk) { method isDiskPersistent (line 121) | public boolean isDiskPersistent() { method setDiskPersistent (line 125) | public void setDiskPersistent(boolean diskPersistent) { method getDiskExpiryThreadIntervalSeconds (line 129) | public int getDiskExpiryThreadIntervalSeconds() { method setDiskExpiryThreadIntervalSeconds (line 133) | public void setDiskExpiryThreadIntervalSeconds(int diskExpiryThreadInt... method getMemoryStoreEvictionPolicy (line 137) | public String getMemoryStoreEvictionPolicy() { method setMemoryStoreEvictionPolicy (line 141) | public void setMemoryStoreEvictionPolicy(String memoryStoreEvictionPol... method toString (line 145) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/cache/Ehcache.java class Ehcache (line 20) | @XmlAccessorType(XmlAccessType.FIELD) method getMaxEntriesLocalHeap (line 50) | public int getMaxEntriesLocalHeap() { method setMaxEntriesLocalHeap (line 54) | public void setMaxEntriesLocalHeap(int maxEntriesLocalHeap) { method getMaxBytesLocalDisk (line 58) | public String getMaxBytesLocalDisk() { method setMaxBytesLocalDisk (line 62) | public void setMaxBytesLocalDisk(String maxBytesLocalDisk) { method isUpdateCheck (line 66) | public boolean isUpdateCheck() { method setUpdateCheck (line 70) | public void setUpdateCheck(boolean updateCheck) { method getDefaultCache (line 74) | public CacheInfo getDefaultCache() { method setDefaultCache (line 78) | public void setDefaultCache(CacheInfo defaultCache) { method toString (line 82) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/rule/function/Function.java class Function (line 28) | @XmlAccessorType(XmlAccessType.FIELD) method getName (line 41) | public String getName() { method setName (line 45) | public void setName(String name) { method getClazz (line 49) | public String getClazz() { method setClazz (line 53) | public void setClazz(String clazz) { method getProperty (line 57) | public List getProperty() { method setProperty (line 64) | public void setProperty(List property) { method addProperty (line 68) | @Override method toString (line 73) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/rule/tablerule/Rule.java class Rule (line 22) | @XmlAccessorType(XmlAccessType.FIELD) method getColumns (line 29) | public String getColumns() { method setColumns (line 33) | public Rule setColumns(String columns) { method getAlgorithm (line 38) | public String getAlgorithm() { method setAlgorithm (line 42) | public Rule setAlgorithm(String algorithm) { method toString (line 47) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/rule/tablerule/TableRule.java class TableRule (line 27) | @XmlAccessorType(XmlAccessType.FIELD) method getRule (line 37) | public Rule getRule() { method setRule (line 41) | public TableRule setRule(Rule rule) { method getName (line 46) | public String getName() { method setName (line 50) | public TableRule setName(String name) { method toString (line 55) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/schema/datahost/DataHost.java class DataHost (line 26) | @XmlAccessorType(XmlAccessType.FIELD) method getMaxRetryCount (line 62) | public String getMaxRetryCount() { method setMaxRetryCount (line 66) | public void setMaxRetryCount(String maxRetryCount) { method getHeartbeat (line 70) | public String getHeartbeat() { method setHeartbeat (line 74) | public void setHeartbeat(String heartbeat) { method getConnectionInitSql (line 78) | public String getConnectionInitSql() { method setConnectionInitSql (line 82) | public void setConnectionInitSql(String connectionInitSql) { method getWriteHost (line 86) | public List getWriteHost() { method getSlaveIDs (line 93) | public String getSlaveIDs() { method setSlaveIDs (line 97) | public void setSlaveIDs(String slaveIDs) { method setWriteHost (line 101) | public void setWriteHost(List writeHost) { method getName (line 105) | public String getName() { method setName (line 109) | public void setName(String name) { method getMaxCon (line 113) | public Integer getMaxCon() { method setMaxCon (line 117) | public void setMaxCon(Integer maxCon) { method getMinCon (line 121) | public Integer getMinCon() { method setMinCon (line 125) | public void setMinCon(Integer minCon) { method getBalance (line 129) | public Integer getBalance() { method setBalance (line 133) | public void setBalance(Integer balance) { method getBalanceType (line 137) | public Integer getBalanceType() { method setBalanceType (line 141) | public void setBalanceType(Integer balanceType) { method getDbType (line 145) | public String getDbType() { method setDbType (line 149) | public void setDbType(String dbType) { method getDbDriver (line 153) | public String getDbDriver() { method setDbDriver (line 157) | public void setDbDriver(String dbDriver) { method getWriteType (line 161) | public Integer getWriteType() { method setWriteType (line 165) | public void setWriteType(Integer writeType) { method getSwitchType (line 169) | public Integer getSwitchType() { method setSwitchType (line 173) | public void setSwitchType(Integer switchType) { method getSlaveThreshold (line 177) | public Integer getSlaveThreshold() { method setSlaveThreshold (line 181) | public void setSlaveThreshold(Integer slaveThreshold) { method toString (line 185) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/schema/datahost/ReadHost.java class ReadHost (line 22) | @XmlAccessorType(XmlAccessType.FIELD) method getWeight (line 29) | public String getWeight() { method setWeight (line 33) | public void setWeight(String weight) { method getReadHost (line 37) | @XmlTransient method toString (line 43) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/schema/datahost/WriteHost.java class WriteHost (line 22) | @XmlAccessorType(XmlAccessType.FIELD) method getHost (line 42) | public String getHost() { method setHost (line 46) | public void setHost(String host) { method getUrl (line 50) | public String getUrl() { method setUrl (line 54) | public void setUrl(String url) { method getPassword (line 58) | public String getPassword() { method setPassword (line 62) | public void setPassword(String password) { method getUser (line 66) | public String getUser() { method setUser (line 70) | public void setUser(String user) { method isUsingDecrypt (line 74) | public Boolean isUsingDecrypt() { method setUsingDecrypt (line 78) | public void setUsingDecrypt(Boolean usingDecrypt) { method getReadHost (line 82) | public List getReadHost() { method setReadHost (line 89) | public void setReadHost(List readHost) { method toString (line 93) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/schema/datanode/DataNode.java class DataNode (line 21) | @XmlAccessorType(XmlAccessType.FIELD) method getName (line 34) | public String getName() { method setName (line 38) | public void setName(String name) { method getDataHost (line 42) | public String getDataHost() { method setDataHost (line 46) | public void setDataHost(String dataHost) { method getDatabase (line 50) | public String getDatabase() { method setDatabase (line 54) | public void setDatabase(String database) { method toString (line 58) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/schema/schema/ChildTable.java class ChildTable (line 26) | @XmlAccessorType(XmlAccessType.FIELD) method getName (line 43) | public String getName() { method setName (line 47) | public void setName(String name) { method getJoinKey (line 51) | public String getJoinKey() { method setJoinKey (line 55) | public void setJoinKey(String joinKey) { method getParentKey (line 59) | public String getParentKey() { method setParentKey (line 63) | public void setParentKey(String parentKey) { method getPrimaryKey (line 67) | public String getPrimaryKey() { method setPrimaryKey (line 71) | public void setPrimaryKey(String primaryKey) { method isAutoIncrement (line 75) | public Boolean isAutoIncrement() { method setAutoIncrement (line 79) | public void setAutoIncrement(Boolean autoIncrement) { method getChildTable (line 83) | public List getChildTable() { method setChildTable (line 90) | public void setChildTable(List childTable) { method toString (line 94) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/schema/schema/Schema.java class Schema (line 28) | @XmlAccessorType(XmlAccessType.FIELD) method getName (line 70) | public String getName() { method setName (line 74) | public void setName(String name) { method isCheckSQLschema (line 78) | public Boolean isCheckSQLschema() { method setCheckSQLschema (line 82) | public void setCheckSQLschema(Boolean checkSQLschema) { method getSqlMaxLimit (line 86) | public Integer getSqlMaxLimit() { method setSqlMaxLimit (line 90) | public void setSqlMaxLimit(Integer sqlMaxLimit) { method getDataNode (line 94) | public String getDataNode() { method setDataNode (line 98) | public void setDataNode(String dataNode) { method getTable (line 102) | public List getTable() { method setTable (line 109) | public void setTable(List
table) { method toString (line 113) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/schema/schema/Table.java class Table (line 25) | @XmlAccessorType(XmlAccessType.FIELD) method getName (line 56) | public String getName() { method setName (line 60) | public void setName(String name) { method getDataNode (line 64) | public String getDataNode() { method setDataNode (line 68) | public void setDataNode(String dataNode) { method getRule (line 72) | public String getRule() { method setRule (line 76) | public void setRule(String rule) { method getChildTable (line 80) | public List getChildTable() { method setChildTable (line 87) | public void setChildTable(List childTable) { method getNameSuffix (line 91) | public String getNameSuffix() { method setNameSuffix (line 95) | public void setNameSuffix(String nameSuffix) { method isRuleRequired (line 99) | public Boolean isRuleRequired() { method setRuleRequired (line 103) | public void setRuleRequired(Boolean ruleRequired) { method getPrimaryKey (line 107) | public String getPrimaryKey() { method setPrimaryKey (line 111) | public void setPrimaryKey(String primaryKey) { method isAutoIncrement (line 115) | public Boolean isAutoIncrement() { method setAutoIncrement (line 119) | public void setAutoIncrement(Boolean autoIncrement) { method isNeedAddLimit (line 123) | public Boolean isNeedAddLimit() { method setNeedAddLimit (line 127) | public void setNeedAddLimit(Boolean needAddLimit) { method getType (line 131) | public String getType() { method setType (line 135) | public void setType(String type) { method getSubTables (line 140) | public String getSubTables() { method setSubTables (line 144) | public void setSubTables(String subTables) { method toString (line 148) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/server/System.java class System (line 24) | @XmlAccessorType(XmlAccessType.FIELD) method getProperty (line 30) | public List getProperty() { method setProperty (line 37) | public void setProperty(List property) { method addProperty (line 41) | @Override method setNewValue (line 52) | public void setNewValue(System newSet) { method toString (line 68) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/entity/server/user/User.java class User (line 15) | @XmlAccessorType(XmlAccessType.FIELD) method getName (line 24) | public String getName() { method setName (line 28) | public void setName(String name) { method getProperty (line 32) | public List getProperty() { method setProperty (line 39) | public void setProperty(List property) { method addProperty (line 43) | @Override method toString (line 48) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/JsonProcessBase.java class JsonProcessBase (line 24) | public class JsonProcessBase { method toJsonFromBean (line 39) | public String toJsonFromBean(Object obj) { method toBeanformJson (line 55) | public T toBeanformJson(String json, Type typeSchema) { method toBeanformJson (line 70) | public T toBeanformJson(String json, Class classinfo) { method main (line 76) | public static void main(String[] args) { FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/ParseJsonServiceInf.java type ParseJsonServiceInf (line 14) | public interface ParseJsonServiceInf { method parseBeanToJson (line 23) | public String parseBeanToJson(T t); method parseJsonToBean (line 32) | public T parseJsonToBean(String json); FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/ParseXmlServiceInf.java type ParseXmlServiceInf (line 14) | public interface ParseXmlServiceInf { method parseToXmlWrite (line 23) | public void parseToXmlWrite(T data, String outputPath, String dataName); method parseXmlToBean (line 32) | public T parseXmlToBean(String path); FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/XmlProcessBase.java class XmlProcessBase (line 39) | public class XmlProcessBase { method addParseClass (line 72) | @SuppressWarnings("rawtypes") method initJaxbClass (line 83) | @SuppressWarnings("rawtypes") method baseParseAndWriteToXml (line 109) | public void baseParseAndWriteToXml(Object user, String inputPath, Stri... method baseParseAndWriteToXml (line 142) | @SuppressWarnings("restriction") method baseParseXmlToBean (line 185) | public Object baseParseXmlToBean(String fileName) throws JAXBException... FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/cache/json/EhcacheJsonParse.java class EhcacheJsonParse (line 18) | public class EhcacheJsonParse extends JsonProcessBase implements ParseJs... method parseBeanToJson (line 20) | @Override method parseJsonToBean (line 25) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/cache/xml/EhcacheParseXmlImpl.java class EhcacheParseXmlImpl (line 29) | public class EhcacheParseXmlImpl implements ParseXmlServiceInf { method EhcacheParseXmlImpl (line 48) | public EhcacheParseXmlImpl(XmlProcessBase parseBase) { method parseXmlToBean (line 55) | @Override method parseToXmlWrite (line 73) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/rule/json/FunctionJsonParse.java class FunctionJsonParse (line 23) | public class FunctionJsonParse extends JsonProcessBase implements ParseJ... method parseBeanToJson (line 25) | @Override method parseJsonToBean (line 30) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/rule/json/TableRuleJsonParse.java class TableRuleJsonParse (line 23) | public class TableRuleJsonParse extends JsonProcessBase implements Parse... method parseBeanToJson (line 25) | @Override method parseJsonToBean (line 30) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/rule/xml/RuleParseXmlImpl.java class RuleParseXmlImpl (line 26) | public class RuleParseXmlImpl implements ParseXmlServiceInf { method RuleParseXmlImpl (line 45) | public RuleParseXmlImpl(XmlProcessBase parseBase) { method parseXmlToBean (line 52) | @Override method parseToXmlWrite (line 70) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/schema/json/DataHostJsonParse.java class DataHostJsonParse (line 23) | public class DataHostJsonParse extends JsonProcessBase implements ParseJ... method parseBeanToJson (line 25) | @Override method parseJsonToBean (line 30) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/schema/json/DataNodeJsonParse.java class DataNodeJsonParse (line 23) | public class DataNodeJsonParse extends JsonProcessBase implements ParseJ... method parseBeanToJson (line 25) | @Override method parseJsonToBean (line 30) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/schema/json/SchemaJsonParse.java class SchemaJsonParse (line 23) | public class SchemaJsonParse extends JsonProcessBase implements ParseJso... method parseBeanToJson (line 25) | @Override method parseJsonToBean (line 30) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/schema/xml/SchemasParseXmlImpl.java class SchemasParseXmlImpl (line 26) | public class SchemasParseXmlImpl implements ParseXmlServiceInf { method SchemasParseXmlImpl (line 45) | public SchemasParseXmlImpl(XmlProcessBase parseBase) { method parseXmlToBean (line 52) | @Override method parseToXmlWrite (line 70) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/server/json/SystemJsonParse.java class SystemJsonParse (line 18) | public class SystemJsonParse extends JsonProcessBase implements ParseJso... method parseBeanToJson (line 20) | @Override method parseJsonToBean (line 25) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/server/json/UserJsonParse.java class UserJsonParse (line 23) | public class UserJsonParse extends JsonProcessBase implements ParseJsonS... method parseBeanToJson (line 25) | @Override method parseJsonToBean (line 30) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/parse/entryparse/server/xml/ServerParseXmlImpl.java class ServerParseXmlImpl (line 26) | public class ServerParseXmlImpl implements ParseXmlServiceInf { method ServerParseXmlImpl (line 45) | public ServerParseXmlImpl(XmlProcessBase parseBase) { method parseXmlToBean (line 52) | @Override method parseToXmlWrite (line 70) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/xmltozk/BindataToZK.java class BindataToZK (line 17) | public class BindataToZK { method main (line 18) | public static void main(String[] args) { FILE: src/main/java/io/mycat/config/loader/zkprocess/xmltozk/XmltoZkMain.java class XmltoZkMain (line 25) | public class XmltoZkMain { method main (line 27) | public static void main(String[] args) throws JAXBException, Interrupt... method buildConnection (line 84) | private static CuratorFramework buildConnection(String url) { FILE: src/main/java/io/mycat/config/loader/zkprocess/xmltozk/listen/EcachesxmlTozkLoader.java class EcachesxmlTozkLoader (line 36) | public class EcachesxmlTozkLoader extends ZkMultLoader implements Notifl... method EcachesxmlTozkLoader (line 80) | public EcachesxmlTozkLoader(ZookeeperProcessListen zookeeperListen, Cu... method notiflyProcess (line 97) | @Override method xmlTozkEhcacheJson (line 118) | private void xmlTozkEhcacheJson(String basePath, Ehcache ehcache) thro... method readSeqFile (line 137) | private String readSeqFile(String name) { FILE: src/main/java/io/mycat/config/loader/zkprocess/xmltozk/listen/OthermsgTozkLoader.java class OthermsgTozkLoader (line 25) | public class OthermsgTozkLoader extends ZkMultLoader implements NotiflyS... method OthermsgTozkLoader (line 39) | public OthermsgTozkLoader(ZookeeperProcessListen zookeeperListen, Cura... method notiflyProcess (line 53) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/xmltozk/listen/RulesxmlTozkLoader.java class RulesxmlTozkLoader (line 43) | public class RulesxmlTozkLoader extends ZkMultLoader implements NotiflyS... method RulesxmlTozkLoader (line 81) | public RulesxmlTozkLoader(ZookeeperProcessListen zookeeperListen, Cura... method notiflyProcess (line 98) | @Override method xmlTozkRulesJson (line 119) | private void xmlTozkRulesJson(String basePath, Rules Rules) throws Exc... method readMapFileAddFunction (line 140) | private void readMapFileAddFunction(List functionList) { method readMapFile (line 173) | private String readMapFile(String name) { FILE: src/main/java/io/mycat/config/loader/zkprocess/xmltozk/listen/SchemasxmlTozkLoader.java class SchemasxmlTozkLoader (line 36) | public class SchemasxmlTozkLoader extends ZkMultLoader implements Notifl... method SchemasxmlTozkLoader (line 80) | public SchemasxmlTozkLoader(ZookeeperProcessListen zookeeperListen, Cu... method notiflyProcess (line 97) | @Override method xmlTozkSchemasJson (line 120) | private void xmlTozkSchemasJson(String basePath, Schemas schema) throw... FILE: src/main/java/io/mycat/config/loader/zkprocess/xmltozk/listen/SequenceTozkLoader.java class SequenceTozkLoader (line 31) | public class SequenceTozkLoader extends ZkMultLoader implements NotiflyS... method SequenceTozkLoader (line 75) | public SequenceTozkLoader(ZookeeperProcessListen zookeeperListen, Cura... method notiflyProcess (line 90) | @Override method sequenceTozk (line 126) | private void sequenceTozk(String basePath, String name) throws Excepti... method readSequenceCfg (line 168) | private String readSequenceCfg(String name) { FILE: src/main/java/io/mycat/config/loader/zkprocess/xmltozk/listen/ServerxmlTozkLoader.java class ServerxmlTozkLoader (line 40) | public class ServerxmlTozkLoader extends ZkMultLoader implements Notifly... method ServerxmlTozkLoader (line 84) | public ServerxmlTozkLoader(ZookeeperProcessListen zookeeperListen, Cur... method notiflyProcess (line 101) | @Override method writeClusterNode (line 128) | private void writeClusterNode(String basePath) throws Exception { method xmlTozkServerJson (line 160) | private void xmlTozkServerJson(String basePath, Server server) throws ... method xmlTozkClusterNodeJson (line 180) | private void xmlTozkClusterNodeJson(String basePath, String node, Serv... method readProperties (line 194) | private String readProperties(String name) { FILE: src/main/java/io/mycat/config/loader/zkprocess/zktoxml/ZktoXmlMain.java class ZktoXmlMain (line 38) | public class ZktoXmlMain { method main (line 51) | public static void main(String[] args) throws Exception { method loadZktoFile (line 62) | public static void loadZktoFile() throws Exception { method loadZkWatch (line 117) | private static void loadZkWatch(Set setPaths, final CuratorFra... method runCommandWatch (line 140) | @SuppressWarnings("resource") method createTempNode (line 162) | private static void createTempNode(String parent, String node, final C... method runWatch (line 180) | private static NodeCache runWatch(final CuratorFramework zkConn, final... method buildConnection (line 202) | private static CuratorFramework buildConnection(String url) { FILE: src/main/java/io/mycat/config/loader/zkprocess/zktoxml/command/CommandPathListener.java class CommandPathListener (line 32) | public class CommandPathListener implements PathChildrenCacheListener { method childEvent (line 36) | @Override method reload (line 72) | public void reload(final String path) { FILE: src/main/java/io/mycat/config/loader/zkprocess/zktoxml/listen/BinDataPathChildrenCacheListener.java class BinDataPathChildrenCacheListener (line 19) | public class BinDataPathChildrenCacheListener implements PathChildrenCac... method childEvent (line 20) | @Override public void childEvent(CuratorFramework client, PathChildren... method add (line 39) | private void add(String name,byte[] data) throws IOException { method delete (line 50) | private void delete(String name,byte[] data) throws IOException { FILE: src/main/java/io/mycat/config/loader/zkprocess/zktoxml/listen/EcacheszkToxmlLoader.java class EcacheszkToxmlLoader (line 40) | public class EcacheszkToxmlLoader extends ZkMultLoader implements Notifl... method EcacheszkToxmlLoader (line 84) | public EcacheszkToxmlLoader(ZookeeperProcessListen zookeeperListen, Cu... method notiflyProcess (line 103) | @Override method zktoEhcacheWrite (line 129) | private void zktoEhcacheWrite(ZkDirectoryImpl zkDirectory) { method writeCacheservice (line 171) | private void writeCacheservice(String name, String value) { FILE: src/main/java/io/mycat/config/loader/zkprocess/zktoxml/listen/RuleDataPathChildrenCacheListener.java class RuleDataPathChildrenCacheListener (line 26) | public class RuleDataPathChildrenCacheListener implements PathChildrenCa... method childEvent (line 27) | @Override method reloadRuleData (line 49) | private void reloadRuleData(String name) { method add (line 64) | private void add(String name, byte[] data) throws IOException { method delete (line 74) | private void delete(String name, byte[] data) throws IOException { FILE: src/main/java/io/mycat/config/loader/zkprocess/zktoxml/listen/RuleFunctionCacheListener.java class RuleFunctionCacheListener (line 47) | public class RuleFunctionCacheListener implements PathChildrenCacheListe... method childEvent (line 49) | @Override public void childEvent(CuratorFramework client, PathChildren... method RuleFunctionCacheListener (line 64) | public RuleFunctionCacheListener() { method addOrUpdate (line 75) | private void addOrUpdate() method zktoRulesBean (line 130) | private Rules zktoRulesBean() throws Exception { method writeMapFileAddFunction (line 159) | private void writeMapFileAddFunction(List functionList) { method writeMapFile (line 213) | private void writeMapFile(String name, String value) { FILE: src/main/java/io/mycat/config/loader/zkprocess/zktoxml/listen/RuleszkToxmlLoader.java class RuleszkToxmlLoader (line 48) | public class RuleszkToxmlLoader extends ZkMultLoader implements NotiflyS... method RuleszkToxmlLoader (line 92) | public RuleszkToxmlLoader(ZookeeperProcessListen zookeeperListen, Cura... method notiflyProcess (line 111) | @Override method zktoRulesBean (line 155) | private Rules zktoRulesBean(DiretoryInf zkDirectory) { method writeMapFileAddFunction (line 189) | private void writeMapFileAddFunction(List functionList) { method writeMapFile (line 243) | private void writeMapFile(String name, String value) { FILE: src/main/java/io/mycat/config/loader/zkprocess/zktoxml/listen/SchemaszkToxmlLoader.java class SchemaszkToxmlLoader (line 42) | public class SchemaszkToxmlLoader extends ZkMultLoader implements Notifl... method SchemaszkToxmlLoader (line 92) | public SchemaszkToxmlLoader(ZookeeperProcessListen zookeeperListen, Cu... method notiflyProcess (line 111) | @Override method zktoSchemasBean (line 150) | private Schemas zktoSchemasBean(ZkDirectoryImpl zkDirectory) { FILE: src/main/java/io/mycat/config/loader/zkprocess/zktoxml/listen/SequenceTopropertiesLoader.java class SequenceTopropertiesLoader (line 38) | public class SequenceTopropertiesLoader extends ZkMultLoader implements ... method SequenceTopropertiesLoader (line 88) | public SequenceTopropertiesLoader(ZookeeperProcessListen zookeeperList... method notiflyProcess (line 105) | @Override method sequenceZkToProperties (line 152) | private void sequenceZkToProperties(String basePath, String name, Dire... method seqWriteOneZkToProperties (line 206) | private void seqWriteOneZkToProperties(String basePath, String name, D... method writeMapFile (line 267) | private void writeMapFile(String name, String value) { FILE: src/main/java/io/mycat/config/loader/zkprocess/zktoxml/listen/ServerzkToxmlLoader.java class ServerzkToxmlLoader (line 48) | public class ServerzkToxmlLoader extends ZkMultLoader implements Notifly... method ServerzkToxmlLoader (line 98) | public ServerzkToxmlLoader(ZookeeperProcessListen zookeeperListen, Cur... method notiflyProcess (line 117) | @Override method zktoServerBean (line 175) | private Server zktoServerBean(DiretoryInf zkDirectory) { method zktoServerBeanByCurrNode (line 203) | private Server zktoServerBeanByCurrNode(DiretoryInf zkDirectory) { method writeProperties (line 247) | private void writeProperties(String name, String value) { FILE: src/main/java/io/mycat/config/loader/zkprocess/zookeeper/ClusterInfo.java class ClusterInfo (line 6) | public class ClusterInfo { method getClusterSize (line 11) | public int getClusterSize() { method setClusterSize (line 15) | public void setClusterSize(int clusterSize) { method getClusterNodes (line 19) | public String getClusterNodes() { method setClusterNodes (line 23) | public void setClusterNodes(String clusterNodes) { FILE: src/main/java/io/mycat/config/loader/zkprocess/zookeeper/DataInf.java type DataInf (line 14) | public interface DataInf { method getDataInfo (line 20) | String getDataInfo(); method getDataValue (line 28) | String getDataValue(); FILE: src/main/java/io/mycat/config/loader/zkprocess/zookeeper/DiretoryInf.java type DiretoryInf (line 16) | public interface DiretoryInf { method getDiretoryInfo (line 22) | String getDiretoryInfo(); method add (line 28) | void add(DiretoryInf directory); method add (line 36) | void add(DataInf data); method getSubordinateInfo (line 42) | List getSubordinateInfo(); method getDataName (line 48) | String getDataName(); FILE: src/main/java/io/mycat/config/loader/zkprocess/zookeeper/process/ZkDataImpl.java class ZkDataImpl (line 16) | public class ZkDataImpl implements DataInf { method ZkDataImpl (line 30) | public ZkDataImpl(String name, String value) { method getDataInfo (line 36) | @Override method getName (line 41) | public String getName() { method setName (line 45) | public void setName(String name) { method getValue (line 49) | public String getValue() { method setValue (line 53) | public void setValue(String value) { method getDataValue (line 57) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/zookeeper/process/ZkDirectoryImpl.java class ZkDirectoryImpl (line 20) | public class ZkDirectoryImpl implements DiretoryInf { method ZkDirectoryImpl (line 40) | public ZkDirectoryImpl(String name, String value) { method getName (line 45) | public String getName() { method setName (line 49) | public void setName(String name) { method getValue (line 53) | public String getValue() { method setValue (line 57) | public void setValue(String value) { method getDiretoryInfo (line 61) | @Override method add (line 66) | @Override method getSubordinateInfo (line 71) | @Override method add (line 76) | @Override method getDataName (line 81) | @Override FILE: src/main/java/io/mycat/config/loader/zkprocess/zookeeper/process/ZkMultLoader.java class ZkMultLoader (line 31) | public class ZkMultLoader { method getTreeDirectory (line 59) | public void getTreeDirectory(String path, String name, DiretoryInf zkD... method checkPathExists (line 95) | protected boolean checkPathExists(String path) { method getDataToString (line 111) | protected String getDataToString(String path) throws Exception { method getChildNames (line 122) | protected List getChildNames(String path) throws Exception { method checkAndwriteString (line 126) | protected void checkAndwriteString(String parentPath, String currpath,... method createPath (line 154) | public boolean createPath(String path) { method writeZkString (line 171) | protected void writeZkString(String path, String value) throws Excepti... method byteToString (line 181) | protected String byteToString(byte[] raw) { method getZkData (line 197) | protected DataInf getZkData(DiretoryInf zkDirectory, String name) { method getZkDirectory (line 224) | protected DiretoryInf getZkDirectory(DiretoryInf zkDirectory, String n... method getCurator (line 243) | public CuratorFramework getCurator() { method setCurator (line 247) | public void setCurator(CuratorFramework curator) { method getGson (line 251) | public Gson getGson() { method setGson (line 255) | public void setGson(Gson gson) { FILE: src/main/java/io/mycat/config/model/ClusterConfig.java class ClusterConfig (line 46) | public class ClusterConfig { method ClusterConfig (line 50) | public ClusterConfig(Element root, int port) { method getNodes (line 55) | public Map getNodes() { method getGroups (line 59) | public Map> getGroups() { method loadNode (line 63) | private static Map loadNode(Element root, int... method loadGroup (line 102) | private static Map> loadGroup(Element root, Map getReadHosts() { method getHearbeatSQL (line 192) | public String getHearbeatSQL() { method setHearbeatSQL (line 196) | public void setHearbeatSQL(String heartbeatSQL) { method getFilters (line 210) | public String getFilters() { method setFilters (line 214) | public void setFilters(String filters) { method getLogTime (line 218) | public long getLogTime() { method isShowClusterSql (line 222) | public boolean isShowClusterSql() { method setLogTime (line 226) | public void setLogTime(long logTime) { method addDataNode (line 230) | public void addDataNode(String name){ method getRandomDataNode (line 234) | public String getRandomDataNode() { method containDataNode (line 239) | public boolean containDataNode(String randomDn) { method getMaxRetryCount (line 243) | public int getMaxRetryCount() { method setMaxRetryCount (line 247) | public void setMaxRetryCount(int maxRetryCount) { method getNotSwitch (line 251) | public String getNotSwitch() { method setNotSwitch (line 255) | public void setNotSwitch(String notSwitch) { method isJDBCDriver (line 259) | public boolean isJDBCDriver() { method isNativeDriver (line 263) | public boolean isNativeDriver() { FILE: src/main/java/io/mycat/config/model/DataNodeConfig.java class DataNodeConfig (line 31) | public final class DataNodeConfig { method DataNodeConfig (line 37) | public DataNodeConfig(String name, String database, String dataHost) { method getName (line 44) | public String getName() { method getDatabase (line 48) | public String getDatabase() { method getDataHost (line 52) | public String getDataHost() { FILE: src/main/java/io/mycat/config/model/FirewallConfig.java class FirewallConfig (line 63) | public final class FirewallConfig { method getMaskPattern (line 69) | public static Pattern getMaskPattern(String host){ method getHost (line 72) | public static String getHost(Pattern maskPattern){ method FirewallConfig (line 82) | public FirewallConfig() { } method init (line 84) | public void init(){ method getWhitehostMask (line 91) | public Map> getWhitehostMask() { method setWhitehostMask (line 95) | public void setWhitehostMask(Map> whitehostM... method getWallProvider (line 99) | public WallProvider getWallProvider(){ method getWhitehost (line 103) | public Map> getWhitehost() { method setWhitehost (line 106) | public void setWhitehost(Map> whitehost) { method addWhitehost (line 117) | public boolean addWhitehost(String host, List Users) { method getBlacklist (line 132) | public List getBlacklist() { method setBlacklist (line 135) | public void setBlacklist(List blacklist) { method getProvider (line 139) | public WallProvider getProvider() { method existsHost (line 143) | public boolean existsHost(String host) { method canConnect (line 146) | public boolean canConnect(String host,String user) { method setProvider (line 165) | public static void setProvider(WallProvider provider) { method setWallConfig (line 169) | public void setWallConfig(WallConfig wallConfig) { method isCheck (line 174) | public boolean isCheck() { method setCheck (line 178) | public void setCheck(boolean check) { method getWallConfig (line 182) | public WallConfig getWallConfig() { method updateToFile (line 186) | public synchronized static void updateToFile(String host, List tables2) { method isNeedSupportMultiDBType (line 128) | public boolean isNeedSupportMultiDBType() method setNeedSupportMultiDBType (line 133) | public void setNeedSupportMultiDBType(boolean needSupportMultiDBType) method getJoinRel2TableMap (line 138) | public Map getJoinRel2TableMap() { method getName (line 142) | public String getName() { method getDataNode (line 146) | public String getDataNode() { method getTables (line 150) | public Map getTables() { method isNoSharding (line 154) | public boolean isNoSharding() { method getMetaDataNodes (line 158) | public Set getMetaDataNodes() { method getAllDataNodes (line 162) | public Set getAllDataNodes() { method getDataNodeDbTypeMap (line 166) | public Map getDataNodeDbTypeMap() method setDataNodeDbTypeMap (line 171) | public void setDataNodeDbTypeMap(Map dataNodeDbTypeMap) method getRandomDataNode (line 176) | public String getRandomDataNode() { method buildMetaDataNodes (line 190) | private Set buildMetaDataNodes() { method buildAllDataNodes (line 207) | private Set buildAllDataNodes() { method isEmpty (line 220) | private static boolean isEmpty(String str) { FILE: src/main/java/io/mycat/config/model/SystemConfig.java class SystemConfig (line 36) | public final class SystemConfig { method getDefaultSqlParser (line 272) | public String getDefaultSqlParser() { method setDefaultSqlParser (line 276) | public void setDefaultSqlParser(String defaultSqlParser) { method SystemConfig (line 280) | public SystemConfig() { method setMaxPreparedStmtCount (line 332) | public void setMaxPreparedStmtCount(int maxPreparedStmtCount){ method getMaxPreparedStmtCount (line 336) | public int getMaxPreparedStmtCount(){ method getDataNodeSortedTempDir (line 340) | public String getDataNodeSortedTempDir() { method getUseOffHeapForMerge (line 344) | public int getUseOffHeapForMerge() { method setUseOffHeapForMerge (line 348) | public void setUseOffHeapForMerge(int useOffHeapForMerge) { method getMemoryPageSize (line 352) | public String getMemoryPageSize() { method setMemoryPageSize (line 356) | public void setMemoryPageSize(String memoryPageSize) { method getSpillsFileBufferSize (line 360) | public String getSpillsFileBufferSize() { method setSpillsFileBufferSize (line 364) | public void setSpillsFileBufferSize(String spillsFileBufferSize) { method getUseStreamOutput (line 368) | public int getUseStreamOutput() { method setUseStreamOutput (line 372) | public void setUseStreamOutput(int useStreamOutput) { method getSystemReserveMemorySize (line 376) | public String getSystemReserveMemorySize() { method setSystemReserveMemorySize (line 380) | public void setSystemReserveMemorySize(String systemReserveMemorySize) { method isUseZKSwitch (line 384) | public boolean isUseZKSwitch() { method setUseZKSwitch (line 388) | public void setUseZKSwitch(boolean useZKSwitch) { method getXARecoveryLogBaseDir (line 392) | public String getXARecoveryLogBaseDir() { method setXARecoveryLogBaseDir (line 396) | public void setXARecoveryLogBaseDir(String XARecoveryLogBaseDir) { method getXARecoveryLogBaseName (line 400) | public String getXARecoveryLogBaseName() { method setXARecoveryLogBaseName (line 404) | public void setXARecoveryLogBaseName(String XARecoveryLogBaseName) { method getUseGlobleTableCheck (line 408) | public int getUseGlobleTableCheck() { method setUseGlobleTableCheck (line 412) | public void setUseGlobleTableCheck(int useGlobleTableCheck) { method getGlableTableCheckPeriod (line 416) | public long getGlableTableCheckPeriod() { method setGlableTableCheckPeriod (line 420) | public void setGlableTableCheckPeriod(long glableTableCheckPeriod) { method getSqlInterceptor (line 424) | public String getSqlInterceptor() { method setSqlInterceptor (line 428) | public void setSqlInterceptor(String sqlInterceptor) { method getSequenceHandlerType (line 432) | public int getSequenceHandlerType() { method setSequenceHandlerType (line 436) | public void setSequenceHandlerType(int sequenceHandlerType) { method getPacketHeaderSize (line 440) | public int getPacketHeaderSize() { method setPacketHeaderSize (line 444) | public void setPacketHeaderSize(int packetHeaderSize) { method getMaxPacketSize (line 448) | public int getMaxPacketSize() { method getCatletClassCheckSeconds (line 452) | public int getCatletClassCheckSeconds() { method setCatletClassCheckSeconds (line 456) | public void setCatletClassCheckSeconds(int catletClassCheckSeconds) { method setMaxPacketSize (line 460) | public void setMaxPacketSize(int maxPacketSize) { method getFrontWriteQueueSize (line 464) | public int getFrontWriteQueueSize() { method setFrontWriteQueueSize (line 468) | public void setFrontWriteQueueSize(int frontWriteQueueSize) { method getBindIp (line 472) | public String getBindIp() { method setBindIp (line 476) | public void setBindIp(String bindIp) { method getDefaultMaxLimit (line 480) | public int getDefaultMaxLimit() { method setDefaultMaxLimit (line 484) | public void setDefaultMaxLimit(int defaultMaxLimit) { method getHomePath (line 488) | public static String getHomePath() { method getUseSqlStat (line 523) | public int getUseSqlStat() method setUseSqlStat (line 528) | public void setUseSqlStat(int useSqlStat) method getUseCompression (line 533) | public int getUseCompression() method setUseCompression (line 538) | public void setUseCompression(int useCompression) method getCharset (line 543) | public String getCharset() { method setCharset (line 547) | public void setCharset(String charset) { method getFakeMySQLVersion (line 551) | public String getFakeMySQLVersion() { method setFakeMySQLVersion (line 555) | public void setFakeMySQLVersion(String mysqlVersion) { method getServerPort (line 559) | public int getServerPort() { method setServerPort (line 563) | public void setServerPort(int serverPort) { method getManagerPort (line 567) | public int getManagerPort() { method setManagerPort (line 571) | public void setManagerPort(int managerPort) { method getProcessors (line 575) | public int getProcessors() { method setProcessors (line 579) | public void setProcessors(int processors) { method getProcessorExecutor (line 583) | public int getProcessorExecutor() { method setProcessorExecutor (line 587) | public void setProcessorExecutor(int processorExecutor) { method getManagerExecutor (line 591) | public int getManagerExecutor() { method setManagerExecutor (line 595) | public void setManagerExecutor(int managerExecutor) { method getTimerExecutor (line 599) | public int getTimerExecutor() { method setTimerExecutor (line 603) | public void setTimerExecutor(int timerExecutor) { method getServerBacklog (line 607) | public int getServerBacklog() { method setServerBacklog (line 611) | public void setServerBacklog(int serverBacklog) { method getIdleTimeout (line 615) | public long getIdleTimeout() { method setIdleTimeout (line 619) | public void setIdleTimeout(long idleTimeout) { method getAuthTimeout (line 623) | public long getAuthTimeout() { method setAuthTimeout (line 627) | public void setAuthTimeout(long authTimeout) { method getProcessorCheckPeriod (line 631) | public long getProcessorCheckPeriod() { method setProcessorCheckPeriod (line 635) | public void setProcessorCheckPeriod(long processorCheckPeriod) { method getDataNodeIdleCheckPeriod (line 639) | public long getDataNodeIdleCheckPeriod() { method setDataNodeIdleCheckPeriod (line 643) | public void setDataNodeIdleCheckPeriod(long dataNodeIdleCheckPeriod) { method getDataNodeHeartbeatPeriod (line 647) | public long getDataNodeHeartbeatPeriod() { method setDataNodeHeartbeatPeriod (line 651) | public void setDataNodeHeartbeatPeriod(long dataNodeHeartbeatPeriod) { method getClusterHeartbeatUser (line 655) | public String getClusterHeartbeatUser() { method setClusterHeartbeatUser (line 659) | public void setClusterHeartbeatUser(String clusterHeartbeatUser) { method getSqlExecuteTimeout (line 663) | public long getSqlExecuteTimeout() { method setSqlExecuteTimeout (line 667) | public void setSqlExecuteTimeout(long sqlExecuteTimeout) { method getClusterHeartbeatPass (line 671) | public String getClusterHeartbeatPass() { method setClusterHeartbeatPass (line 675) | public void setClusterHeartbeatPass(String clusterHeartbeatPass) { method getClusterHeartbeatPeriod (line 679) | public long getClusterHeartbeatPeriod() { method setClusterHeartbeatPeriod (line 683) | public void setClusterHeartbeatPeriod(long clusterHeartbeatPeriod) { method getClusterHeartbeatTimeout (line 687) | public long getClusterHeartbeatTimeout() { method setClusterHeartbeatTimeout (line 691) | public void setClusterHeartbeatTimeout(long clusterHeartbeatTimeout) { method getFrontsocketsorcvbuf (line 695) | public int getFrontsocketsorcvbuf() { method getFrontsocketsosndbuf (line 699) | public int getFrontsocketsosndbuf() { method getBacksocketsorcvbuf (line 703) | public int getBacksocketsorcvbuf() { method getBacksocketsosndbuf (line 707) | public int getBacksocketsosndbuf() { method getClusterHeartbeatRetry (line 711) | public int getClusterHeartbeatRetry() { method setClusterHeartbeatRetry (line 715) | public void setClusterHeartbeatRetry(int clusterHeartbeatRetry) { method getTxIsolation (line 719) | public int getTxIsolation() { method setTxIsolation (line 723) | public void setTxIsolation(int txIsolation) { method getParserCommentVersion (line 727) | public int getParserCommentVersion() { method setParserCommentVersion (line 731) | public void setParserCommentVersion(int parserCommentVersion) { method getSqlRecordCount (line 735) | public int getSqlRecordCount() { method setSqlRecordCount (line 739) | public void setSqlRecordCount(int sqlRecordCount) { method getBufferPoolChunkSize (line 744) | public short getBufferPoolChunkSize() { method setBufferPoolChunkSize (line 748) | public void setBufferPoolChunkSize(short bufferPoolChunkSize) { method getMaxResultSet (line 752) | public int getMaxResultSet() { method setMaxResultSet (line 756) | public void setMaxResultSet(int maxResultSet) { method getBigResultSizeSqlCount (line 760) | public int getBigResultSizeSqlCount() { method setBigResultSizeSqlCount (line 764) | public void setBigResultSizeSqlCount(int bigResultSizeSqlCount) { method getBufferUsagePercent (line 768) | public int getBufferUsagePercent() { method setBufferUsagePercent (line 772) | public void setBufferUsagePercent(int bufferUsagePercent) { method getFlowControlRejectStrategy (line 776) | public int getFlowControlRejectStrategy() { method setFlowControlRejectStrategy (line 780) | public void setFlowControlRejectStrategy(int flowControlRejectStrategy) { method getClearBigSqLResultSetMapMs (line 784) | public long getClearBigSqLResultSetMapMs() { method setClearBigSqLResultSetMapMs (line 788) | public void setClearBigSqLResultSetMapMs(long clearBigSqLResultSetMapM... method getBufferPoolPageSize (line 792) | public int getBufferPoolPageSize() { method setBufferPoolPageSize (line 796) | public void setBufferPoolPageSize(int bufferPoolPageSize) { method getBufferPoolPageNumber (line 800) | public short getBufferPoolPageNumber() { method setBufferPoolPageNumber (line 804) | public void setBufferPoolPageNumber(short bufferPoolPageNumber) { method getFrontSocketSoRcvbuf (line 808) | public int getFrontSocketSoRcvbuf() { method setFrontSocketSoRcvbuf (line 812) | public void setFrontSocketSoRcvbuf(int frontSocketSoRcvbuf) { method getFrontSocketSoSndbuf (line 816) | public int getFrontSocketSoSndbuf() { method setFrontSocketSoSndbuf (line 820) | public void setFrontSocketSoSndbuf(int frontSocketSoSndbuf) { method getBackSocketSoRcvbuf (line 824) | public int getBackSocketSoRcvbuf() { method setBackSocketSoRcvbuf (line 828) | public void setBackSocketSoRcvbuf(int backSocketSoRcvbuf) { method getBackSocketSoSndbuf (line 832) | public int getBackSocketSoSndbuf() { method setBackSocketSoSndbuf (line 836) | public void setBackSocketSoSndbuf(int backSocketSoSndbuf) { method getFrontSocketNoDelay (line 840) | public int getFrontSocketNoDelay() { method setFrontSocketNoDelay (line 844) | public void setFrontSocketNoDelay(int frontSocketNoDelay) { method getBackSocketNoDelay (line 848) | public int getBackSocketNoDelay() { method setBackSocketNoDelay (line 852) | public void setBackSocketNoDelay(int backSocketNoDelay) { method getMaxStringLiteralLength (line 856) | public int getMaxStringLiteralLength() { method setMaxStringLiteralLength (line 860) | public void setMaxStringLiteralLength(int maxStringLiteralLength) { method getMutiNodeLimitType (line 864) | public int getMutiNodeLimitType() { method setMutiNodeLimitType (line 868) | public void setMutiNodeLimitType(int mutiNodeLimitType) { method getMutiNodePatchSize (line 872) | public int getMutiNodePatchSize() { method setMutiNodePatchSize (line 876) | public void setMutiNodePatchSize(int mutiNodePatchSize) { method getProcessorBufferLocalPercent (line 880) | public int getProcessorBufferLocalPercent() { method setProcessorBufferLocalPercent (line 884) | public void setProcessorBufferLocalPercent(int processorBufferLocalPer... method getSqlInterceptorType (line 888) | public String getSqlInterceptorType() { method setSqlInterceptorType (line 892) | public void setSqlInterceptorType(String sqlInterceptorType) { method getSqlInterceptorFile (line 896) | public String getSqlInterceptorFile() { method setSqlInterceptorFile (line 900) | public void setSqlInterceptorFile(String sqlInterceptorFile) { method getUsingAIO (line 904) | public int getUsingAIO() { method setUsingAIO (line 908) | public void setUsingAIO(int usingAIO) { method getMycatNodeId (line 912) | public int getMycatNodeId() { method setMycatNodeId (line 916) | public void setMycatNodeId(int mycatNodeId) { method toString (line 920) | @Override method getCheckTableConsistency (line 979) | public int getCheckTableConsistency() { method setCheckTableConsistency (line 983) | public void setCheckTableConsistency(int checkTableConsistency) { method getCheckTableConsistencyPeriod (line 987) | public long getCheckTableConsistencyPeriod() { method setCheckTableConsistencyPeriod (line 991) | public void setCheckTableConsistencyPeriod(long checkTableConsistencyP... method getProcessorBufferPoolType (line 995) | public int getProcessorBufferPoolType() { method setProcessorBufferPoolType (line 999) | public void setProcessorBufferPoolType(int processorBufferPoolType) { method getHandleDistributedTransactions (line 1003) | public int getHandleDistributedTransactions() { method setHandleDistributedTransactions (line 1007) | public void setHandleDistributedTransactions(int handleDistributedTran... method getUseHandshakeV10 (line 1011) | public int getUseHandshakeV10() { method setUseHandshakeV10 (line 1015) | public void setUseHandshakeV10(int useHandshakeV10) { method getNonePasswordLogin (line 1019) | public int getNonePasswordLogin() { method setNonePasswordLogin (line 1023) | public void setNonePasswordLogin(int nonePasswordLogin) { method isSubqueryRelationshipCheck (line 1027) | public boolean isSubqueryRelationshipCheck() { method setSubqueryRelationshipCheck (line 1031) | public void setSubqueryRelationshipCheck(boolean subqueryRelationshipC... method isStrictTxIsolation (line 1035) | public boolean isStrictTxIsolation() { method setStrictTxIsolation (line 1039) | public void setStrictTxIsolation(boolean strictTxIsolation) { method getSequnceMySqlRetryCount (line 1043) | public int getSequnceMySqlRetryCount() { method setSequnceMySqlRetryCount (line 1047) | public void setSequnceMySqlRetryCount(int sequnceMySqlRetryCount) { method getSequnceMySqlWaitTime (line 1051) | public long getSequnceMySqlWaitTime() { method setSequnceMySqlWaitTime (line 1055) | public void setSequnceMySqlWaitTime(long sequnceMySqlWaitTime) { method getSequnceHandlerPattern (line 1059) | public String getSequnceHandlerPattern() { method setSequnceHandlerPattern (line 1062) | public void setSequnceHandlerPattern(String sequnceHandlerPattern) { method getSequenceHanlderClass (line 1066) | public String getSequenceHanlderClass() { method setSequenceHanlderClass (line 1069) | public void setSequenceHanlderClass(String value) { method getIgnoreUnknownCommand (line 1073) | public int getIgnoreUnknownCommand() { method setIgnoreUnknownCommand (line 1077) | public void setIgnoreUnknownCommand(int ignoreUnknownCommand) { method getParallExecute (line 1081) | public int getParallExecute() { method setParallExecute (line 1085) | public void setParallExecute(int parallExecute) { method getRemoveGraveAccent (line 1089) | public int getRemoveGraveAccent() { method setRemoveGraveAccent (line 1092) | public void setRemoveGraveAccent(int removeGraveAccent) { method isEnableWriteQueueFlowControl (line 1096) | public boolean isEnableWriteQueueFlowControl() { method setEnableWriteQueueFlowControl (line 1100) | public void setEnableWriteQueueFlowControl(boolean enableWriteQueueFlo... method getWriteQueueStopThreshold (line 1104) | public int getWriteQueueStopThreshold() { method setWriteQueueStopThreshold (line 1108) | public void setWriteQueueStopThreshold(int writeQueueStopThreshold) { method getWriteQueueRecoverThreshold (line 1112) | public int getWriteQueueRecoverThreshold() { method setWriteQueueRecoverThreshold (line 1116) | public void setWriteQueueRecoverThreshold(int writeQueueRecoverThresho... FILE: src/main/java/io/mycat/config/model/TableConfig.java class TableConfig (line 37) | public class TableConfig { method TableConfig (line 66) | public TableConfig(String tableName, String primaryKey, boolean autoIn... method getPrimaryKey (line 125) | public String getPrimaryKey() { method getDbTypes (line 129) | public Set getDbTypes() { method isAutoIncrement (line 133) | public boolean isAutoIncrement() { method isNeedAddLimit (line 137) | public boolean isNeedAddLimit() { method isSecondLevel (line 141) | public boolean isSecondLevel() { method getLocateRTableKeySql (line 145) | public String getLocateRTableKeySql() { method isGlobalTable (line 149) | public boolean isGlobalTable() { method genLocateRootParentSQL (line 153) | public String genLocateRootParentSQL() { method getPartitionColumn (line 197) | public String getPartitionColumn() { method getTableType (line 201) | public int getTableType() { method getRootParent (line 210) | public TableConfig getRootParent() { method getParentTC (line 224) | public TableConfig getParentTC() { method isChildTable (line 228) | public boolean isChildTable() { method getJoinKey (line 232) | public String getJoinKey() { method getParentKey (line 236) | public String getParentKey() { method getName (line 243) | public String getName() { method getDataNodes (line 247) | public ArrayList getDataNodes() { method getRandomDataNode (line 251) | public String getRandomDataNode() { method isRuleRequired (line 256) | public boolean isRuleRequired() { method getRule (line 260) | public RuleConfig getRule() { method primaryKeyIsPartionKey (line 264) | public boolean primaryKeyIsPartionKey() { method getDistTables (line 268) | public ArrayList getDistTables() { method isDistTable (line 272) | public boolean isDistTable() { method getTableElementList (line 279) | public List getTableElementList() { method setTableElementList (line 283) | public void setTableElementList(List tableElementList) { method getReentrantReadWriteLock (line 287) | public ReentrantReadWriteLock getReentrantReadWriteLock() { method setReentrantReadWriteLock (line 291) | public void setReentrantReadWriteLock(ReentrantReadWriteLock reentrant... method getTableStructureSQL (line 295) | public String getTableStructureSQL() { method setTableStructureSQL (line 299) | public void setTableStructureSQL(String tableStructureSQL) { method getDataNodeTableStructureSQLMap (line 303) | public Map> getDataNodeTableStructureSQLMap() { method setDataNodeTableStructureSQLMap (line 307) | public void setDataNodeTableStructureSQLMap(Map> ... method getFetchStoreNodeByJdbc (line 311) | public boolean getFetchStoreNodeByJdbc() { FILE: src/main/java/io/mycat/config/model/TableConfigMap.java class TableConfigMap (line 10) | public class TableConfigMap extends HashMap { method get (line 14) | @Override method containsKey (line 25) | @Override FILE: src/main/java/io/mycat/config/model/TableRuleConfig.java class TableRuleConfig (line 31) | public final class TableRuleConfig { method TableRuleConfig (line 36) | public TableRuleConfig(String name, RuleConfig[] rules) { method getName (line 46) | public String getName() { method getRules (line 50) | public RuleConfig[] getRules() { class RuleConfig (line 54) | public static final class RuleConfig { method RuleConfig (line 60) | public RuleConfig(String[] columns, Expression algorithm) { method getColumns (line 65) | public String[] getColumns() { method getAlgorithm (line 69) | public Expression getAlgorithm() { method toString (line 73) | @Override FILE: src/main/java/io/mycat/config/model/UserConfig.java class UserConfig (line 31) | public class UserConfig { method isReadOnly (line 45) | public boolean isReadOnly() { method setReadOnly (line 49) | public void setReadOnly(boolean readOnly) { method getName (line 55) | public String getName() { method setName (line 59) | public void setName(String name) { method getPassword (line 63) | public String getPassword() { method setPassword (line 67) | public void setPassword(String password) { method getBenchmark (line 71) | public int getBenchmark() { method setBenchmark (line 75) | public void setBenchmark(int benchmark) { method getSchemas (line 79) | public Set getSchemas() { method getEncryptPassword (line 83) | public String getEncryptPassword() { method setEncryptPassword (line 87) | public void setEncryptPassword(String encryptPassword) { method setSchemas (line 91) | public void setSchemas(Set schemas) { method getPrivilegesConfig (line 95) | public UserPrivilegesConfig getPrivilegesConfig() { method setPrivilegesConfig (line 99) | public void setPrivilegesConfig(UserPrivilegesConfig privilegesConfig) { method isDefaultAccount (line 104) | public boolean isDefaultAccount() { method setDefaultAccount (line 108) | public void setDefaultAccount(boolean defaultAccount) { method getDefaultSchema (line 112) | public String getDefaultSchema() { method setDefaultSchema (line 116) | public void setDefaultSchema(String defaultSchema) { method toString (line 120) | @Override FILE: src/main/java/io/mycat/config/model/UserPrivilegesConfig.java class UserPrivilegesConfig (line 13) | public class UserPrivilegesConfig { method isCheck (line 23) | public boolean isCheck() { method setCheck (line 27) | public void setCheck(boolean check) { method addSchemaPrivilege (line 31) | public void addSchemaPrivilege(String schemaName, SchemaPrivilege priv... method getSchemaPrivilege (line 35) | public SchemaPrivilege getSchemaPrivilege(String schemaName) { method addDataNodePrivileges (line 39) | public void addDataNodePrivileges(String dataNodeName, DataNodePrivile... method getDataNodePrivilege (line 43) | public DataNodePrivilege getDataNodePrivilege(String dataNodeName) { class SchemaPrivilege (line 50) | public static class SchemaPrivilege { method getName (line 57) | public String getName() { method setName (line 61) | public void setName(String name) { method getDml (line 65) | public int[] getDml() { method setDml (line 69) | public void setDml(int[] dml) { method addTablePrivilege (line 73) | public void addTablePrivilege(String tableName, TablePrivilege privi... method getTablePrivilege (line 77) | public TablePrivilege getTablePrivilege(String tableName) { class TablePrivilege (line 91) | public static class TablePrivilege { method getName (line 96) | public String getName() { method setName (line 100) | public void setName(String name) { method getDml (line 104) | public int[] getDml() { method setDml (line 108) | public void setDml(int[] dml) { class DataNodePrivilege (line 117) | public static class DataNodePrivilege { method getName (line 122) | public String getName() { method setName (line 126) | public void setName(String name) { method getDml (line 130) | public int[] getDml() { method setDml (line 134) | public void setDml(int[] dml) { FILE: src/main/java/io/mycat/config/model/rule/RuleAlgorithm.java type RuleAlgorithm (line 29) | public interface RuleAlgorithm { method init (line 36) | void init(); method calculate (line 44) | Integer calculate(String columnValue) ; method calculateRange (line 46) | Integer[] calculateRange(String beginValue,String endValue) ; FILE: src/main/java/io/mycat/config/model/rule/RuleConfig.java class RuleConfig (line 34) | public class RuleConfig implements Serializable { method RuleConfig (line 39) | public RuleConfig(String column, String functionName) { method getRuleAlgorithm (line 52) | public AbstractPartitionAlgorithm getRuleAlgorithm() { method setRuleAlgorithm (line 58) | public void setRuleAlgorithm(AbstractPartitionAlgorithm ruleAlgorithm) { method getColumn (line 67) | public String getColumn() { method getFunctionName (line 71) | public String getFunctionName() { method hashCode (line 77) | @Override method equals (line 89) | @Override FILE: src/main/java/io/mycat/config/model/rule/TableRuleConfig.java class TableRuleConfig (line 31) | public class TableRuleConfig implements Serializable { method TableRuleConfig (line 35) | public TableRuleConfig(String name, RuleConfig rule) { method getName (line 46) | public String getName() { method setName (line 50) | public void setName(String name) { method getRule (line 57) | public RuleConfig getRule() { FILE: src/main/java/io/mycat/config/table/structure/MySQLTableStructureDetector.java class MySQLTableStructureDetector (line 27) | public class MySQLTableStructureDetector implements Runnable { method run (line 34) | @Override class MySQLTableStructureListener (line 56) | private static class MySQLTableStructureListener implements SQLQueryRe... method MySQLTableStructureListener (line 60) | public MySQLTableStructureListener(String dataNode, TableConfig tabl... method onResult (line 69) | @Override FILE: src/main/java/io/mycat/config/table/structure/TableStructureProcessor.java class TableStructureProcessor (line 10) | public abstract class TableStructureProcessor { method saveTableStructure (line 11) | public abstract void saveTableStructure(); method loadTableStructure (line 12) | public abstract void loadTableStructure(); FILE: src/main/java/io/mycat/config/util/BeanConfig.java class BeanConfig (line 35) | public class BeanConfig implements Cloneable { method getName (line 42) | public String getName() { method setName (line 46) | public void setName(String name) { method getClassName (line 50) | public String getClassName() { method setClassName (line 54) | public void setClassName(String beanObject) { method getParams (line 58) | public Map getParams() { method setParams (line 62) | public void setParams(Map params) { method create (line 66) | public Object create(boolean initEarly) throws IllegalAccessException,... method clone (line 80) | @Override method hashCode (line 105) | @Override method equals (line 114) | @Override method equals (line 126) | private static boolean equals(String str1, String str2) { FILE: src/main/java/io/mycat/config/util/ConfigException.java class ConfigException (line 29) | public class ConfigException extends RuntimeException { method ConfigException (line 32) | public ConfigException() { method ConfigException (line 36) | public ConfigException(String message, Throwable cause) { method ConfigException (line 40) | public ConfigException(String message) { method ConfigException (line 44) | public ConfigException(Throwable cause) { FILE: src/main/java/io/mycat/config/util/ConfigUtil.java class ConfigUtil (line 53) | public class ConfigUtil { method filter (line 55) | public static String filter(String text) { method filter (line 59) | public static String filter(String text, Properties properties) { method getDocument (line 88) | public static Document getDocument(final InputStream dtd, InputStream ... method loadAttributes (line 118) | public static Map loadAttributes(Element e) { method loadElement (line 131) | public static Element loadElement(Element parent, String tagName) { method loadElements (line 148) | public static Map loadElements(Element parent) { method loadBean (line 172) | public static BeanConfig loadBean(Element parent, String tagName) { method loadBean (line 180) | public static BeanConfig loadBean(Element e) { FILE: src/main/java/io/mycat/config/util/DnPropertyUtil.java class DnPropertyUtil (line 17) | public class DnPropertyUtil { method loadDnIndexProps (line 25) | public static Properties loadDnIndexProps() { FILE: src/main/java/io/mycat/config/util/FieldDictionary.java class FieldDictionary (line 35) | public class FieldDictionary { method serializableFieldsFor (line 49) | public Iterator serializableFieldsFor(Class cls) { method field (line 69) | public Field field(Class cls, String name, Class definedIn) { method buildMap (line 79) | private Map buildMap(Class cls, boolean tupleKeyed) { class FieldKey (line 117) | private static class FieldKey { method FieldKey (line 124) | public FieldKey(String fieldName, Class declaringClass, int order) { method equals (line 138) | @Override method hashCode (line 161) | @Override method toString (line 169) | @Override FILE: src/main/java/io/mycat/config/util/Initializable.java type Initializable (line 29) | public interface Initializable { method init (line 31) | void init(); FILE: src/main/java/io/mycat/config/util/JVMInfo.java class JVMInfo (line 34) | public class JVMInfo { method getMajorJavaVersion (line 61) | public static final float getMajorJavaVersion(String javaVersion) { method is14 (line 70) | public static boolean is14() { method is15 (line 74) | public static boolean is15() { method is16 (line 78) | public static boolean is16() { method isSun (line 82) | private static boolean isSun() { method isApple (line 86) | private static boolean isApple() { method isHPUX (line 90) | private static boolean isHPUX() { method isIBM (line 94) | private static boolean isIBM() { method isBlackdown (line 98) | private static boolean isBlackdown() { method isBEAWithUnsafeSupport (line 107) | private static boolean isBEAWithUnsafeSupport() { method loadClass (line 140) | public Class loadClass(String name) { method getReflectionProvider (line 153) | public synchronized ReflectionProvider getReflectionProvider() { method canUseSun14ReflectionProvider (line 160) | protected boolean canUseSun14ReflectionProvider() { method reverseFieldDefinition (line 165) | public static boolean reverseFieldDefinition() { method main (line 169) | public static void main(String[] args) { FILE: src/main/java/io/mycat/config/util/ObjectAccessException.java class ObjectAccessException (line 29) | public class ObjectAccessException extends RuntimeException { method ObjectAccessException (line 32) | public ObjectAccessException(String message) { method ObjectAccessException (line 36) | public ObjectAccessException(String message, Throwable cause) { FILE: src/main/java/io/mycat/config/util/OrderRetainingMap.java class OrderRetainingMap (line 37) | public class OrderRetainingMap extends HashMap { method put (line 43) | @Override method values (line 50) | @Override method keySet (line 55) | @Override method entrySet (line 60) | @Override class ArraySet (line 68) | private static class ArraySet extends ArrayList implements Set { FILE: src/main/java/io/mycat/config/util/ParameterMapping.java class ParameterMapping (line 45) | public class ParameterMapping { method mapping (line 57) | public static void mapping(Object object, Map clazz) { method convert (line 150) | private static Object convert(Class cls, String string) { method isPrimitiveType (line 191) | private static boolean isPrimitiveType(Class cls) { FILE: src/main/java/io/mycat/config/util/ReflectionProvider.java class ReflectionProvider (line 47) | public class ReflectionProvider { method newInstance (line 53) | public Object newInstance(Class type) { method visitSerializableFields (line 86) | public void visitSerializableFields(Object object, Visitor visitor) { method writeField (line 104) | public void writeField(Object object, String fieldName, Object value, ... method invokeMethod (line 116) | public void invokeMethod(Object object, String methodName, Object valu... method getFieldType (line 125) | public Class getFieldType(Object object, String fieldName, Class... method fieldDefinedInClass (line 129) | public boolean fieldDefinedInClass(String fieldName, Class type) { method getField (line 138) | public Field getField(Class definedIn, String fieldName) { method instantiateUsingSerialization (line 142) | private Object instantiateUsingSerialization(Class type) { method fieldModifiersSupported (line 173) | private boolean fieldModifiersSupported(Field field) { method validateFieldAccess (line 177) | private void validateFieldAccess(Field field) { method readResolve (line 188) | private Object readResolve() { FILE: src/main/java/io/mycat/config/util/Visitor.java type Visitor (line 29) | public interface Visitor { method visit (line 31) | void visit(String name, Class type, Class definedIn, Object value); FILE: src/main/java/io/mycat/manager/ManagerConnection.java class ManagerConnection (line 36) | public class ManagerConnection extends FrontendConnection { method ManagerConnection (line 39) | public ManagerConnection(NetworkChannel channel) throws IOException { method isIdleTimeout (line 43) | @Override method getAuthTimeout (line 52) | public long getAuthTimeout() { method setAuthTimeout (line 56) | public void setAuthTimeout(long authTimeout) { method handle (line 60) | @Override method checkQueueFlow (line 66) | @Override FILE: src/main/java/io/mycat/manager/ManagerConnectionFactory.java class ManagerConnectionFactory (line 38) | public class ManagerConnectionFactory extends FrontendConnectionFactory { method getConnection (line 40) | @Override FILE: src/main/java/io/mycat/manager/ManagerQueryHandler.java class ManagerQueryHandler (line 40) | public class ManagerQueryHandler implements FrontendQueryHandler { method ManagerQueryHandler (line 46) | public ManagerQueryHandler(ManagerConnection source) { method setReadOnly (line 50) | public void setReadOnly(Boolean readOnly) { method query (line 54) | @Override FILE: src/main/java/io/mycat/manager/handler/ClearHandler.java class ClearHandler (line 35) | public class ClearHandler { method handle (line 37) | public static void handle(String stmt, ManagerConnection c, int offset) { FILE: src/main/java/io/mycat/manager/handler/ConfFileHandler.java class ConfFileHandler (line 62) | public final class ConfFileHandler { method handle (line 82) | public static void handle( String stmt,ManagerConnection c) { method checkXMLFile (line 132) | private static void checkXMLFile(String xmlFileName, byte[] data) method readFileByBytes (line 162) | private static byte[] readFileByBytes(File fileName) { method upLoadConfigFile (line 187) | private static PackageBufINf upLoadConfigFile(ManagerConnection c, method showInfo (line 250) | private static PackageBufINf showInfo(ManagerConnection c, method showConfigFile (line 262) | private static PackageBufINf showConfigFile(ManagerConnection c, method listConfigFiles (line 305) | private static PackageBufINf listConfigFiles(ManagerConnection c, method main (line 341) | public static void main(String[] args) { FILE: src/main/java/io/mycat/manager/handler/ReloadHandler.java class ReloadHandler (line 40) | public final class ReloadHandler method handle (line 43) | public static void handle(String stmt, ManagerConnection c, int offset) FILE: src/main/java/io/mycat/manager/handler/RollbackHandler.java class RollbackHandler (line 35) | public final class RollbackHandler { method handle (line 37) | public static void handle(String stmt, ManagerConnection c, int offset) { FILE: src/main/java/io/mycat/manager/handler/SelectHandler.java class SelectHandler (line 40) | public final class SelectHandler { method handle (line 42) | public static void handle(String stmt, ManagerConnection c, int offset) { FILE: src/main/java/io/mycat/manager/handler/ShowHandler.java class ShowHandler (line 75) | public final class ShowHandler { method handle (line 77) | public static void handle(String stmt, ManagerConnection c, int offset) { FILE: src/main/java/io/mycat/manager/handler/ShowServerLog.java class ShowServerLog (line 52) | public final class ShowServerLog { method getLogFile (line 72) | private static File getLogFile(String logFile) { method handle (line 79) | public static void handle(String stmt,ManagerConnection c) { method showLogRange (line 131) | public static PackageBufINf showLogRange(ManagerConnection c, method showLogSum (line 188) | private static PackageBufINf showLogSum(ManagerConnection c, method getCondPair (line 259) | public static Map getCondPair(String sql) { method main (line 274) | public static void main(String[] args) { class PackageBufINf (line 288) | class PackageBufINf { FILE: src/main/java/io/mycat/manager/handler/StopHandler.java class StopHandler (line 34) | public final class StopHandler { method handle (line 36) | public static void handle(String stmt, ManagerConnection c, int offset) { FILE: src/main/java/io/mycat/manager/handler/SwitchHandler.java class SwitchHandler (line 36) | public final class SwitchHandler { method handler (line 38) | public static void handler(String stmt, ManagerConnection c, int offse... FILE: src/main/java/io/mycat/manager/handler/ZKHandler.java class ZKHandler (line 25) | public class ZKHandler { method handle (line 44) | public static void handle(String stmt, ManagerConnection c, int offset) { method sendZkCommand (line 129) | private static void sendZkCommand(String myId, String command) throws ... FILE: src/main/java/io/mycat/manager/response/CheckGlobalTable.java class CheckGlobalTable (line 55) | public final class CheckGlobalTable { method parse (line 80) | private static Map parse(String sql) { method execute (line 100) | public static void execute(ManagerConnection c method getRow (line 159) | private static RowDataPacket getRow(int i, String tableName, String re... method response (line 166) | public static void response(ManagerConnection c,String tableName, Stri... method main (line 195) | public static void main(String[] args) { FILE: src/main/java/io/mycat/manager/response/ClearSlow.java class ClearSlow (line 38) | public class ClearSlow { method dataNode (line 40) | public static void dataNode(ManagerConnection c, String name) { method schema (line 51) | public static void schema(ManagerConnection c, String name) { FILE: src/main/java/io/mycat/manager/response/KillConnection.java class KillConnection (line 42) | public final class KillConnection { method response (line 46) | public static void response(String stmt, int offset, ManagerConnection... method getList (line 64) | private static List getList(String stmt, int offse... FILE: src/main/java/io/mycat/manager/response/Offline.java class Offline (line 33) | public class Offline { method execute (line 42) | public static void execute(String stmt, ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/Online.java class Online (line 33) | public class Online { method execute (line 42) | public static void execute(String stmt, ManagerConnection mc) { FILE: src/main/java/io/mycat/manager/response/ReloadConfig.java class ReloadConfig (line 61) | public final class ReloadConfig { method execute (line 65) | public static void execute(ManagerConnection c, final boolean loadAll) { method reload_all (line 90) | public static boolean reload_all() { method reload (line 228) | public static boolean reload() { class ReloadCallBack (line 261) | private static class ReloadCallBack implements FutureCallback { method ReloadCallBack (line 265) | private ReloadCallBack(ManagerConnection c) { method onSuccess (line 269) | @Override method onFailure (line 284) | @Override FILE: src/main/java/io/mycat/manager/response/ReloadQueryCf.java class ReloadQueryCf (line 10) | public class ReloadQueryCf { method execute (line 14) | public static void execute(ManagerConnection c, String cf) { FILE: src/main/java/io/mycat/manager/response/ReloadSqlSlowTime.java class ReloadSqlSlowTime (line 12) | public class ReloadSqlSlowTime { method execute (line 15) | public static void execute(ManagerConnection c,long time) { FILE: src/main/java/io/mycat/manager/response/ReloadSqlStat.java class ReloadSqlStat (line 12) | public class ReloadSqlStat { method execute (line 16) | public static void execute(ManagerConnection c, String openCloseFlag) { FILE: src/main/java/io/mycat/manager/response/ReloadUser.java class ReloadUser (line 35) | public final class ReloadUser { method execute (line 39) | public static void execute(ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/ReloadUserStat.java class ReloadUserStat (line 12) | public final class ReloadUserStat { method execute (line 16) | public static void execute(ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/ReloadZktoXml.java class ReloadZktoXml (line 43) | public final class ReloadZktoXml { method execute (line 61) | public static void execute(ManagerConnection c, String rsp) { method getRow (line 91) | private static RowDataPacket getRow(String stmt, String charset) { FILE: src/main/java/io/mycat/manager/response/RollbackConfig.java class RollbackConfig (line 46) | public final class RollbackConfig { method execute (line 49) | public static void execute(ManagerConnection c) { method rollback (line 72) | private static boolean rollback() { FILE: src/main/java/io/mycat/manager/response/RollbackUser.java class RollbackUser (line 35) | public final class RollbackUser { method execute (line 39) | public static void execute(ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/SelectSessionAutoIncrement.java class SelectSessionAutoIncrement (line 40) | public final class SelectSessionAutoIncrement { method execute (line 57) | public static void execute(ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/SelectSessionTxReadOnly.java class SelectSessionTxReadOnly (line 14) | public final class SelectSessionTxReadOnly { method execute (line 32) | public static void execute(ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/SelectVersionComment.java class SelectVersionComment (line 39) | public final class SelectVersionComment { method execute (line 57) | public static void execute(ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/ShowBackend.java class ShowBackend (line 51) | public class ShowBackend { method execute (line 107) | public static void execute(ManagerConnection c) { method getRow (line 131) | private static RowDataPacket getRow(BackendConnection c, String charse... FILE: src/main/java/io/mycat/manager/response/ShowBackendOld.java class ShowBackendOld (line 25) | public class ShowBackendOld { method execute (line 59) | public static void execute(ManagerConnection c) { method getRow (line 83) | private static RowDataPacket getRow(BackendConnection c, String charse... FILE: src/main/java/io/mycat/manager/response/ShowCollation.java class ShowCollation (line 42) | public final class ShowCollation { method execute (line 74) | public static void execute(ManagerConnection c) { method getRow (line 103) | private static RowDataPacket getRow(String charset) { FILE: src/main/java/io/mycat/manager/response/ShowCommand.java class ShowCommand (line 46) | public final class ShowCommand { method execute (line 90) | public static void execute(ManagerConnection c) { method getRow (line 121) | private static RowDataPacket getRow(NIOProcessor processor, String cha... FILE: src/main/java/io/mycat/manager/response/ShowConnection.java class ShowConnection (line 50) | public final class ShowConnection { method execute (line 115) | public static void execute(ManagerConnection c) { method getRow (line 152) | private static RowDataPacket getRow(FrontendConnection c, String chars... FILE: src/main/java/io/mycat/manager/response/ShowConnectionSQL.java class ShowConnectionSQL (line 46) | public final class ShowConnectionSQL { method execute (line 81) | public static void execute(ManagerConnection c) { method getRow (line 122) | private static RowDataPacket getRow(FrontendConnection c, String chars... FILE: src/main/java/io/mycat/manager/response/ShowDataNode.java class ShowDataNode (line 62) | public final class ShowDataNode { method execute (line 118) | public static void execute(ManagerConnection c, String name) { method getRow (line 166) | private static RowDataPacket getRow(PhysicalDBNode node, String charse... class Comparators (line 199) | private static final class Comparators implements Comparator { method compare (line 200) | @Override FILE: src/main/java/io/mycat/manager/response/ShowDataSource.java class ShowDataSource (line 53) | public final class ShowDataSource { method execute (line 105) | public static void execute(ManagerConnection c, String name) { method getRow (line 161) | private static RowDataPacket getRow(String dataNode, PhysicalDatasourc... FILE: src/main/java/io/mycat/manager/response/ShowDatabase.java class ShowDatabase (line 47) | public final class ShowDatabase { method execute (line 64) | public static void execute(ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/ShowDatasourceCluster.java class ShowDatasourceCluster (line 52) | public class ShowDatasourceCluster { method response (line 125) | public static void response(ManagerConnection c,String stmt) { method getRows (line 156) | private static List getRows(String charset) { FILE: src/main/java/io/mycat/manager/response/ShowDatasourceSyn.java class ShowDatasourceSyn (line 52) | public class ShowDatasourceSyn { method response (line 111) | public static void response(ManagerConnection c,String stmt) { method getRows (line 142) | private static List getRows(String charset) { FILE: src/main/java/io/mycat/manager/response/ShowDatasourceSynDetail.java class ShowDatasourceSynDetail (line 55) | public class ShowDatasourceSynDetail { method response (line 95) | public static void response(ManagerConnection c,String stmt) { method getRows (line 127) | private static List getRows(String name,String charset) { FILE: src/main/java/io/mycat/manager/response/ShowDirectMemory.java class ShowDirectMemory (line 38) | public class ShowDirectMemory { method execute (line 94) | public static void execute(ManagerConnection c, int showtype) { method showDirectMemoryDetail (line 109) | public static void showDirectMemoryDetail(ManagerConnection c) { method showDirectMemoryTotal (line 184) | public static void showDirectMemoryTotal(ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/ShowHeartbeat.java class ShowHeartbeat (line 49) | public class ShowHeartbeat { method response (line 96) | public static void response(ManagerConnection c) { method getRows (line 126) | private static List getRows() { FILE: src/main/java/io/mycat/manager/response/ShowHeartbeatDetail.java class ShowHeartbeatDetail (line 57) | public class ShowHeartbeatDetail { method response (line 90) | public static void response(ManagerConnection c,String stmt) { method getRows (line 121) | private static List getRows(String name,String charset) { FILE: src/main/java/io/mycat/manager/response/ShowHelp.java class ShowHelp (line 49) | public final class ShowHelp { method execute (line 69) | public static void execute(ManagerConnection c) { method getRow (line 100) | private static RowDataPacket getRow(String stmt, String desc, String c... FILE: src/main/java/io/mycat/manager/response/ShowParser.java class ShowParser (line 39) | public final class ShowParser { method execute (line 74) | public static void execute(ManagerConnection c) { method getRow (line 105) | private static RowDataPacket getRow(String charset) { FILE: src/main/java/io/mycat/manager/response/ShowProcessor.java class ShowProcessor (line 48) | public final class ShowProcessor { method execute (line 99) | public static void execute(ManagerConnection c) { method getRow (line 130) | private static RowDataPacket getRow(NIOProcessor processor, String cha... FILE: src/main/java/io/mycat/manager/response/ShowRouter.java class ShowRouter (line 43) | public final class ShowRouter { method execute (line 72) | public static void execute(ManagerConnection c) { method getRow (line 108) | private static RowDataPacket getRow(NIOProcessor processor, String cha... FILE: src/main/java/io/mycat/manager/response/ShowSQL.java class ShowSQL (line 51) | public final class ShowSQL { method execute (line 84) | public static void execute(ManagerConnection c, boolean isClear) { method getRow (line 130) | private static RowDataPacket getRow(String user, UserSqlLastStat.SqlLa... FILE: src/main/java/io/mycat/manager/response/ShowSQLCondition.java class ShowSQLCondition (line 25) | public class ShowSQLCondition { method execute (line 52) | public static void execute(ManagerConnection c) { method getRow (line 106) | private static RowDataPacket getRow(int i, String key, String value, l... FILE: src/main/java/io/mycat/manager/response/ShowSQLDetail.java class ShowSQLDetail (line 46) | public final class ShowSQLDetail { method execute (line 78) | public static void execute(ManagerConnection c, long sql) { method getRow (line 109) | private static RowDataPacket getRow(long sql, String charset) { FILE: src/main/java/io/mycat/manager/response/ShowSQLExecute.java class ShowSQLExecute (line 45) | public final class ShowSQLExecute { method execute (line 77) | public static void execute(ManagerConnection c) { method getRow (line 108) | private static RowDataPacket getRow(long id, String charset) { FILE: src/main/java/io/mycat/manager/response/ShowSQLHigh.java class ShowSQLHigh (line 26) | public final class ShowSQLHigh { method execute (line 68) | public static void execute(ManagerConnection c, boolean isClear) { method getRow (line 113) | private static RowDataPacket getRow(int i, String user, String sql, lo... FILE: src/main/java/io/mycat/manager/response/ShowSQLLarge.java class ShowSQLLarge (line 27) | public class ShowSQLLarge { method execute (line 60) | public static void execute(ManagerConnection c, boolean isClear) { method getRow (line 103) | private static RowDataPacket getRow(String user, UserSqlLargeStat.SqlL... FILE: src/main/java/io/mycat/manager/response/ShowSQLSlow.java class ShowSQLSlow (line 50) | public final class ShowSQLSlow { method execute (line 92) | public static void execute(ManagerConnection c, boolean isClear, Strin... method getRow (line 139) | private static RowDataPacket getRow(String user, SQLRecord sql, String... FILE: src/main/java/io/mycat/manager/response/ShowSQLSumTable.java class ShowSQLSumTable (line 20) | public class ShowSQLSumTable { method execute (line 60) | public static void execute(ManagerConnection c, boolean isClear) { method getRow (line 108) | private static RowDataPacket getRow(TableStat tableStat, long idx, Str... FILE: src/main/java/io/mycat/manager/response/ShowSQLSumUser.java class ShowSQLSumUser (line 30) | public class ShowSQLSumUser { method execute (line 81) | public static void execute(ManagerConnection c, boolean isClear) { method getRow (line 118) | private static RowDataPacket getRow(UserStat userStat, long idx, Strin... FILE: src/main/java/io/mycat/manager/response/ShowServer.java class ShowServer (line 47) | public final class ShowServer { method execute (line 92) | public static void execute(ManagerConnection c) { method getRow (line 121) | private static RowDataPacket getRow(String charset) { FILE: src/main/java/io/mycat/manager/response/ShowSession.java class ShowSession (line 27) | public class ShowSession { method execute (line 49) | public static void execute(ManagerConnection c) { method getRow (line 89) | private static RowDataPacket getRow(ServerConnection sc, String charse... FILE: src/main/java/io/mycat/manager/response/ShowSqlResultSet.java class ShowSqlResultSet (line 27) | public final class ShowSqlResultSet { method execute (line 57) | public static void execute(ManagerConnection c) { method getRow (line 95) | private static RowDataPacket getRow(int i, String user,String sql, int... FILE: src/main/java/io/mycat/manager/response/ShowSysLog.java class ShowSysLog (line 28) | public class ShowSysLog { method execute (line 50) | public static void execute(ManagerConnection c, int numLines) { method getLinesByLogFile (line 102) | private static String[] getLinesByLogFile(String filename, int numLine... FILE: src/main/java/io/mycat/manager/response/ShowSysParam.java class ShowSysParam (line 24) | public class ShowSysParam { method execute (line 47) | public static void execute(ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/ShowThreadPool.java class ShowThreadPool (line 49) | public final class ShowThreadPool { method execute (line 85) | public static void execute(ManagerConnection c) { method getRow (line 119) | private static RowDataPacket getRow(NameableExecutor exec, String char... method getExecutors (line 130) | private static List getExecutors() { FILE: src/main/java/io/mycat/manager/response/ShowTime.java class ShowTime (line 42) | public final class ShowTime { method execute (line 59) | public static void execute(ManagerConnection c, int type) { method getRow (line 88) | private static RowDataPacket getRow(int type) { FILE: src/main/java/io/mycat/manager/response/ShowVariables.java class ShowVariables (line 42) | public final class ShowVariables { method execute (line 62) | public static void execute(ManagerConnection c) { method getRow (line 93) | private static RowDataPacket getRow(String name, String value, String ... FILE: src/main/java/io/mycat/manager/response/ShowVersion.java class ShowVersion (line 42) | public final class ShowVersion { method execute (line 59) | public static void execute(ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/ShowWhiteHost.java class ShowWhiteHost (line 27) | public final class ShowWhiteHost { method execute (line 49) | public static void execute(ManagerConnection c) { method getRow (line 107) | private static RowDataPacket getRow(String ip, String user, String cha... method parseString (line 113) | public static String parseString(String stmt) { method setHost (line 121) | public static synchronized void setHost(ManagerConnection c,String ips) { FILE: src/main/java/io/mycat/manager/response/StopHeartbeat.java class StopHeartbeat (line 44) | public final class StopHeartbeat { method execute (line 48) | public static void execute(String stmt, ManagerConnection c) { FILE: src/main/java/io/mycat/manager/response/SwitchDataSource.java class SwitchDataSource (line 40) | public final class SwitchDataSource { method response (line 42) | public static void response(String stmt, ManagerConnection c) { FILE: src/main/java/io/mycat/memory/MyCatMemory.java class MyCatMemory (line 27) | public class MyCatMemory { method MyCatMemory (line 49) | public MyCatMemory(SystemConfig system,long totalNetWorkBufferSize) th... method MyCatMemory (line 136) | @VisibleForTesting method getConf (line 177) | public MycatPropertyConf getConf() { method getResultSetBufferSize (line 181) | public long getResultSetBufferSize() { method getResultMergeMemoryManager (line 185) | public MemoryManager getResultMergeMemoryManager() { method getSerializerManager (line 189) | public SerializerManager getSerializerManager() { method getBlockManager (line 193) | public DataNodeDiskManager getBlockManager() { FILE: src/main/java/io/mycat/memory/environment/EnvironmentInformation.java class EnvironmentInformation (line 37) | public class EnvironmentInformation { method getVersion (line 49) | public static String getVersion() { method getRevisionInformation (line 59) | public static RevisionInformation getRevisionInformation() { method getUserRunning (line 87) | public static String getUserRunning() { method getMaxJvmHeapMemory (line 103) | public static long getMaxJvmHeapMemory() { method getSizeOfFreeHeapMemoryWithDefrag (line 133) | public static long getSizeOfFreeHeapMemoryWithDefrag() { method getSizeOfFreeHeapMemory (line 147) | public static long getSizeOfFreeHeapMemory() { method getJvmVersion (line 173) | public static String getJvmVersion() { method getJvmStartupOptions (line 188) | public static String getJvmStartupOptions() { method getJvmStartupOptionsArray (line 209) | public static String[] getJvmStartupOptionsArray() { method getTemporaryFileDirectory (line 225) | public static String getTemporaryFileDirectory() { method getOpenFileHandlesLimit (line 237) | public static long getOpenFileHandlesLimit() { method logEnvironmentInfo (line 265) | public static void logEnvironmentInfo(Logger log, String componentName... method EnvironmentInformation (line 317) | private EnvironmentInformation() {} class RevisionInformation (line 325) | public static class RevisionInformation { method RevisionInformation (line 333) | public RevisionInformation(String commitId, String commitDate) { FILE: src/main/java/io/mycat/memory/environment/Hardware.java class Hardware (line 34) | public class Hardware { method getNumberCPUCores (line 49) | public static int getNumberCPUCores() { method getSizeOfPhysicalMemory (line 59) | public static long getSizeOfPhysicalMemory() { method getSizeOfPhysicalMemoryForLinux (line 90) | private static long getSizeOfPhysicalMemoryForLinux() { method getSizeOfPhysicalMemoryForMac (line 121) | private static long getSizeOfPhysicalMemoryForMac() { method getSizeOfPhysicalMemoryForFreeBSD (line 161) | private static long getSizeOfPhysicalMemoryForFreeBSD() { method getSizeOfPhysicalMemoryForWindows (line 201) | private static long getSizeOfPhysicalMemoryForWindows() { method Hardware (line 243) | private Hardware() {} FILE: src/main/java/io/mycat/memory/environment/HardwareDescription.java class HardwareDescription (line 26) | public final class HardwareDescription implements Serializable { method HardwareDescription (line 46) | public HardwareDescription() {} method HardwareDescription (line 56) | public HardwareDescription(int numberOfCPUCores, long sizeOfPhysicalMe... method getNumberOfCPUCores (line 68) | public int getNumberOfCPUCores() { method getSizeOfPhysicalMemory (line 77) | public long getSizeOfPhysicalMemory() { method getSizeOfJvmHeap (line 86) | public long getSizeOfJvmHeap() { method getSizeOfManagedMemory (line 95) | public long getSizeOfManagedMemory() { method toString (line 103) | @Override method extractFromSystem (line 113) | public static HardwareDescription extractFromSystem(long managedMemory) { FILE: src/main/java/io/mycat/memory/environment/OperatingSystem.java type OperatingSystem (line 27) | public enum OperatingSystem { method getCurrentOperatingSystem (line 43) | public static OperatingSystem getCurrentOperatingSystem() { method isWindows (line 53) | public static boolean isWindows() { method isLinux (line 63) | public static boolean isLinux() { method isMac (line 73) | public static boolean isMac() { method isFreeBSD (line 83) | public static boolean isFreeBSD() { method readOSFromSystemProperties (line 98) | private static OperatingSystem readOSFromSystemProperties() { FILE: src/main/java/io/mycat/memory/unsafe/KVIterator.java class KVIterator (line 6) | public abstract class KVIterator { method next (line 8) | public abstract boolean next() throws IOException; method getKey (line 10) | public abstract K getKey(); method getValue (line 12) | public abstract V getValue(); method close (line 14) | public abstract void close(); FILE: src/main/java/io/mycat/memory/unsafe/Platform.java class Platform (line 39) | public final class Platform { method getSystemClassLoader (line 87) | private static ClassLoader getSystemClassLoader() { method maxDirectMemory (line 98) | private static long maxDirectMemory() { method getMaxDirectMemory (line 154) | public static long getMaxDirectMemory() { method getMaxHeapMemory (line 158) | public static long getMaxHeapMemory() { method unaligned (line 166) | public static boolean unaligned() { method getInt (line 170) | public static int getInt(Object object, long offset) { method putInt (line 174) | public static void putInt(Object object, long offset, int value) { method getBoolean (line 178) | public static boolean getBoolean(Object object, long offset) { method putBoolean (line 182) | public static void putBoolean(Object object, long offset, boolean valu... method getByte (line 186) | public static byte getByte(Object object, long offset) { method putByte (line 190) | public static void putByte(Object object, long offset, byte value) { method getShort (line 194) | public static short getShort(Object object, long offset) { method putShort (line 198) | public static void putShort(Object object, long offset, short value) { method getLong (line 202) | public static long getLong(Object object, long offset) { method putLong (line 206) | public static void putLong(Object object, long offset, long value) { method getFloat (line 210) | public static float getFloat(Object object, long offset) { method putFloat (line 214) | public static void putFloat(Object object, long offset, float value) { method getDouble (line 218) | public static double getDouble(Object object, long offset) { method putDouble (line 222) | public static void putDouble(Object object, long offset, double value) { method getObjectVolatile (line 227) | public static Object getObjectVolatile(Object object, long offset) { method putObjectVolatile (line 231) | public static void putObjectVolatile(Object object, long offset, Objec... method allocateMemory (line 235) | public static long allocateMemory(long size) { method freeMemory (line 239) | public static void freeMemory(long address) { method reallocateMemory (line 243) | public static long reallocateMemory(long address, long oldSize, long n... method allocateDirectBuffer (line 255) | @SuppressWarnings("unchecked") method setMemory (line 279) | public static void setMemory(long address, byte value, long size) { method copyMemory (line 283) | public static void copyMemory( method throwException (line 319) | public static void throwException(Throwable t) { method objectFieldOffset (line 357) | public static long objectFieldOffset(Field field) { method putOrderedLong (line 361) | public static void putOrderedLong(Object object, long valueOffset, lon... method putLongVolatile (line 365) | public static void putLongVolatile(Object object, long valueOffset, lo... method compareAndSwapLong (line 369) | public static boolean compareAndSwapLong(Object object, long valueOffs... method arrayBaseOffset (line 373) | public static int arrayBaseOffset(Class aClass) { method arrayIndexScale (line 377) | public static int arrayIndexScale(Class aClass) { method putOrderedInt (line 381) | public static void putOrderedInt(Object availableBuffer, long bufferAd... method getIntVolatile (line 385) | public static int getIntVolatile(Object availableBuffer, long bufferAd... method getObject (line 389) | public static Object getObject(Object entries, long l) { method getChar (line 393) | public static char getChar(Object baseObj, long l) { method putChar (line 397) | public static void putChar(Object baseObj, long l, char value) { FILE: src/main/java/io/mycat/memory/unsafe/array/ByteArrayMethods.java class ByteArrayMethods (line 23) | public class ByteArrayMethods { method ByteArrayMethods (line 25) | private ByteArrayMethods() { method nextPowerOf2 (line 30) | public static long nextPowerOf2(long num) { method roundNumberOfBytesToNearestWord (line 35) | public static int roundNumberOfBytesToNearestWord(int numBytes) { method arrayEquals (line 48) | public static boolean arrayEquals( FILE: src/main/java/io/mycat/memory/unsafe/array/CharArray.java class CharArray (line 12) | public class CharArray { method CharArray (line 22) | public CharArray(MemoryBlock memory,MemoryConsumer memoryConsumer) { method memoryBlock (line 32) | public MemoryBlock memoryBlock() { method getBaseObject (line 36) | public Object getBaseObject() { method getBaseOffset (line 40) | public long getBaseOffset() { method size (line 47) | public long size() { method zeroOut (line 54) | public void zeroOut() { method set (line 63) | public void set(int index, char value) { method get (line 72) | public char get(int index) { method toString (line 78) | public String toString() { FILE: src/main/java/io/mycat/memory/unsafe/array/LongArray.java class LongArray (line 31) | public final class LongArray { method LongArray (line 42) | public LongArray(MemoryBlock memory) { method memoryBlock (line 52) | public MemoryBlock memoryBlock() { method getBaseObject (line 56) | public Object getBaseObject() { method getBaseOffset (line 60) | public long getBaseOffset() { method size (line 67) | public long size() { method zeroOut (line 74) | public void zeroOut() { method set (line 83) | public void set(int index, long value) { method get (line 92) | public long get(int index) { FILE: src/main/java/io/mycat/memory/unsafe/bitset/BitSetMethods.java class BitSetMethods (line 30) | public final class BitSetMethods { method BitSetMethods (line 34) | private BitSetMethods() { method set (line 41) | public static void set(Object baseObject, long baseOffset, int index) { method unset (line 52) | public static void unset(Object baseObject, long baseOffset, int index) { method isSet (line 63) | public static boolean isSet(Object baseObject, long baseOffset, int in... method anySet (line 74) | public static boolean anySet(Object baseObject, long baseOffset, long ... method nextSetBit (line 102) | public static int nextSetBit( FILE: src/main/java/io/mycat/memory/unsafe/hash/Murmur3_x86_32.java class Murmur3_x86_32 (line 26) | public final class Murmur3_x86_32 { method Murmur3_x86_32 (line 32) | public Murmur3_x86_32(int seed) { method toString (line 36) | @Override method hashInt (line 41) | public int hashInt(int input) { method hashInt (line 45) | public static int hashInt(int input, int seed) { method hashUnsafeWords (line 52) | public int hashUnsafeWords(Object base, long offset, int lengthInBytes) { method hashUnsafeWords (line 56) | public static int hashUnsafeWords(Object base, long offset, int length... method hashUnsafeBytes (line 63) | public static int hashUnsafeBytes(Object base, long offset, int length... method hashBytesByInt (line 75) | private static int hashBytesByInt(Object base, long offset, int length... method hashLong (line 86) | public int hashLong(long input) { method hashLong (line 90) | public static int hashLong(long input, int seed) { method mixK1 (line 103) | private static int mixK1(int k1) { method mixH1 (line 110) | private static int mixH1(int h1, int k1) { method fmix (line 118) | private static int fmix(int h1, int length) { FILE: src/main/java/io/mycat/memory/unsafe/map/BytesToBytesMap.java class BytesToBytesMap (line 63) | public final class BytesToBytesMap extends MemoryConsumer { method BytesToBytesMap (line 176) | public BytesToBytesMap( method BytesToBytesMap (line 206) | public BytesToBytesMap( method BytesToBytesMap (line 213) | public BytesToBytesMap( method numKeys (line 231) | public int numKeys() { return numKeys; } method numValues (line 236) | public int numValues() { return numValues; } class MapIterator (line 238) | public final class MapIterator implements Iterator { method MapIterator (line 253) | private MapIterator(int numRecords, Location loc, boolean destructiv... method advanceToNextPage (line 262) | private void advanceToNextPage() { method hasNext (line 302) | @Override method next (line 318) | @Override method spill (line 357) | public long spill(long numBytes) throws IOException { method remove (line 401) | @Override method iterator (line 415) | public MapIterator iterator() { method destructiveIterator (line 429) | public MapIterator destructiveIterator() { method lookup (line 439) | public Location lookup(Object keyBase, long keyOffset, int keyLength) { method lookup (line 451) | public Location lookup(Object keyBase, long keyOffset, int keyLength, ... method safeLookup (line 461) | public void safeLookup(Object keyBase, long keyOffset, int keyLength, ... class Location (line 522) | public final class Location { method updateAddressesAndSizes (line 545) | private void updateAddressesAndSizes(long fullKeyAddress) { method updateAddressesAndSizes (line 551) | private void updateAddressesAndSizes(final Object base, long offset) { method with (line 562) | private Location with(int pos, int keyHashcode, boolean isDefined) { method with (line 574) | private Location with(MemoryBlock page, long offsetInPage) { method with (line 584) | private Location with(Object base, long offset, int length) { method nextValue (line 598) | public boolean nextValue() { method getMemoryPage (line 613) | public MemoryBlock getMemoryPage() { method isDefined (line 620) | public boolean isDefined() { method getKeyBase (line 627) | public Object getKeyBase() { method getKeyOffset (line 635) | public long getKeyOffset() { method getValueBase (line 643) | public Object getValueBase() { method getValueOffset (line 651) | public long getValueOffset() { method getKeyLength (line 660) | public int getKeyLength() { method getValueLength (line 669) | public int getValueLength() { method append (line 706) | public boolean append(Object kbase, long koff, int klen, Object vbas... method acquireNewPage (line 773) | private boolean acquireNewPage(long required) { method spill (line 785) | @Override method allocate (line 799) | private void allocate(int capacity) { method free (line 816) | public void free() { method getDataNodeMemoryManager (line 840) | public DataNodeMemoryManager getDataNodeMemoryManager() { method getPageSizeBytes (line 844) | public long getPageSizeBytes() { method getTotalMemoryConsumption (line 851) | public long getTotalMemoryConsumption() { method updatePeakMemoryUsed (line 859) | private void updatePeakMemoryUsed() { method getPeakMemoryUsedBytes (line 869) | public long getPeakMemoryUsedBytes() { method getTimeSpentResizingNs (line 877) | public long getTimeSpentResizingNs() { method getAverageProbesPerLookup (line 887) | public double getAverageProbesPerLookup() { method getNumHashCollisions (line 894) | public long getNumHashCollisions() { method getNumDataPages (line 901) | @VisibleForTesting method getArray (line 909) | public LongArray getArray() { method reset (line 917) | public void reset() { method growAndRehash (line 933) | @VisibleForTesting FILE: src/main/java/io/mycat/memory/unsafe/map/HashMapGrowthStrategy.java type HashMapGrowthStrategy (line 23) | public interface HashMapGrowthStrategy { method nextCapacity (line 25) | int nextCapacity(int currentCapacity); class Doubling (line 32) | class Doubling implements HashMapGrowthStrategy { method nextCapacity (line 33) | @Override FILE: src/main/java/io/mycat/memory/unsafe/map/UnsafeFixedWidthAggregationMap.java class UnsafeFixedWidthAggregationMap (line 38) | public final class UnsafeFixedWidthAggregationMap { method supportsAggregationBufferSchema (line 67) | public static boolean supportsAggregationBufferSchema(StructType schem... method UnsafeFixedWidthAggregationMap (line 82) | public UnsafeFixedWidthAggregationMap( method getAggregationBuffer (line 104) | public UnsafeRow getAggregationBuffer(UnsafeRow groupingKey) { method getAggregationBufferFromUnsafeRow (line 108) | public UnsafeRow getAggregationBufferFromUnsafeRow(UnsafeRow key) { method put (line 115) | public boolean put(UnsafeRow key, UnsafeRow value){ method find (line 147) | public boolean find(UnsafeRow key){ method getAggregationBufferFromUnsafeRow (line 161) | public UnsafeRow getAggregationBufferFromUnsafeRow(UnsafeRow key, int ... method iterator (line 202) | public KVIterator iterator() { method getPeakMemoryUsedBytes (line 251) | public long getPeakMemoryUsedBytes() { method free (line 258) | public void free() { method printPerfMetrics (line 262) | @SuppressWarnings("UseOfSystemOutOrSystemErr") method destructAndCreateExternalSorter (line 279) | public UnsafeKVExternalSorter destructAndCreateExternalSorter() throws... FILE: src/main/java/io/mycat/memory/unsafe/memory/HeapMemoryAllocator.java class HeapMemoryAllocator (line 33) | public class HeapMemoryAllocator implements MemoryAllocator { method shouldPool (line 45) | private boolean shouldPool(long size) { method allocate (line 50) | @Override method free (line 72) | @Override FILE: src/main/java/io/mycat/memory/unsafe/memory/MemoryAllocator.java type MemoryAllocator (line 20) | public interface MemoryAllocator { method allocate (line 26) | MemoryBlock allocate(long size) throws OutOfMemoryError; method free (line 28) | void free(MemoryBlock memory); FILE: src/main/java/io/mycat/memory/unsafe/memory/MemoryBlock.java class MemoryBlock (line 29) | public class MemoryBlock extends MemoryLocation { method MemoryBlock (line 40) | public MemoryBlock(@Nullable Object obj, long offset, long length) { method size (line 48) | public long size() { method fromLongArray (line 55) | public static MemoryBlock fromLongArray(final long[] array) { FILE: src/main/java/io/mycat/memory/unsafe/memory/MemoryLocation.java class MemoryLocation (line 26) | public class MemoryLocation { method MemoryLocation (line 33) | public MemoryLocation(@Nullable Object obj, long offset) { method MemoryLocation (line 38) | public MemoryLocation() { method setObjAndOffset (line 42) | public void setObjAndOffset(Object newObj, long newOffset) { method getBaseObject (line 47) | public final Object getBaseObject() { method getBaseOffset (line 51) | public final long getBaseOffset() { FILE: src/main/java/io/mycat/memory/unsafe/memory/UnsafeMemoryAllocator.java class UnsafeMemoryAllocator (line 26) | public class UnsafeMemoryAllocator implements MemoryAllocator { method allocate (line 28) | @Override method free (line 34) | @Override FILE: src/main/java/io/mycat/memory/unsafe/memory/mm/DataNodeMemoryManager.java class DataNodeMemoryManager (line 38) | public class DataNodeMemoryManager { method DataNodeMemoryManager (line 105) | public DataNodeMemoryManager(MemoryManager memoryManager, long connect... method acquireExecutionMemory (line 118) | public long acquireExecutionMemory(long required,MemoryMode mode,Memor... method releaseExecutionMemory (line 183) | public void releaseExecutionMemory(long size, MemoryMode mode, MemoryC... method showMemoryUsage (line 192) | public void showMemoryUsage() { method pageSizeBytes (line 217) | public long pageSizeBytes() { method allocatePage (line 228) | public MemoryBlock allocatePage(long size, MemoryConsumer consumer) { method freePage (line 289) | public void freePage(MemoryBlock page, MemoryConsumer consumer) { method encodePageNumberAndOffset (line 317) | public long encodePageNumberAndOffset(MemoryBlock page, long offsetInP... method encodePageNumberAndOffset (line 329) | @VisibleForTesting method decodePageNumber (line 335) | @VisibleForTesting method decodeOffset (line 340) | private static long decodeOffset(long pagePlusOffsetAddress) { method getPage (line 348) | public Object getPage(long pagePlusOffsetAddress) { method getOffsetInPage (line 365) | public long getOffsetInPage(long pagePlusOffsetAddress) { method cleanUpAllAllocatedMemory (line 384) | public long cleanUpAllAllocatedMemory() { method getMemoryConsumptionForThisConnection (line 412) | public long getMemoryConsumptionForThisConnection() { method getTungstenMemoryMode (line 419) | public MemoryMode getTungstenMemoryMode() { FILE: src/main/java/io/mycat/memory/unsafe/memory/mm/MemoryConsumer.java class MemoryConsumer (line 30) | public abstract class MemoryConsumer { method MemoryConsumer (line 37) | protected MemoryConsumer(DataNodeMemoryManager dataNodeMemoryManager, ... method MemoryConsumer (line 42) | protected MemoryConsumer(DataNodeMemoryManager dataNodeMemoryManager) { method getUsed (line 49) | public long getUsed() { method spill (line 58) | public void spill() throws IOException { method spill (line 77) | public abstract long spill(long size, MemoryConsumer trigger) throws I... method allocateLongArray (line 82) | public LongArray allocateLongArray(long size) { method freeLongArray (line 101) | public void freeLongArray(LongArray array) { method allocateCharArray (line 105) | public CharArray allocateCharArray(long size) { method freeCharArray (line 124) | public void freeCharArray(CharArray array) { method allocatePage (line 135) | protected MemoryBlock allocatePage(long required) { method freePage (line 153) | protected void freePage(MemoryBlock page) { method acquireOnHeapMemory (line 161) | public long acquireOnHeapMemory(long size) { method freeOnHeapMemory (line 175) | public void freeOnHeapMemory(long size) { FILE: src/main/java/io/mycat/memory/unsafe/memory/mm/MemoryManager.java class MemoryManager (line 11) | public abstract class MemoryManager { method MemoryManager (line 27) | public MemoryManager(MycatPropertyConf conf, int numCores, long onHeap... method acquireExecutionMemory (line 37) | protected abstract long acquireExecutionMemory(long numBytes,long task... method releaseExecutionMemory (line 42) | public void releaseExecutionMemory(long numBytes, long taskAttemptId, ... method releaseAllExecutionMemoryForConnection (line 60) | public long releaseAllExecutionMemoryForConnection(long connAttemptId){ method executionMemoryUsed (line 70) | public final long executionMemoryUsed() { method getExecutionMemoryUsageForConnection (line 79) | public long getExecutionMemoryUsageForConnection(long connAttemptId) { method tungstenMemoryMode (line 91) | public final MemoryMode tungstenMemoryMode(){ method pageSizeBytes (line 108) | public long pageSizeBytes() { method tungstenMemoryAllocator (line 144) | public final MemoryAllocator tungstenMemoryAllocator() { method getDirectMemorUsage (line 157) | public final ConcurrentHashMap getDirectMemorUsage() { FILE: src/main/java/io/mycat/memory/unsafe/memory/mm/MemoryMode.java type MemoryMode (line 20) | public enum MemoryMode { FILE: src/main/java/io/mycat/memory/unsafe/memory/mm/MemoryPool.java class MemoryPool (line 10) | public abstract class MemoryPool { method MemoryPool (line 17) | public MemoryPool(Object lock){ method poolSize (line 27) | public final long poolSize() { method memoryFree (line 36) | public long memoryFree() { method incrementPoolSize (line 45) | public final void incrementPoolSize(long delta) { method decrementPoolSize (line 55) | public final void decrementPoolSize(long delta){ method memoryUsed (line 67) | protected abstract long memoryUsed(); FILE: src/main/java/io/mycat/memory/unsafe/memory/mm/ResultMergeMemoryManager.java class ResultMergeMemoryManager (line 9) | public class ResultMergeMemoryManager extends MemoryManager { method ResultMergeMemoryManager (line 14) | public ResultMergeMemoryManager(MycatPropertyConf conf, int numCores, ... method acquireExecutionMemory (line 21) | @Override FILE: src/main/java/io/mycat/memory/unsafe/memory/mm/ResultSetMemoryPool.java class ResultSetMemoryPool (line 15) | public class ResultSetMemoryPool extends MemoryPool { method ResultSetMemoryPool (line 24) | public ResultSetMemoryPool(Object lock, MemoryMode memoryMode) { method poolName (line 30) | private String poolName(){ method getMemoryForConnection (line 42) | public ConcurrentHashMap getMemoryForConnection() { method memoryUsed (line 50) | @Override method getMemoryUsageConnection (line 65) | public long getMemoryUsageConnection(long taskAttemptId) { method acquireMemory (line 88) | public long acquireMemory(long numBytes, long connAttemptId) throws I... method releaseMemory (line 132) | public void releaseMemory(long numBytes, long connAttemptId) { method releaseAllMemoryForeConnection (line 164) | public long releaseAllMemoryForeConnection(long connAttemptId) { FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/RingBuffer.java class RingBuffer (line 14) | public class RingBuffer implements Cursored, E... method RingBuffer (line 42) | public RingBuffer(EventFactory eventFactory, Sequencer sequencer) { method fill (line 72) | private void fill(EventFactory eventFactory) { method elementAt (line 84) | private E elementAt(long sequence) { method getCursor (line 89) | @Override method get (line 97) | @Override method translateAndPublish (line 102) | private void translateAndPublish(EventTranslator translator, long s... method publishEvent (line 113) | @Override method tryPublishEvent (line 122) | @Override method translateAndPublish (line 136) | private void translateAndPublish(EventTranslatorOneArg trans... method publishEvent (line 147) | @Override method tryPublishEvent (line 156) | @Override method translateAndPublish (line 167) | private void translateAndPublish(EventTranslatorTwoArg... method publishEvent (line 178) | @Override method tryPublishEvent (line 187) | @Override method translateAndPublish (line 198) | private void translateAndPublish( method publishEvent (line 211) | @Override method tryPublishEvent (line 220) | @Override method translateAndPublish (line 231) | private void translateAndPublish(EventTranslatorVararg translator, ... method publishEvent (line 243) | @Override method tryPublishEvent (line 252) | @Override method checkBounds (line 263) | private void checkBounds(final EventTranslator[] translators, final... method batchOverRuns (line 268) | private void batchOverRuns(final A[] arg0, final int batchStartsAt... method checkBatchSizing (line 277) | private void checkBatchSizing(int batchStartsAt, int batchSize) { method publishEvents (line 288) | @Override method translateAndPublishBatch (line 293) | private void translateAndPublishBatch( method publishEvents (line 312) | @Override method tryPublishEvents (line 322) | @Override method tryPublishEvents (line 330) | @Override method publishEvents (line 345) | @Override method checkBounds (line 350) | private void checkBounds(final A[] arg0, final int batchStartsAt, ... method translateAndPublishBatch (line 355) | private void translateAndPublishBatch( method publishEvents (line 373) | @Override method tryPublishEvents (line 383) | @Override method tryPublishEvents (line 391) | @Override method publishEvents (line 406) | @Override method checkBounds (line 411) | private void checkBounds(final A[] arg0, final B[] arg1, final ... method translateAndPublishBatch (line 417) | private void translateAndPublishBatch( method publishEvents (line 436) | @Override method tryPublishEvents (line 446) | @Override method tryPublishEvents (line 454) | @Override method publishEvents (line 469) | @Override method checkBounds (line 474) | private void checkBounds( method translateAndPublishBatch (line 482) | private void translateAndPublishBatch( method publishEvents (line 501) | @Override method tryPublishEvents (line 511) | @Override method tryPublishEvents (line 519) | @Override method publishEvents (line 534) | @Override method publishEvents (line 542) | @Override method checkBounds (line 549) | private void checkBounds(final int batchStartsAt, final int batchSize,... method translateAndPublishBatch (line 554) | private void translateAndPublishBatch( method tryPublishEvents (line 572) | @Override method tryPublishEvents (line 580) | @Override method getBufferSize (line 585) | @Override method hasAvailableCapacity (line 590) | @Override method remainingCapacity (line 595) | @Override method next (line 600) | @Override method next (line 605) | @Override method tryNext (line 610) | @Override method tryNext (line 615) | @Override method publish (line 620) | @Override method publish (line 625) | @Override FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/Cursored.java type Cursored (line 8) | public interface Cursored { method getCursor (line 9) | long getCursor(); FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/DataProvider.java type DataProvider (line 8) | public interface DataProvider { method get (line 14) | public T get(long sequence); FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/Sequenced.java type Sequenced (line 10) | public interface Sequenced { method getBufferSize (line 14) | int getBufferSize(); method hasAvailableCapacity (line 20) | boolean hasAvailableCapacity(final int requiredCapacity); method remainingCapacity (line 25) | long remainingCapacity(); method next (line 31) | long next(); method next (line 38) | long next(int n); method tryNext (line 44) | long tryNext() throws InsufficientCapacityException; method tryNext (line 52) | long tryNext(int n) throws InsufficientCapacityException; method publish (line 58) | void publish(long sequence); method publish (line 65) | void publish(long lo, long hi); FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/barrier/SequenceBarrier.java type SequenceBarrier (line 11) | public interface SequenceBarrier { method waitFor (line 21) | long waitFor(long sequence) throws AlertException, InterruptedExceptio... method getCursor (line 28) | long getCursor(); method isAlerted (line 35) | boolean isAlerted(); method alert (line 40) | void alert(); method clearAlert (line 45) | void clearAlert(); method checkAlert (line 52) | void checkAlert() throws AlertException; FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/event/EventFactory.java type EventFactory (line 10) | public interface EventFactory { method newInstance (line 11) | T newInstance(); FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/event/EventSequencer.java type EventSequencer (line 13) | public interface EventSequencer extends DataProvider, Sequenced { FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/event/EventSink.java type EventSink (line 10) | public interface EventSink { method publishEvent (line 15) | void publishEvent(EventTranslator translator); method tryPublishEvent (line 23) | boolean tryPublishEvent(EventTranslator translator); method publishEvent (line 25) | void publishEvent(EventTranslatorOneArg translator, A arg0); method tryPublishEvent (line 27) | boolean tryPublishEvent(EventTranslatorOneArg translator, A ... method publishEvent (line 29) | void publishEvent(EventTranslatorTwoArg translator, A ... method tryPublishEvent (line 31) | boolean tryPublishEvent(EventTranslatorTwoArg translat... method publishEvent (line 33) | void publishEvent(EventTranslatorThreeArg transl... method tryPublishEvent (line 35) | boolean tryPublishEvent(EventTranslatorThreeArg ... method publishEvent (line 37) | void publishEvent(EventTranslatorVararg translator, Object... args); method tryPublishEvent (line 39) | boolean tryPublishEvent(EventTranslatorVararg translator, Object...... method publishEvents (line 45) | void publishEvents(EventTranslator[] translators); method publishEvents (line 47) | void publishEvents(EventTranslator[] translators, int batchStartsAt... method tryPublishEvents (line 49) | boolean tryPublishEvents(EventTranslator[] translators); method tryPublishEvents (line 51) | boolean tryPublishEvents(EventTranslator[] translators, int batchSt... method publishEvents (line 53) | void publishEvents(EventTranslatorOneArg translator, A[] arg0); method publishEvents (line 55) | void publishEvents(EventTranslatorOneArg translator, int bat... method tryPublishEvents (line 57) | boolean tryPublishEvents(EventTranslatorOneArg translator, A... method tryPublishEvents (line 59) | boolean tryPublishEvents(EventTranslatorOneArg translator, i... method publishEvents (line 61) | void publishEvents(EventTranslatorTwoArg translator, A... method publishEvents (line 63) | void publishEvents( method tryPublishEvents (line 67) | boolean tryPublishEvents(EventTranslatorTwoArg transla... method tryPublishEvents (line 69) | boolean tryPublishEvents( method publishEvents (line 73) | void publishEvents(EventTranslatorThreeArg trans... method publishEvents (line 75) | void publishEvents( method tryPublishEvents (line 79) | boolean tryPublishEvents(EventTranslatorThreeArg... method tryPublishEvents (line 81) | boolean tryPublishEvents( method publishEvents (line 85) | void publishEvents(EventTranslatorVararg translator, Object[]... ar... method publishEvents (line 87) | void publishEvents(EventTranslatorVararg translator, int batchStart... method tryPublishEvents (line 89) | boolean tryPublishEvents(EventTranslatorVararg translator, Object[]... method tryPublishEvents (line 91) | boolean tryPublishEvents(EventTranslatorVararg translator, int batc... FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/event/EventTranslator.java type EventTranslator (line 10) | public interface EventTranslator { method translateTo (line 11) | void translateTo(final T event, long sequence); FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/event/EventTranslatorOneArg.java type EventTranslatorOneArg (line 11) | public interface EventTranslatorOneArg { method translateTo (line 12) | void translateTo(final T event, long sequence, final A arg0); FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/event/EventTranslatorThreeArg.java type EventTranslatorThreeArg (line 11) | public interface EventTranslatorThreeArg { method translateTo (line 12) | void translateTo(final T event, long sequence, final A arg0, final B a... FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/event/EventTranslatorTwoArg.java type EventTranslatorTwoArg (line 11) | public interface EventTranslatorTwoArg { method translateTo (line 12) | void translateTo(final T event, long sequence, final A arg0, final B a... FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/event/EventTranslatorVararg.java type EventTranslatorVararg (line 11) | public interface EventTranslatorVararg { method translateTo (line 12) | void translateTo(final T event, long sequence, final Object... args); FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/sequence/Sequence.java class LhsPadding (line 11) | class LhsPadding class Value (line 16) | class Value extends LhsPadding class RhsPadding (line 21) | class RhsPadding extends Value class Sequence (line 34) | public class Sequence extends RhsPadding method Sequence (line 54) | public Sequence() method Sequence (line 64) | public Sequence(final long initialValue) method get (line 74) | public long get() method set (line 86) | public void set(final long value) method setVolatile (line 99) | public void setVolatile(final long value) method compareAndSet (line 111) | public boolean compareAndSet(final long expectedValue, final long newV... method incrementAndGet (line 121) | public long incrementAndGet() method addAndGet (line 132) | public long addAndGet(final long increment) method toString (line 147) | @Override FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/sequence/SequenceGroups.java class SequenceGroups (line 14) | public class SequenceGroups { method addSequences (line 24) | public static void addSequences( method removeSequence (line 66) | public static boolean removeSequence( method countMatching (line 103) | private static int countMatching(T[] values, final T toMatch) FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/waitStrategy/WaitStrategy.java type WaitStrategy (line 13) | public interface WaitStrategy { method waitFor (line 24) | long waitFor(long sequence, Sequence cursor, Sequence dependentSequenc... method signalAllWhenBlocking (line 30) | void signalAllWhenBlocking(); FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/waitStrategy/impl/BlockingWaitStrategy.java class BlockingWaitStrategy (line 18) | public class BlockingWaitStrategy implements WaitStrategy { method waitFor (line 22) | @Override method signalAllWhenBlocking (line 48) | @Override FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/waitStrategy/impl/BusySpinWaitStrategy.java class BusySpinWaitStrategy (line 13) | public class BusySpinWaitStrategy implements WaitStrategy { method waitFor (line 14) | @Override method signalAllWhenBlocking (line 27) | @Override FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/common/waitStrategy/impl/SleepingWaitStrategy.java class SleepingWaitStrategy (line 15) | public class SleepingWaitStrategy implements WaitStrategy { method SleepingWaitStrategy (line 20) | public SleepingWaitStrategy() { method SleepingWaitStrategy (line 24) | public SleepingWaitStrategy(int retries) { method waitFor (line 28) | @Override method signalAllWhenBlocking (line 42) | @Override method applyWaitMethod (line 46) | private int applyWaitMethod(final SequenceBarrier barrier, int counter) FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/exception/AlertException.java class AlertException (line 8) | public class AlertException extends Exception { method AlertException (line 12) | private AlertException() method fillInStackTrace (line 16) | @Override FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/exception/InsufficientCapacityException.java class InsufficientCapacityException (line 8) | @SuppressWarnings("serial") method InsufficientCapacityException (line 12) | private InsufficientCapacityException() { method fillInStackTrace (line 15) | @Override FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/exception/TimeoutException.java class TimeoutException (line 8) | public class TimeoutException extends Exception { method TimeoutException (line 11) | private TimeoutException() method fillInStackTrace (line 15) | @Override FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/producer/AbstractSequencer.java class AbstractSequencer (line 17) | public abstract class AbstractSequencer implements Sequencer { method AbstractSequencer (line 27) | public AbstractSequencer(int bufferSize, WaitStrategy waitStrategy) method getCursor (line 42) | @Override method getBufferSize (line 49) | @Override method addGatingSequences (line 55) | @Override method removeGatingSequence (line 60) | @Override method getMinimumSequence (line 65) | @Override method newBarrier (line 70) | public SequenceBarrier newBarrier(Sequence... sequencesToTrack) FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/producer/MultiProducerSequencer.java class MultiProducerSequencer (line 19) | public class MultiProducerSequencer extends AbstractSequencer{ method MultiProducerSequencer (line 32) | public MultiProducerSequencer(int bufferSize, final WaitStrategy waitS... method initialiseAvailableBuffer (line 44) | private void initialiseAvailableBuffer() { method setAvailable (line 55) | private void setAvailable(final long sequence) { method calculateAvailabilityFlag (line 64) | private int calculateAvailabilityFlag(final long sequence) { method calculateIndex (line 73) | private int calculateIndex(final long sequence) { method setAvailableBufferValue (line 89) | private void setAvailableBufferValue(int index, int flag) { method claim (line 94) | @Override method isAvailable (line 104) | @Override method getHighestPublishedSequence (line 118) | @Override method hasAvailableCapacity (line 128) | @Override method hasAvailableCapacity (line 140) | private boolean hasAvailableCapacity(Sequence[] gatingSequences, final... method remainingCapacity (line 161) | @Override method next (line 169) | @Override method next (line 180) | @Override method tryNext (line 218) | @Override method tryNext (line 223) | @Override method publish (line 245) | @Override method publish (line 251) | @Override FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/producer/Sequencer.java type Sequencer (line 13) | public interface Sequencer extends Cursored,Sequenced{ method claim (line 24) | void claim(long sequence); method isAvailable (line 32) | boolean isAvailable(long sequence); method addGatingSequences (line 39) | void addGatingSequences(Sequence... gatingSequences); method removeGatingSequence (line 47) | boolean removeGatingSequence(Sequence sequence); method newBarrier (line 57) | SequenceBarrier newBarrier(Sequence... sequencesToTrack); method getMinimumSequence (line 64) | long getMinimumSequence(); method getHighestPublishedSequence (line 73) | long getHighestPublishedSequence(long nextSequence, long availableSequ... FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/producer/SingleProducerSequencer.java class SingleProducerSequencerPad (line 18) | abstract class SingleProducerSequencerPad extends AbstractSequencer method SingleProducerSequencerPad (line 22) | public SingleProducerSequencerPad(int bufferSize, WaitStrategy waitStr... class SingleProducerSequencerFields (line 28) | abstract class SingleProducerSequencerFields extends SingleProducerSeque... method SingleProducerSequencerFields (line 30) | public SingleProducerSequencerFields(int bufferSize, WaitStrategy wait... class SingleProducerSequencer (line 39) | public class SingleProducerSequencer extends SingleProducerSequencerFields{ method SingleProducerSequencer (line 41) | public SingleProducerSequencer(int bufferSize, final WaitStrategy wait... method claim (line 45) | @Override method isAvailable (line 50) | @Override method getHighestPublishedSequence (line 55) | @Override method hasAvailableCapacity (line 60) | @Override method remainingCapacity (line 83) | @Override method next (line 93) | @Override method next (line 98) | @Override method tryNext (line 126) | @Override method tryNext (line 131) | @Override method publish (line 146) | @Override method publish (line 153) | @Override FILE: src/main/java/io/mycat/memory/unsafe/ringbuffer/utils/Util.java class Util (line 8) | public class Util { method ceilingNextPowerOfTwo (line 16) | public static int ceilingNextPowerOfTwo(final int x) { method getMinimumSequence (line 26) | public static long getMinimumSequence(final Sequence[] sequences) method getMinimumSequence (line 39) | public static long getMinimumSequence(final Sequence[] sequences, long... method log2 (line 50) | public static int log2(int i) FILE: src/main/java/io/mycat/memory/unsafe/row/BufferHolder.java class BufferHolder (line 37) | public class BufferHolder { method BufferHolder (line 45) | public BufferHolder(UnsafeRow row) { method BufferHolder (line 49) | public BufferHolder(UnsafeRow row, int initialSize) { method grow (line 59) | public void grow(int neededSize) { method getRow (line 75) | public UnsafeRow getRow() { method reset (line 80) | public void reset() { method totalSize (line 84) | public int totalSize() { FILE: src/main/java/io/mycat/memory/unsafe/row/StructType.java class StructType (line 12) | public class StructType { method StructType (line 19) | public StructType(@Nonnull Map columToIndx,int fieldCo... method length (line 25) | public int length() { method getColumToIndx (line 29) | public Map getColumToIndx() { method getOrderCols (line 33) | public OrderCol[] getOrderCols() { method setOrderCols (line 37) | public void setOrderCols(OrderCol[] orderCols) { method apply (line 41) | public long apply(int i) { FILE: src/main/java/io/mycat/memory/unsafe/row/UnsafeRow.java class UnsafeRow (line 54) | public final class UnsafeRow extends MySQLPacket { method calculateBitSetWidthInBytes (line 60) | public static int calculateBitSetWidthInBytes(int numFields) { method calculateFixedPortionByteSize (line 64) | public static int calculateFixedPortionByteSize(int numFields) { method getFieldOffset (line 84) | private long getFieldOffset(int ordinal) { method assertIndexIsValid (line 88) | private void assertIndexIsValid(int index) { method UnsafeRow (line 103) | public UnsafeRow(int numFields) { method UnsafeRow (line 109) | public UnsafeRow() {} method getBaseObject (line 111) | public Object getBaseObject() { return baseObject; } method getBaseOffset (line 112) | public long getBaseOffset() { return baseOffset; } method getSizeInBytes (line 113) | public int getSizeInBytes() { return sizeInBytes; } method numFields (line 115) | public int numFields() { return numFields; } method pointTo (line 124) | public void pointTo(Object baseObject, long baseOffset, int sizeInByte... method pointTo (line 137) | public void pointTo(byte[] buf, int sizeInBytes) { method setTotalSize (line 141) | public void setTotalSize(int sizeInBytes) { method setNotNullAt (line 145) | public void setNotNullAt(int i) { method setNullAt (line 151) | public void setNullAt(int i) { method update (line 160) | public void update(int ordinal, Object value) { method setInt (line 164) | public void setInt(int ordinal, int value) { method setLong (line 170) | public void setLong(int ordinal, long value) { method setDouble (line 176) | public void setDouble(int ordinal, double value) { method setBoolean (line 185) | public void setBoolean(int ordinal, boolean value) { method setShort (line 191) | public void setShort(int ordinal, short value) { method setByte (line 197) | public void setByte(int ordinal, byte value) { method setFloat (line 203) | public void setFloat(int ordinal, float value) { method isNullAt (line 213) | public boolean isNullAt(int ordinal) { method getBoolean (line 219) | public boolean getBoolean(int ordinal) { method getByte (line 225) | public byte getByte(int ordinal) { method getShort (line 231) | public short getShort(int ordinal) { method getInt (line 237) | public int getInt(int ordinal) { method getLong (line 243) | public long getLong(int ordinal) { method getFloat (line 249) | public float getFloat(int ordinal) { method getDouble (line 255) | public double getDouble(int ordinal) { method getUTF8String (line 261) | public UTF8String getUTF8String(int ordinal) { method getBinary (line 268) | public byte[] getBinary(int ordinal) { method copy (line 293) | public UnsafeRow copy() { method createFromByteArray (line 311) | public static UnsafeRow createFromByteArray(int numBytes, int numField... method copyFrom (line 321) | public void copyFrom(UnsafeRow row) { method writeToStream (line 342) | public void writeToStream(OutputStream out, byte[] writeBuffer) throws... method hashCode (line 360) | @Override method equals (line 365) | @Override method getBytes (line 379) | public byte[] getBytes() { method write (line 393) | @Override method calcPacketSize (line 423) | @Override method getDecimal (line 433) | public BigDecimal getDecimal(int ordinal, int scale) { method updateDecimal (line 451) | public void updateDecimal(int ordinal, BigDecimal value) { method getPacketInfo (line 528) | @Override method toString (line 534) | @Override method anyNull (line 545) | public boolean anyNull() { FILE: src/main/java/io/mycat/memory/unsafe/row/UnsafeRowWriter.java class UnsafeRowWriter (line 40) | public class UnsafeRowWriter { method UnsafeRowWriter (line 48) | public UnsafeRowWriter(BufferHolder holder,int numFields) { method reset (line 59) | public void reset() { method zeroOutNullBytes (line 72) | public void zeroOutNullBytes() { method zeroOutPaddingBytes (line 78) | private void zeroOutPaddingBytes(int numBytes) { method holder (line 84) | public BufferHolder holder() { return holder; } method isNullAt (line 86) | public boolean isNullAt(int ordinal) { method setNullAt (line 90) | public void setNullAt(int ordinal) { method getFieldOffset (line 95) | public long getFieldOffset(int ordinal) { method setOffsetAndSize (line 99) | public void setOffsetAndSize(int ordinal, long size) { method setOffsetAndSize (line 103) | public void setOffsetAndSize(int ordinal, long currentCursor, long siz... method alignToWords (line 113) | public void alignToWords(int numBytes) { method write (line 127) | public void write(int ordinal, boolean value) { method write (line 133) | public void write(int ordinal, byte value) { method write (line 139) | public void write(int ordinal, short value) { method write (line 145) | public void write(int ordinal, int value) { method write (line 151) | public void write(int ordinal, long value) { method write (line 155) | public void write(int ordinal, float value) { method write (line 164) | public void write(int ordinal, double value) { method write (line 171) | public void write(int ordinal, byte[] input) { method grow (line 178) | public void grow( int numBytes) { method write (line 185) | public void write(int ordinal, byte[] input, int offset, int numBytes) { method write (line 210) | public void write(int ordinal, BigDecimal input) { FILE: src/main/java/io/mycat/memory/unsafe/storage/ConnectionId.java class ConnectionId (line 8) | public abstract class ConnectionId { method getBlockName (line 10) | public abstract String getBlockName(); method equals (line 12) | @Override method hashCode (line 17) | @Override method toString (line 22) | @Override FILE: src/main/java/io/mycat/memory/unsafe/storage/DataNodeDiskManager.java class DataNodeDiskManager (line 14) | public class DataNodeDiskManager { method DataNodeDiskManager (line 20) | public DataNodeDiskManager(MycatPropertyConf conf, boolean deleteFiles... method diskBlockManager (line 26) | public DataNodeFileManager diskBlockManager() throws IOException { method getDiskWriter (line 36) | public DiskRowWriter getDiskWriter( FILE: src/main/java/io/mycat/memory/unsafe/storage/DataNodeFileManager.java class DataNodeFileManager (line 40) | public class DataNodeFileManager { method DataNodeFileManager (line 60) | public DataNodeFileManager(MycatPropertyConf conf , boolean deleteFile... method createTempLocalBlock (line 88) | public TempDataNodeId createTempLocalBlock() throws IOException { method getFile (line 103) | public File getFile(String filename) throws IOException { method getFile (line 128) | public File getFile(ConnectionId connid) throws IOException { method createLocalDirs (line 137) | private List createLocalDirs(MycatPropertyConf conf) { method stop (line 156) | public void stop() { method doStop (line 160) | private void doStop() { FILE: src/main/java/io/mycat/memory/unsafe/storage/DeserializationStream.java class DeserializationStream (line 8) | public abstract class DeserializationStream { method readObject (line 10) | public abstract T readObject(); method readKey (line 12) | public T readKey(){return readObject();} method readValue (line 14) | public T readValue(){ return readObject();} method close (line 15) | public abstract void close(); FILE: src/main/java/io/mycat/memory/unsafe/storage/DiskRowWriter.java class DiskRowWriter (line 34) | public class DiskRowWriter extends OutputStream { method DiskRowWriter (line 83) | public DiskRowWriter( method open (line 102) | public DiskRowWriter open() throws FileNotFoundException { method close (line 120) | @Override method isOpen (line 146) | public boolean isOpen(){ method commitAndClose (line 153) | public void commitAndClose() throws IOException { method revertPartialWritesAndClose (line 177) | public File revertPartialWritesAndClose() throws IOException { method write (line 205) | private void write(Object key, Object value) throws IOException { method write (line 214) | @Override method write (line 218) | @Override method recordWritten (line 230) | public void recordWritten() throws IOException { method updateBytesWritten (line 244) | private void updateBytesWritten() throws IOException { method flush (line 250) | @Override FILE: src/main/java/io/mycat/memory/unsafe/storage/DummySerializerInstance.java class DummySerializerInstance (line 36) | public final class DummySerializerInstance extends SerializerInstance { method DummySerializerInstance (line 40) | private DummySerializerInstance() { } method serializeStream (line 42) | @Override method serialize (line 76) | public ByteBuffer serialize(T t, T ev1) { method deserializeStream (line 81) | public DeserializationStream deserializeStream(InputStream s) { method deserialize (line 86) | public T deserialize(ByteBuffer bytes, ClassLoader loader, T ev1) { method deserialize (line 90) | public T deserialize(ByteBuffer bytes, T ev1) { FILE: src/main/java/io/mycat/memory/unsafe/storage/SerializationStream.java class SerializationStream (line 8) | public abstract class SerializationStream{ method writeObject (line 11) | public abstract SerializationStream writeObject(T t); method writeKey (line 13) | public SerializationStream writeKey(T key){ method writeValue (line 17) | public SerializationStream writeValue(T value){ method flush (line 21) | public abstract void flush(); method close (line 22) | public abstract void close(); method writeAll (line 24) | public SerializationStream writeAll(Iterator iter){ FILE: src/main/java/io/mycat/memory/unsafe/storage/SerializerInstance.java class SerializerInstance (line 9) | public abstract class SerializerInstance { method serializeStream (line 10) | protected abstract SerializationStream serializeStream(OutputStream s ); method deserializeStream (line 11) | protected abstract DeserializationStream deserializeStream(InputStream... FILE: src/main/java/io/mycat/memory/unsafe/storage/SerializerManager.java class SerializerManager (line 9) | public class SerializerManager { method wrapForCompression (line 14) | public OutputStream wrapForCompression(ConnectionId blockId , OutputS... method wrapForCompression (line 21) | public InputStream wrapForCompression(ConnectionId blockId, InputStrea... FILE: src/main/java/io/mycat/memory/unsafe/storage/TempDataNodeId.java class TempDataNodeId (line 6) | public class TempDataNodeId extends ConnectionId { method TempDataNodeId (line 10) | public TempDataNodeId(String uuid) { method getBlockName (line 16) | @Override FILE: src/main/java/io/mycat/memory/unsafe/storage/TimeTrackingOutputStream.java class TimeTrackingOutputStream (line 12) | public final class TimeTrackingOutputStream extends OutputStream { method TimeTrackingOutputStream (line 17) | public TimeTrackingOutputStream(OutputStream outputStream) { method write (line 21) | @Override method write (line 27) | @Override method write (line 33) | @Override method flush (line 39) | @Override method close (line 45) | @Override FILE: src/main/java/io/mycat/memory/unsafe/types/ByteArray.java class ByteArray (line 24) | public final class ByteArray { method writeToMemory (line 33) | public static void writeToMemory(byte[] src, Object target, long targe... method getPrefix (line 40) | public static long getPrefix(byte[] bytes) { method subStringSQL (line 54) | public static byte[] subStringSQL(byte[] bytes, int pos, int len) { FILE: src/main/java/io/mycat/memory/unsafe/types/CalendarInterval.java class CalendarInterval (line 27) | public final class CalendarInterval implements Serializable { method unitRegex (line 45) | private static String unitRegex(String unit) { method toLong (line 61) | private static long toLong(String s) { method fromString (line 69) | public static CalendarInterval fromString(String s) { method toLongWithRange (line 90) | public static long toLongWithRange(String fieldName, method fromYearMonthString (line 108) | public static CalendarInterval fromYearMonthString(String s) throws Il... method fromDayTimeString (line 137) | public static CalendarInterval fromDayTimeString(String s) throws Ille... method fromSingleUnitString (line 167) | public static CalendarInterval fromSingleUnitString(String unit, Strin... method parseSecondNano (line 234) | public static long parseSecondNano(String secondNano) throws IllegalAr... method CalendarInterval (line 255) | public CalendarInterval(int months, long microseconds) { method add (line 260) | public CalendarInterval add(CalendarInterval that) { method subtract (line 266) | public CalendarInterval subtract(CalendarInterval that) { method negate (line 272) | public CalendarInterval negate() { method equals (line 276) | @Override method hashCode (line 285) | @Override method toString (line 290) | @Override method appendUnit (line 319) | private void appendUnit(StringBuilder sb, long value, String unit) { FILE: src/main/java/io/mycat/memory/unsafe/types/UTF8String.java class UTF8String (line 49) | public final class UTF8String implements Comparable, Externa... method getBaseObject (line 58) | public Object getBaseObject() { return base; } method getBaseOffset (line 59) | public long getBaseOffset() { return offset; } method fromBytes (line 78) | public static UTF8String fromBytes(byte[] bytes) { method fromBytes (line 91) | public static UTF8String fromBytes(byte[] bytes, int offset, int numBy... method fromAddress (line 102) | public static UTF8String fromAddress(Object base, long offset, int num... method fromString (line 109) | public static UTF8String fromString(String str) { method blankString (line 116) | public static UTF8String blankString(int length) { method UTF8String (line 122) | protected UTF8String(Object base, long offset, int numBytes) { method UTF8String (line 129) | public UTF8String() { method writeToMemory (line 138) | public void writeToMemory(Object target, long targetOffset) { method writeTo (line 142) | public void writeTo(ByteBuffer buffer) { method numBytesForFirstByte (line 155) | private static int numBytesForFirstByte(final byte b) { method numBytes (line 163) | public int numBytes() { method numChars (line 170) | public int numChars() { method getPrefix (line 181) | public long getPrefix() { method getBytes (line 224) | public byte[] getBytes() { method substring (line 241) | public UTF8String substring(final int start, final int until) { method substringSQL (line 268) | public UTF8String substringSQL(int pos, int length) { method contains (line 284) | public boolean contains(final UTF8String substring) { method getByte (line 301) | private byte getByte(int i) { method matchAt (line 305) | private boolean matchAt(final UTF8String s, int pos) { method startsWith (line 312) | public boolean startsWith(final UTF8String prefix) { method endsWith (line 316) | public boolean endsWith(final UTF8String suffix) { method toUpperCase (line 323) | public UTF8String toUpperCase() { method toUpperCaseSlow (line 346) | private UTF8String toUpperCaseSlow() { method toLowerCase (line 353) | public UTF8String toLowerCase() { method toLowerCaseSlow (line 376) | private UTF8String toLowerCaseSlow() { method toTitleCase (line 383) | public UTF8String toTitleCase() { method toTitleCaseSlow (line 409) | private UTF8String toTitleCaseSlow() { method findInSet (line 427) | public int findInSet(UTF8String match) { method copyUTF8String (line 458) | private UTF8String copyUTF8String(int start, int end) { method trim (line 465) | public UTF8String trim() { method trimLeft (line 480) | public UTF8String trimLeft() { method trimRight (line 492) | public UTF8String trimRight() { method reverse (line 505) | public UTF8String reverse() { method repeat (line 520) | public UTF8String repeat(int times) { method indexOf (line 546) | public int indexOf(UTF8String v, int start) { method find (line 576) | private int find(UTF8String str, int start) { method rfind (line 590) | private int rfind(UTF8String str, int start) { method subStringIndex (line 607) | public UTF8String subStringIndex(UTF8String delim, int count) { method rpad (line 657) | public UTF8String rpad(int len, UTF8String pad) { method lpad (line 689) | public UTF8String lpad(int len, UTF8String pad) { method concat (line 720) | public static UTF8String concat(UTF8String... inputs) { method concatWs (line 749) | public static UTF8String concatWs(UTF8String separator, UTF8String... ... method split (line 796) | public UTF8String[] split(UTF8String pattern, int limit) { method translate (line 806) | public UTF8String translate(Map dict) { method toString (line 820) | @Override method clone (line 825) | @Override method compareTo (line 830) | @Override method compare (line 844) | public int compare(final UTF8String other) { method equals (line 848) | @Override method levenshteinDistance (line 866) | public int levenshteinDistance(UTF8String other) { method hashCode (line 925) | @Override method soundex (line 941) | public UTF8String soundex() { method writeExternal (line 983) | public void writeExternal(ObjectOutput out) throws IOException { method readExternal (line 989) | public void readExternal(ObjectInput in) throws IOException, ClassNotF... method write (line 996) | @Override method read (line 1003) | @Override FILE: src/main/java/io/mycat/memory/unsafe/utils/ByteUnit.java type ByteUnit (line 19) | public enum ByteUnit { method ByteUnit (line 27) | ByteUnit(long multiplier) { method convertFrom (line 33) | public long convertFrom(long d, ByteUnit u) { method convertTo (line 38) | public long convertTo(long d, ByteUnit u) { method toBytes (line 53) | public double toBytes(long d) { method toKiB (line 60) | public long toKiB(long d) { return convertTo(d, KiB); } method toMiB (line 61) | public long toMiB(long d) { return convertTo(d, MiB); } method toGiB (line 62) | public long toGiB(long d) { return convertTo(d, GiB); } method toTiB (line 63) | public long toTiB(long d) { return convertTo(d, TiB); } method toPiB (line 64) | public long toPiB(long d) { return convertTo(d, PiB); } FILE: src/main/java/io/mycat/memory/unsafe/utils/BytesTools.java class BytesTools (line 39) | @SuppressWarnings("restriction") method getInt (line 97) | public static int getInt(byte[] buf) throws NumberFormatException { method getInt (line 101) | public static int getInt(byte[] buf, int offset, int endPos) throws Nu... method getLong (line 169) | public static long getLong(byte[] buf) throws NumberFormatException { method getLong (line 173) | public static long getLong(byte[] buf, int offset, int endpos) throws ... method getShort (line 241) | public static short getShort(byte[] buf) throws NumberFormatException { method getShort (line 245) | public static short getShort(byte[] buf, int offset, int endpos) throw... method getFloat (line 314) | public static float getFloat(byte [] src) throws UnsupportedEncodingEx... method getDouble (line 325) | public static double getDouble(byte [] src) throws UnsupportedEncoding... method long2Bytes (line 337) | public static byte[] long2Bytes(long l) throws UnsupportedEncodingExce... method int2Bytes (line 349) | public static byte[] int2Bytes(int i) throws UnsupportedEncodingExcept... method short2Bytes (line 361) | public static byte[] short2Bytes(short i) throws UnsupportedEncodingEx... method float2Bytes (line 372) | public static byte[] float2Bytes(float f) throws UnsupportedEncodingEx... method double2Bytes (line 383) | public static byte[] double2Bytes(double d) throws UnsupportedEncoding... method toBytes (line 397) | public static byte[] toBytes(ByteBuffer buf) { method readBytes (line 403) | private static byte[] readBytes(ByteBuffer buf) { method toString (line 413) | public static String toString(final byte [] b) { method toString (line 426) | public static String toString(final byte [] b1, method toString (line 440) | public static String toString(final byte [] b, int off) { method toString (line 460) | public static String toString(final byte [] b, int off, int len) { method toStringBinary (line 477) | public static String toStringBinary(final byte [] b) { method toStringBinary (line 493) | public static String toStringBinary(ByteBuffer buf) { method toStringBinary (line 516) | public static String toStringBinary(final byte [] b, int off, int len) { method isHexDigit (line 534) | private static boolean isHexDigit(char c) { method toBinaryFromHex (line 546) | public static byte toBinaryFromHex(byte ch) { method toBytesBinary (line 553) | public static byte [] toBytesBinary(String in) { method toBytes (line 590) | public static byte[] toBytes(String s) { method toBytes (line 601) | public static byte [] toBytes(final boolean b) { method toBoolean (line 610) | public static boolean toBoolean(final byte [] b) { method toBytes (line 623) | public static byte[] toBytes(long val) { method compareTo (line 638) | public static int compareTo(final byte [] left, final byte [] right) { method compareTo (line 654) | public static int compareTo(byte[] buffer1, int offset1, int length1, type Comparer (line 660) | interface Comparer { method compareTo (line 661) | int compareTo( method lexicographicalComparerJavaImpl (line 666) | @VisibleForTesting class LexicographicalComparerHolder (line 678) | @VisibleForTesting method getBestComparer (line 688) | static Comparer getBestComparer() { type PureJavaComparer (line 702) | enum PureJavaComparer implements Comparer { method compareTo (line 705) | @Override method equals (line 734) | public static boolean equals(final byte [] left, final byte [] right) { method equals (line 750) | public static boolean equals(final byte[] left, int leftOffset, int le... method equals (line 781) | public static boolean equals(byte[] a, ByteBuffer buf) { method startsWith (line 801) | public static boolean startsWith(byte[] bytes, byte[] prefix) { method add (line 815) | public static byte [] add(final byte [] a, final byte [] b, final byte... method add (line 827) | public static byte [] add(final byte [][] arrays) { method toByteArrays (line 857) | public static byte [][] toByteArrays(final String [] t) { method toBinaryByteArrays (line 869) | public static byte[][] toBinaryByteArrays(final String[] t) { method toByteArrays (line 882) | public static byte [][] toByteArrays(final String column) { method toByteArrays (line 891) | public static byte [][] toByteArrays(final byte [] column) { method paddingInt (line 898) | public static byte [] paddingInt(byte [] a){ method paddingLong (line 923) | public static byte [] paddingLong(byte [] a){ method paddingShort (line 947) | public static byte [] paddingShort(byte [] a){ FILE: src/main/java/io/mycat/memory/unsafe/utils/JavaUtils.java class JavaUtils (line 39) | public class JavaUtils { method closeQuietly (line 51) | public static void closeQuietly(Closeable closeable) { method deleteRecursively (line 67) | public static void deleteRecursively(File file) throws IOException { method listFilesSafely (line 92) | private static File[] listFilesSafely(File file) throws IOException { method isSymlink (line 104) | private static boolean isSymlink(File file) throws IOException { method timeStringAs (line 145) | public static long timeStringAs(String str, TimeUnit unit) { method timeStringAsMs (line 177) | public static long timeStringAsMs(String str) { method timeStringAsSec (line 185) | public static long timeStringAsSec(String str) { method byteStringAs (line 193) | public static long byteStringAs(String str, ByteUnit unit) { method byteStringAsBytes (line 233) | public static long byteStringAsBytes(String str) { method byteStringAsKb (line 243) | public static long byteStringAsKb(String str) { method byteStringAsMb (line 253) | public static long byteStringAsMb(String str) { method byteStringAsGb (line 263) | public static long byteStringAsGb(String str) { method bytesToString (line 268) | public static String bytesToString(long size) { method bytesToString2 (line 298) | public static String bytesToString2(long size) { method createDirectory (line 327) | public static File createDirectory(String rootDir, String blockmgr) th... method nonNegativeMod (line 355) | public static int nonNegativeMod(int x,int mod) { method nonNegativeHash (line 366) | public static int nonNegativeHash(Object obj) { FILE: src/main/java/io/mycat/memory/unsafe/utils/MycatPropertyConf.java class MycatPropertyConf (line 8) | public class MycatPropertyConf { method MycatPropertyConf (line 12) | public MycatPropertyConf(){ method set (line 17) | public MycatPropertyConf set(String key, String value) { method set (line 23) | public MycatPropertyConf set(String key, String value, boolean silent){ method getSizeAsBytes (line 39) | public long getSizeAsBytes(String s, long i) { method getSizeAsBytes (line 47) | public long getSizeAsBytes(String s, String defaultValue) { method getDouble (line 56) | public double getDouble(String s, double v) { method getBoolean (line 60) | public boolean getBoolean(String s, boolean b) { method getLong (line 74) | public long getLong(String s, long l) { method contains (line 78) | public boolean contains(String s) { method getInt (line 82) | public int getInt(String s, int i) { method byteStringAsBytes (line 91) | public Long byteStringAsBytes(String str) { method byteStringAsKb (line 100) | public Long byteStringAsKb(String str){ method byteStringAsMb (line 109) | public Long byteStringAsMb(String str) { method byteStringAsGb (line 118) | public Long byteStringAsGb(String str) { method memoryStringToMb (line 125) | public int memoryStringToMb(String str){ method getString (line 131) | public String getString(String s, String defaultValue) { FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/AbstractScalaRowIterator.java class AbstractScalaRowIterator (line 8) | public class AbstractScalaRowIterator implements Iterator { method hasNext (line 9) | @Override method next (line 14) | @Override method remove (line 19) | @Override FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/PrefixComparator.java class PrefixComparator (line 25) | public abstract class PrefixComparator { method compare (line 26) | public abstract int compare(long prefix1, long prefix2); FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/PrefixComparators.java class PrefixComparators (line 9) | public class PrefixComparators { method PrefixComparators (line 10) | private PrefixComparators() {} class BinaryPrefixComparator (line 25) | public static final class BinaryPrefixComparator { method computePrefix (line 26) | public static long computePrefix(byte[] bytes) { class DoublePrefixComparator (line 31) | public static final class DoublePrefixComparator { method computePrefix (line 36) | public static long computePrefix(double value) { class RadixSortSupport (line 51) | public abstract static class RadixSortSupport extends PrefixComparator { method sortDescending (line 53) | public abstract boolean sortDescending(); method sortSigned (line 56) | public abstract boolean sortSigned(); class RadixSortDemo (line 59) | public static final class RadixSortDemo extends PrefixComparators.Rad... method sortDescending (line 61) | @Override method sortSigned (line 66) | @Override method compare (line 71) | @Override class UnsignedPrefixComparator (line 80) | public static final class UnsignedPrefixComparator extends RadixSortSu... method sortDescending (line 81) | @Override public boolean sortDescending() { return false; } method sortSigned (line 82) | @Override public boolean sortSigned() { return false; } method compare (line 83) | @Override class UnsignedPrefixComparatorDesc (line 89) | public static final class UnsignedPrefixComparatorDesc extends RadixSo... method sortDescending (line 90) | @Override public boolean sortDescending() { return true; } method sortSigned (line 91) | @Override public boolean sortSigned() { return false; } method compare (line 92) | @Override class SignedPrefixComparator (line 98) | public static final class SignedPrefixComparator extends RadixSortSupp... method sortDescending (line 99) | @Override public boolean sortDescending() { return false; } method sortSigned (line 100) | @Override public boolean sortSigned() { return true; } method compare (line 101) | @Override class SignedPrefixComparatorDesc (line 107) | public static final class SignedPrefixComparatorDesc extends RadixSort... method sortDescending (line 108) | @Override public boolean sortDescending() { return true; } method sortSigned (line 109) | @Override public boolean sortSigned() { return true; } method compare (line 110) | @Override FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/RadixSort.java class RadixSort (line 24) | public class RadixSort { method sort (line 43) | public static int sort( method sortAtByte (line 81) | private static void sortAtByte( method getCounts (line 109) | private static long[][] getCounts( method transformCountsToOffsets (line 149) | private static long[] transformCountsToOffsets( method sortKeyPrefixArray (line 175) | public static int sortKeyPrefixArray( method getKeyPrefixArrayCounts (line 208) | private static long[][] getKeyPrefixArrayCounts( method sortKeyPrefixArrayAtByte (line 235) | private static void sortKeyPrefixArrayAtByte( FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/RecordComparator.java class RecordComparator (line 24) | public abstract class RecordComparator { method compare (line 32) | public abstract int compare( FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/RecordPointerAndKeyPrefix.java class RecordPointerAndKeyPrefix (line 20) | public final class RecordPointerAndKeyPrefix { FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/RowPrefixComputer.java class RowPrefixComputer (line 16) | public class RowPrefixComputer extends UnsafeExternalRowSorter.PrefixCom... method RowPrefixComputer (line 21) | public RowPrefixComputer(StructType schema){ method computePrefix (line 35) | protected long computePrefix(UnsafeRow row) throws UnsupportedEncoding... FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/SortDataFormat.java class SortDataFormat (line 36) | public abstract class SortDataFormat { method newKey (line 42) | public abstract K newKey(); method getKey (line 45) | protected abstract K getKey(Buffer data, int pos); method getKey (line 52) | protected K getKey(Buffer data, int pos, K reuse) { method swap (line 57) | protected abstract void swap(Buffer data, int pos0,int pos1); method copyElement (line 60) | protected abstract void copyElement(Buffer src, int srcPos,Buffer ds... method copyRange (line 66) | protected abstract void copyRange(Buffer src, int srcPos,Buffer dst,... method allocate (line 72) | protected abstract Buffer allocate(int length); FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/SortPrefixUtils.java class SortPrefixUtils (line 9) | public final class SortPrefixUtils { method canSortFullyWithPrefix (line 10) | public static boolean canSortFullyWithPrefix(long apply) { method getPrefixComparator (line 14) | public static PrefixComparator getPrefixComparator(StructType keySchem... method createPrefixGenerator (line 18) | public static UnsafeExternalRowSorter.PrefixComputer createPrefixGener... class NoOpPrefixComparator (line 26) | private class NoOpPrefixComparator extends PrefixComparator { method compare (line 28) | @Override FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/Sorter.java class Sorter (line 28) | public class Sorter { method Sorter (line 32) | public Sorter(SortDataFormat s){ method sort (line 39) | public void sort(Buffer a, int lo, int hi, Comparator c) { FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/TestSorter.java class TestSorter (line 23) | public class TestSorter implements Runnable { method runSorter (line 29) | public void runSorter( MyCatMemory myCatMemory, method getRandomString (line 111) | public static String getRandomString(int length) { //length表示生成字符串的长度 method TestSorter (line 126) | public TestSorter( MyCatMemory myCatMemory, MemoryManager memoryManage... method run (line 132) | @Override method main (line 145) | public static void main(String[] args) throws Exception { FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/TimSort.java class TimSort (line 57) | class TimSort { method TimSort (line 80) | public TimSort(SortDataFormat sortDataFormat) { method sort (line 117) | public void sort(Buffer a, int lo, int hi, Comparator c) { method binarySort (line 182) | @SuppressWarnings("fallthrough") method countRunAndMakeAscending (line 258) | private int countRunAndMakeAscending(Buffer a, int lo, int hi, Compara... method reverseRange (line 287) | private void reverseRange(Buffer a, int lo, int hi) { method minRunLength (line 313) | private int minRunLength(int n) { class SortState (line 323) | private class SortState { method SortState (line 392) | private SortState(Buffer a, Comparator c, int len) { method pushRun (line 424) | private void pushRun(int runBase, int runLen) { method mergeCollapse (line 441) | private void mergeCollapse() { method mergeForceCollapse (line 459) | private void mergeForceCollapse() { method mergeAt (line 475) | private void mergeAt(int i) { method gallopLeft (line 546) | private int gallopLeft(K key, Buffer a, int base, int len, int hint,... method gallopRight (line 617) | private int gallopRight(K key, Buffer a, int base, int len, int hint... method mergeLo (line 692) | private void mergeLo(int base1, int len1, int base2, int len2) { method mergeHi (line 812) | private void mergeHi(int base1, int len1, int base2, int len2) { method ensureCapacity (line 933) | private Buffer ensureCapacity(int minCapacity) { FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/UnsafeExternalRowSorter.java class UnsafeExternalRowSorter (line 36) | public final class UnsafeExternalRowSorter { class PrefixComputer (line 48) | public abstract static class PrefixComputer { method computePrefix (line 49) | protected abstract long computePrefix(UnsafeRow row) throws Unsuppor... method UnsafeExternalRowSorter (line 52) | public UnsafeExternalRowSorter(DataNodeMemoryManager dataNodeMemoryMan... method insertRow (line 77) | public void insertRow(UnsafeRow row) throws IOException { method getNumRowsInserted (line 91) | public long getNumRowsInserted() { method getPeakMemoryUsage (line 97) | public long getPeakMemoryUsage() { method getSortTimeNanos (line 104) | public long getSortTimeNanos() { method cleanupResources (line 108) | public void cleanupResources() { method sort (line 112) | public Iterator sort() throws IOException { method getRowUnsafeSorterIterator (line 163) | public UnsafeSorterIterator getRowUnsafeSorterIterator() throws IOExce... method mergerSort (line 168) | public Iterator mergerSort(List list)... method sort (line 230) | public Iterator sort(Iterator inputIterator) thr... class RowComparator (line 241) | private static final class RowComparator extends RecordComparator { method RowComparator (line 247) | RowComparator(StructType schema) { method compare (line 257) | @Override FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/UnsafeExternalSorter.java class UnsafeExternalSorter (line 28) | public final class UnsafeExternalSorter extends MemoryConsumer { method createWithExistingInMemorySorter (line 67) | public static UnsafeExternalSorter createWithExistingInMemorySorter( method create (line 87) | public static UnsafeExternalSorter create( method UnsafeExternalSorter (line 103) | private UnsafeExternalSorter( method closeCurrentPage (line 144) | @VisibleForTesting method spill (line 154) | @Override method getMemoryUsage (line 242) | private long getMemoryUsage() { method updatePeakMemoryUsed (line 250) | private void updatePeakMemoryUsed() { method getPeakMemoryUsedBytes (line 260) | public long getPeakMemoryUsedBytes() { method getSortTimeNanos (line 268) | public long getSortTimeNanos() { method getSpillSize (line 279) | public long getSpillSize() { method getNumberOfAllocatedPages (line 283) | @VisibleForTesting method freeMemory (line 293) | private long freeMemory() { method deleteSpillFiles (line 309) | private void deleteSpillFiles() { method cleanupResources (line 331) | public void cleanupResources() { method growPointerArrayIfNecessary (line 347) | private void growPointerArrayIfNecessary() throws IOException { method acquireNewPageIfNecessary (line 381) | private void acquireNewPageIfNecessary(int required) { method insertRecord (line 394) | public void insertRecord(Object recordBase, long recordOffset, int len... method insertKVRecord (line 421) | public void insertKVRecord(Object keyBase, long keyOffset, int keyLen, method merge (line 490) | public void merge(UnsafeExternalSorter other) throws IOException { method getSortedIterator (line 504) | public UnsafeSorterIterator getSortedIterator() throws IOException { class SpillableIterator (line 537) | public class SpillableIterator extends UnsafeSorterIterator { method SpillableIterator (line 544) | SpillableIterator(UnsafeInMemorySorter.SortedIterator inMemIterator) { method getNumRecords (line 549) | public int getNumRecords() { method spill (line 553) | public long spill() throws IOException { method hasNext (line 604) | @Override method loadNext (line 609) | @Override method getBaseObject (line 627) | @Override method getBaseOffset (line 632) | @Override method getRecordLength (line 637) | @Override method getKeyPrefix (line 642) | @Override method getIterator (line 656) | public UnsafeSorterIterator getIterator() throws IOException { class ChainedIterator (line 688) | static class ChainedIterator extends UnsafeSorterIterator { method ChainedIterator (line 694) | ChainedIterator(Queue iterators) { method getNumRecords (line 704) | @Override method hasNext (line 709) | @Override method loadNext (line 717) | @Override method getBaseObject (line 725) | @Override method getBaseOffset (line 728) | @Override method getRecordLength (line 731) | @Override method getKeyPrefix (line 734) | @Override FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/UnsafeInMemorySorter.java class UnsafeInMemorySorter (line 39) | public final class UnsafeInMemorySorter { class SortComparator (line 41) | private static final class SortComparator implements Comparator { method KVSorterIterator (line 255) | private KVSorterIterator(UnsafeSorterIterator underlying) { method next (line 259) | @Override method getKey (line 288) | @Override method getValue (line 293) | @Override method close (line 298) | @Override class BaseOrdering (line 304) | class BaseOrdering extends Ordering { method compare (line 305) | @Override FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/UnsafeKeyValueSorter.java class UnsafeKeyValueSorter (line 27) | public abstract class UnsafeKeyValueSorter { method insert (line 29) | public abstract void insert(UnsafeRow key, UnsafeRow value); method sort (line 31) | public abstract KVIterator sort() throws IOExcep... FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/UnsafeRowsMerger.java class UnsafeRowsMerger (line 10) | public final class UnsafeRowsMerger { method UnsafeRowsMerger (line 14) | UnsafeRowsMerger( method addSpillIfNotEmpty (line 44) | public void addSpillIfNotEmpty(UnsafeSorterIterator iterator) throws I... method getNumRecords (line 55) | public int getNumRecords() { method getSortedIterator (line 59) | public UnsafeSorterIterator getSortedIterator() throws IOException { FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/UnsafeSortDataFormat.java class UnsafeSortDataFormat (line 32) | public final class UnsafeSortDataFormat method UnsafeSortDataFormat (line 37) | private UnsafeSortDataFormat() { } method getKey (line 39) | @Override method newKey (line 45) | @Override method getKey (line 50) | @Override method swap (line 58) | @Override method copyElement (line 68) | @Override method copyRange (line 74) | @Override method allocate (line 84) | @Override FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/UnsafeSorterIterator.java class UnsafeSorterIterator (line 22) | public abstract class UnsafeSorterIterator { method hasNext (line 24) | public abstract boolean hasNext(); method loadNext (line 26) | public abstract void loadNext() throws IOException; method getBaseObject (line 28) | public abstract Object getBaseObject(); method getBaseOffset (line 30) | public abstract long getBaseOffset(); method getRecordLength (line 32) | public abstract int getRecordLength(); method getKeyPrefix (line 34) | public abstract long getKeyPrefix(); method getNumRecords (line 36) | public abstract int getNumRecords(); FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/UnsafeSorterSpillMerger.java class UnsafeSorterSpillMerger (line 24) | final class UnsafeSorterSpillMerger { method UnsafeSorterSpillMerger (line 29) | UnsafeSorterSpillMerger( method addSpillIfNotEmpty (line 59) | public void addSpillIfNotEmpty(UnsafeSorterIterator spillReader) throw... method getSortedIterator (line 81) | public UnsafeSorterIterator getSortedIterator() throws IOException { FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/UnsafeSorterSpillReader.java class UnsafeSorterSpillReader (line 33) | public final class UnsafeSorterSpillReader extends UnsafeSorterIterator ... method UnsafeSorterSpillReader (line 48) | public UnsafeSorterSpillReader( method getNumRecords (line 64) | @Override method hasNext (line 69) | @Override method loadNext (line 74) | @Override method getBaseObject (line 89) | @Override method getBaseOffset (line 94) | @Override method getRecordLength (line 99) | @Override method getKeyPrefix (line 104) | @Override method close (line 109) | @Override FILE: src/main/java/io/mycat/memory/unsafe/utils/sort/UnsafeSorterSpillWriter.java class UnsafeSorterSpillWriter (line 33) | public final class UnsafeSorterSpillWriter { method UnsafeSorterSpillWriter (line 49) | public UnsafeSorterSpillWriter( method writeLongToBuffer (line 70) | private void writeLongToBuffer(long v, int offset) throws IOException { method writeIntToBuffer (line 82) | private void writeIntToBuffer(int v, int offset) throws IOException { method write (line 97) | public void write( method close (line 186) | public void close() throws IOException { method getFile (line 192) | public File getFile() { method getReader (line 196) | public UnsafeSorterSpillReader getReader(SerializerManager serializerM... FILE: src/main/java/io/mycat/migrate/BinlogIdleCheck.java class BinlogIdleCheck (line 16) | public class BinlogIdleCheck implements Runnable { method BinlogIdleCheck (line 19) | public BinlogIdleCheck(BinlogStream binlogStream) { method run (line 23) | @Override public void run() { FILE: src/main/java/io/mycat/migrate/BinlogStream.java class BinlogStream (line 31) | public class BinlogStream { method getMigrateTaskList (line 51) | public List getMigrateTaskList() { method setMigrateTaskList (line 55) | public void setMigrateTaskList(List migrateTaskList) { method getSlaveID (line 67) | public long getSlaveID() { method setSlaveID (line 71) | public void setSlaveID(long slaveID) { method getBinglogFile (line 75) | public String getBinglogFile() { method setBinglogFile (line 79) | public void setBinglogFile(String binglogFile) { method getBinlogPos (line 83) | public long getBinlogPos() { method setBinlogPos (line 87) | public void setBinlogPos(long binlogPos) { method BinlogStream (line 94) | public BinlogStream(String hostname, int port, String username, String... method setGroupEventsByTX (line 102) | public void setGroupEventsByTX(boolean groupEventsByTX) { method connect (line 107) | public void connect() throws IOException { method initTaskDate (line 114) | private void initTaskDate() { method connect (line 121) | public void connect(long timeoutInMilliseconds) throws IOException, Ti... method allocateBinaryLogClient (line 128) | private synchronized BinaryLogClient allocateBinaryLogClient() { method isConnected (line 141) | public synchronized boolean isConnected() { method disconnect (line 146) | public synchronized void disconnect() throws IOException { method shutdownAndAwaitTermination (line 155) | void shutdownAndAwaitTermination(ExecutorService pool) { class DelegatingEventListener (line 174) | private final class DelegatingEventListener implements BinaryLogClient... method loadColumn (line 184) | private Map> loadColumn(String database... method onEvent (line 204) | @Override method exeSql (line 257) | private void exeSql(MigrateTask task, String sql) { method handleOtherSqlEvent (line 279) | private void handleOtherSqlEvent(Event event) { method isShouldBeFilter (line 296) | private boolean isShouldBeFilter(String database, String table) { method handleWriteRowsEvent (line 315) | private void handleWriteRowsEvent(Event event) { method checkIfExeSql (line 365) | private void checkIfExeSql(TableMapEventData tableMapEvent, StringBu... method convertBinlogValue (line 380) | private Object convertBinlogValue(Serializable value, String dataTyp... method dateToStringFromUTC (line 405) | private String dateToStringFromUTC(Long date) { method datetimeToStringFromUTC (line 410) | private String datetimeToStringFromUTC(Long date) { method dateToString (line 415) | private String dateToString(Long date) { method dateToString (line 420) | private String dateToString(Date date, String dateType) { method handleUpdateRowsEvent (line 437) | private void handleUpdateRowsEvent(Event event) { method handleDeleteRowsEvent (line 499) | private void handleDeleteRowsEvent(Event event) { method main (line 548) | public static void main(String[] args) { FILE: src/main/java/io/mycat/migrate/BinlogStreamHoder.java class BinlogStreamHoder (line 9) | public class BinlogStreamHoder { FILE: src/main/java/io/mycat/migrate/MigrateDumpRunner.java class MigrateDumpRunner (line 42) | public class MigrateDumpRunner implements Runnable { method MigrateDumpRunner (line 48) | public MigrateDumpRunner(MigrateTask task, CountDownLatch latch, Atomi... method run (line 54) | @Override method extractCreateSql (line 119) | private String extractCreateSql(List lines) { method exeCreateTableToDn (line 142) | private void exeCreateTableToDn(String sql, String toDn, String table)... method pushMsgToZK (line 157) | private void pushMsgToZK(String rootZkPath, String child, int status, ... method loaddataToDn (line 174) | private void loaddataToDn(File loaddataFile, String toDn, String table... method makeWhere (line 196) | private String makeWhere(MigrateTask task) { method querySecurePath (line 210) | private static String querySecurePath(DBHostConfig config) { method main (line 227) | public static void main(String[] args) { FILE: src/main/java/io/mycat/migrate/MigrateMainRunner.java class MigrateMainRunner (line 22) | public class MigrateMainRunner implements Runnable { method MigrateMainRunner (line 30) | public MigrateMainRunner(String dataHost, List migrateTas... method run (line 38) | @Override FILE: src/main/java/io/mycat/migrate/MigrateTask.java class MigrateTask (line 14) | public class MigrateTask implements Serializable { method getStatus (line 39) | public int getStatus() { method setStatus (line 43) | public void setStatus(int status) { method isHaserror (line 47) | public boolean isHaserror() { method setHaserror (line 51) | public void setHaserror(boolean haserror) { method getSlots (line 55) | public List getSlots() { method setSlots (line 59) | public void setSlots(List slots) { method getSize (line 63) | public int getSize() method isHasExecute (line 71) | public boolean isHasExecute() { method setHasExecute (line 75) | public void setHasExecute(boolean hasExecute) { method getBinlogFile (line 79) | public String getBinlogFile() { method setBinlogFile (line 83) | public void setBinlogFile(String binlogFile) { method getPos (line 87) | public int getPos() { method setPos (line 91) | public void setPos(int pos) { method getFrom (line 95) | public String getFrom() { method getLastBinlogDate (line 99) | public Date getLastBinlogDate() { method setLastBinlogDate (line 103) | public void setLastBinlogDate(Date lastBinlogDate) { method setFrom (line 107) | public void setFrom(String from) { method getTo (line 111) | public String getTo() { method setTo (line 115) | public void setTo(String to) { method getTable (line 119) | public String getTable() { method setTable (line 123) | public void setTable(String table) { method getMethod (line 127) | public String getMethod() { method setMethod (line 131) | public void setMethod(String method) { method getFclass (line 135) | public String getFclass() { method setFclass (line 139) | public void setFclass(String fclass) { method getSchema (line 143) | public String getSchema() { method setSchema (line 147) | public void setSchema(String schema) { method getSlaveId (line 151) | public int getSlaveId() { method setSlaveId (line 155) | public void setSlaveId(int slaveId) { method getZkpath (line 159) | public String getZkpath() { method setZkpath (line 163) | public void setZkpath(String zkpath) { method addSlots (line 167) | public void addSlots(Range range) method addSlots (line 172) | public void addSlots(List ranges) FILE: src/main/java/io/mycat/migrate/MigrateTaskWatch.java class MigrateTaskWatch (line 28) | public class MigrateTaskWatch { method start (line 31) | public static void start() { class TaskPathChildrenCacheListener (line 62) | private static class TaskPathChildrenCacheListener implements PathChil... method childEvent (line 63) | @Override method isTaskErrorOrSucess (line 100) | private boolean isTaskErrorOrSucess(PathChildrenCacheEvent event) { method addOrUpdate (line 113) | private void addOrUpdate(PathChildrenCacheEvent event) throws Except... method removeStatusNode (line 179) | private List removeStatusNode(List dataHosts) { method getDataHostNameFromNode (line 192) | private static String getDataHostNameFromNode(String dataNode) { method mergerTaskForDataHost (line 197) | private static Map> mergerTaskForDataHost(... FILE: src/main/java/io/mycat/migrate/MigrateUtils.java class MigrateUtils (line 28) | public class MigrateUtils { method balanceExpand (line 40) | public static Map> balanceExpand(String tabl... method getPartAndRemove (line 84) | private static List getPartAndRemove(List rangeList, int... method getCurTotalSizeForTask (line 116) | private static int getCurTotalSizeForTask(List rangeList) { method removeAndGetRemain (line 125) | public static List removeAndGetRemain(List oriRangeList,... method removeAndGetRemain (line 132) | private static List removeAndGetRemain(List oriRangeList... method removeAndGetRemain (line 140) | private static List removeAndGetRemain(Range oriRange, Range ne... method convertRangeListToString (line 160) | public static String convertRangeListToString(List rangeList) { method convertRangeStringToList (line 172) | public static List convertRangeStringToList(String rangeStr) { method getCurTotalSize (line 192) | public static int getCurTotalSize(List rangeList) { method getDatabaseFromDataNode (line 200) | public static String getDatabaseFromDataNode(String dn) { method getDataHostFromDataNode (line 204) | public static String getDataHostFromDataNode(String dn) { method convertAllTask (line 208) | public static List convertAllTask(List allTasks) { method queryAllTask (line 216) | public static List queryAllTask(String basePath, List allTaskList) throw... method check (line 282) | private void check(String taskID, List allTaskList) throw... method makeCleanSql (line 294) | private String makeCleanSql(MigrateTask task) { method modifyRuleData (line 314) | private CuratorTransactionFinal modifyRuleData(CuratorTransactionFinal... method modifyRuleData (line 350) | private void modifyRuleData(Properties prop, MigrateTask task, List rangeList) { method modifyZkRules (line 378) | private static CuratorTransactionFinal modifyZkRules(CuratorTransactio... method modifyTableConfigRules (line 406) | private static CuratorTransactionFinal modifyTableConfigRules(CuratorT... FILE: src/main/java/io/mycat/migrate/SwitchPrepareCheckRunner.java class SwitchPrepareCheckRunner (line 28) | public class SwitchPrepareCheckRunner implements Runnable { method SwitchPrepareCheckRunner (line 37) | public SwitchPrepareCheckRunner( String taskID, String taskPath, method run (line 45) | @Override public void run() { method checkIsInTransation (line 141) | private boolean checkIsInTransation(BackendConnection backendConnecti... FILE: src/main/java/io/mycat/migrate/SwitchPrepareListener.java class SwitchPrepareListener (line 25) | public class SwitchPrepareListener implements PathChildrenCacheListener { method childEvent (line 28) | @Override method checkSwitch (line 40) | private void checkSwitch(PathChildrenCacheEvent event) { method getRealSize (line 85) | private int getRealSize(List dataHosts) { FILE: src/main/java/io/mycat/migrate/TaskNode.java class TaskNode (line 8) | public class TaskNode implements Serializable { method getSql (line 20) | public String getSql() { method getTable (line 24) | public String getTable() { method setTable (line 28) | public void setTable(String table) { method getAdd (line 32) | public String getAdd() { method setAdd (line 36) | public void setAdd(String add) { method setSql (line 40) | public void setSql(String sql) { method getStatus (line 44) | public int getStatus() { method setStatus (line 48) | public void setStatus(int status) { method getSchema (line 52) | public String getSchema() { method setSchema (line 56) | public void setSchema(String schema) { method getTimeout (line 60) | public int getTimeout() { method setTimeout (line 64) | public void setTimeout(int timeout) { method getCharset (line 68) | public String getCharset() { method setCharset (line 72) | public void setCharset(String charset) { method isForceBinlog (line 76) | public boolean isForceBinlog() { method setForceBinlog (line 80) | public void setForceBinlog(boolean forceBinlog) { method getBackupFile (line 84) | public String getBackupFile() { method setBackupFile (line 88) | public void setBackupFile(String backupFile) { method getException (line 92) | public String getException() { method addException (line 96) | public void addException(String exception) { FILE: src/main/java/io/mycat/migrate/TaskStatus.java class TaskStatus (line 8) | public class TaskStatus implements Serializable { method getStatus (line 15) | public int getStatus() { method setStatus (line 19) | public void setStatus(int status) { method getMsg (line 23) | public String getMsg() { method setMsg (line 27) | public void setMsg(String msg) { method getBinlogFile (line 31) | public String getBinlogFile() { method setBinlogFile (line 35) | public void setBinlogFile(String binlogFile) { method getPos (line 39) | public long getPos() { method setPos (line 43) | public void setPos(long pos) { FILE: src/main/java/io/mycat/net/AIOAcceptor.java class AIOAcceptor (line 45) | public final class AIOAcceptor implements SocketAcceptor, method AIOAcceptor (line 57) | public AIOAcceptor(String name, String ip, int port, int backlog, method getName (line 71) | public String getName() { method start (line 75) | public void start() { method getPort (line 79) | public int getPort() { method getAcceptCount (line 83) | public long getAcceptCount() { method accept (line 87) | private void accept(NetworkChannel channel, Long id) { method pendingAccept (line 101) | private void pendingAccept() { method completed (line 111) | @Override method failed (line 119) | @Override method closeChannel (line 127) | private static void closeChannel(NetworkChannel channel) { class AcceptIdGenerator (line 143) | private static class AcceptIdGenerator { method getId (line 150) | private long getId() { FILE: src/main/java/io/mycat/net/AIOConnector.java class AIOConnector (line 36) | public final class AIOConnector implements SocketConnector, method AIOConnector (line 41) | public AIOConnector() { method completed (line 45) | @Override method failed (line 50) | @Override method finishConnect (line 55) | private void finishConnect(BackendAIOConnection c) { class ConnectIdGenerator (line 76) | private static class ConnectIdGenerator { method getId (line 82) | private long getId() { FILE: src/main/java/io/mycat/net/AIOSocketWR.java class AIOSocketWR (line 12) | public class AIOSocketWR extends SocketWR method AIOSocketWR (line 21) | public AIOSocketWR(AbstractConnection conn) method asynRead (line 27) | @Override method asynWrite (line 47) | private void asynWrite(final ByteBuffer buffer) method write0 (line 85) | private boolean write0() method onWriteFinished (line 133) | protected void onWriteFinished(int result) method doNextWriteCheck (line 147) | public void doNextWriteCheck() method checkAlive (line 161) | @Override method disableRead (line 166) | @Override method enableRead (line 172) | @Override class AIOWriteHandler (line 179) | class AIOWriteHandler implements CompletionHandler { method completed (line 181) | @Override method failed (line 198) | @Override class AIOReadHandler (line 207) | class AIOReadHandler implements CompletionHandler method completed (line 209) | @Override method failed (line 233) | @Override FILE: src/main/java/io/mycat/net/AbstractConnection.java class AbstractConnection (line 49) | public abstract class AbstractConnection implements NIOConnection { method AbstractConnection (line 94) | public AbstractConnection(NetworkChannel channel) { method getCharset (line 113) | public String getCharset() { method setCharset (line 117) | public boolean setCharset(String charset) { method isSupportCompress (line 134) | public boolean isSupportCompress() { method setSupportCompress (line 138) | public void setSupportCompress(boolean isSupportCompress) { method getCharsetIndex (line 142) | public int getCharsetIndex() { method getIdleTimeout (line 146) | public long getIdleTimeout() { method getSocketWR (line 150) | public SocketWR getSocketWR() { method setIdleTimeout (line 154) | public void setIdleTimeout(long idleTimeout) { method getLocalPort (line 158) | public int getLocalPort() { method getHost (line 162) | public String getHost() { method setHost (line 166) | public void setHost(String host) { method getPort (line 170) | public int getPort() { method setPort (line 174) | public void setPort(int port) { method setLocalPort (line 178) | public void setLocalPort(int localPort) { method getId (line 182) | public long getId() { method setId (line 186) | public void setId(long id) { method isIdleTimeout (line 190) | public boolean isIdleTimeout() { method getChannel (line 194) | public NetworkChannel getChannel() { method getPacketHeaderSize (line 198) | public int getPacketHeaderSize() { method setPacketHeaderSize (line 202) | public void setPacketHeaderSize(int packetHeaderSize) { method getMaxPacketSize (line 206) | public int getMaxPacketSize() { method setMaxPacketSize (line 210) | public void setMaxPacketSize(int maxPacketSize) { method getStartupTime (line 214) | public long getStartupTime() { method getLastReadTime (line 218) | public long getLastReadTime() { method setProcessor (line 222) | public void setProcessor(NIOProcessor processor) { method getLastWriteTime (line 228) | public long getLastWriteTime() { method setLastWriteTime (line 232) | public void setLastWriteTime(long lasttime){ method getNetInBytes (line 236) | public long getNetInBytes() { method getNetOutBytes (line 240) | public long getNetOutBytes() { method getWriteAttempts (line 244) | public int getWriteAttempts() { method getProcessor (line 248) | public NIOProcessor getProcessor() { method getReadBuffer (line 252) | public ByteBuffer getReadBuffer() { method allocate (line 256) | public ByteBuffer allocate() { method recycle (line 262) | public final void recycle(ByteBuffer buffer) { method setHandler (line 266) | public void setHandler(NIOHandler handler) { method handle (line 270) | @Override method register (line 284) | @Override method asynRead (line 289) | public void asynRead() throws IOException { method doNextWriteCheck (line 293) | public void doNextWriteCheck() throws IOException { method onReadData (line 300) | public void onReadData(int got) throws IOException { method isConReadBuffer (line 390) | private boolean isConReadBuffer(ByteBuffer buffer) { method ensureFreeSpaceOfReadBuffer (line 394) | private ByteBuffer ensureFreeSpaceOfReadBuffer(ByteBuffer buffer, method compactReadBuffer (line 421) | private ByteBuffer compactReadBuffer(ByteBuffer buffer, int offset) { method write (line 432) | public void write(byte[] data) { method writeNotSend (line 439) | private final void writeNotSend(ByteBuffer buffer) { method write (line 456) | @Override method checkWriteBuffer (line 478) | public ByteBuffer checkWriteBuffer(ByteBuffer buffer, int capacity, bo... method writeToBuffer (line 495) | public ByteBuffer writeToBuffer(byte[] src, ByteBuffer buffer) { method close (line 516) | @Override method isClosed (line 542) | public boolean isClosed() { method idleCheck (line 546) | public void idleCheck() { method cleanup (line 556) | synchronized protected void cleanup() { method getPacketLength (line 584) | protected int getPacketLength(ByteBuffer buffer, int offset) { method getWriteQueue (line 600) | public ConcurrentLinkedQueue getWriteQueue() { method closeSocket (line 604) | private void closeSocket() { method onConnectfinish (line 630) | public void onConnectfinish() { method checkAlive (line 634) | public boolean checkAlive(){ method isEnableFlowController (line 638) | public boolean isEnableFlowController() { method getWriteQueueStopThreshold (line 642) | public int getWriteQueueStopThreshold() { method getWriteQueueRecoverThreshold (line 646) | public int getWriteQueueRecoverThreshold() { method checkQueueFlow (line 653) | abstract public void checkQueueFlow(); FILE: src/main/java/io/mycat/net/BIOConnection.java type BIOConnection (line 3) | public interface BIOConnection extends ClosableConnection{ FILE: src/main/java/io/mycat/net/BackendAIOConnection.java class BackendAIOConnection (line 35) | public abstract class BackendAIOConnection extends AbstractConnection im... method BackendAIOConnection (line 42) | public BackendAIOConnection(NetworkChannel channel) { method register (line 46) | public void register() throws IOException { method setHost (line 51) | public void setHost(String host) { method setPort (line 56) | public void setPort(int port) { method discardClose (line 63) | public void discardClose(String reason){ method onConnectFailed (line 66) | public abstract void onConnectFailed(Throwable e); method finishConnect (line 68) | public boolean finishConnect() throws IOException { method setProcessor (line 74) | public void setProcessor(NIOProcessor processor) { method checkQueueFlow (line 79) | @Override method toString (line 84) | @Override FILE: src/main/java/io/mycat/net/ClosableConnection.java type ClosableConnection (line 26) | public interface ClosableConnection { method getCharset (line 27) | String getCharset(); method close (line 31) | void close(String reason); method isClosed (line 33) | boolean isClosed(); method idleCheck (line 35) | public void idleCheck(); method getStartupTime (line 37) | long getStartupTime(); method getHost (line 39) | String getHost(); method getPort (line 41) | int getPort(); method getLocalPort (line 43) | int getLocalPort(); method getNetInBytes (line 45) | long getNetInBytes(); method getNetOutBytes (line 47) | long getNetOutBytes(); FILE: src/main/java/io/mycat/net/ConnectionException.java class ConnectionException (line 26) | public class ConnectionException extends RuntimeException { method ConnectionException (line 34) | public ConnectionException(int code, String msg) { method toString (line 40) | @Override FILE: src/main/java/io/mycat/net/FrontendConnection.java class FrontendConnection (line 69) | public abstract class FrontendConnection extends AbstractConnection { method FrontendConnection (line 91) | public FrontendConnection(NetworkChannel channel) throws IOException { method getId (line 112) | public long getId() { method setId (line 116) | public void setId(long id) { method getHost (line 123) | public String getHost() { method setHost (line 127) | public void setHost(String host) { method getPort (line 131) | public int getPort() { method setPort (line 135) | public void setPort(int port) { method getLocalPort (line 139) | public int getLocalPort() { method setLocalPort (line 143) | public void setLocalPort(int localPort) { method setAccepted (line 147) | public void setAccepted(boolean isAccepted) { method setProcessor (line 151) | public void setProcessor(NIOProcessor processor) { method getLoadDataInfileHandler (line 156) | public LoadDataInfileHandler getLoadDataInfileHandler() { method setLoadDataInfileHandler (line 160) | public void setLoadDataInfileHandler(LoadDataInfileHandler loadDataInf... method setQueryHandler (line 164) | public void setQueryHandler(FrontendQueryHandler queryHandler) { method setPrepareHandler (line 168) | public void setPrepareHandler(FrontendPrepareHandler prepareHandler) { method setAuthenticated (line 172) | public void setAuthenticated(boolean isAuthenticated) { method getPrivileges (line 176) | public FrontendPrivileges getPrivileges() { method setPrivileges (line 180) | public void setPrivileges(FrontendPrivileges privileges) { method getUser (line 184) | public String getUser() { method setUser (line 188) | public void setUser(String user) { method getSchema (line 192) | public String getSchema() { method setSchema (line 196) | public void setSchema(String schema) { method getExecuteSql (line 200) | public String getExecuteSql() { method setExecuteSql (line 204) | public void setExecuteSql(String executeSql) { method getSeed (line 208) | public byte[] getSeed() { method setCharsetIndex (line 212) | public boolean setCharsetIndex(int ci) { method isAllowMultiStatements (line 221) | public boolean isAllowMultiStatements() { method setAllowMultiStatements (line 225) | public void setAllowMultiStatements(boolean allowMultiStatements) { method writeErrMessage (line 229) | public void writeErrMessage(int errno, String msg) { method setResponseId (line 240) | public void setResponseId() { method getStack (line 244) | public String getStack() { method canResponse (line 253) | public boolean canResponse() { method writeErrMessage (line 272) | public void writeErrMessage(byte id, int errno, String msg) { method initDB (line 280) | public void initDB(byte[] data) { method loadDataInfileStart (line 308) | public void loadDataInfileStart(String sql) { method loadDataInfileData (line 322) | public void loadDataInfileData(byte[] data) { method loadDataInfileEnd (line 336) | public void loadDataInfileEnd(byte packID) { method query (line 350) | public void query(String sql) { method query (line 404) | public void query(byte[] data) { method stmtPrepare (line 431) | public void stmtPrepare(byte[] data) { method stmtSendLongData (line 459) | public void stmtSendLongData(byte[] data) { method stmtReset (line 467) | public void stmtReset(byte[] data) { method stmtExecute (line 475) | public void stmtExecute(byte[] data) { method stmtClose (line 483) | public void stmtClose(byte[] data) { method fieldList (line 494) | public void fieldList(byte[] data) { method ping (line 509) | public void ping() { method heartbeat (line 513) | public void heartbeat(byte[] data) { method kill (line 517) | public void kill(byte[] data) { method unknown (line 521) | public void unknown(byte[] data) { method register (line 525) | @Override method handle (line 572) | @Override method rawHandle (line 588) | public void rawHandle(final byte[] data) { method getServerCapabilities (line 605) | protected int getServerCapabilities() { method isConnectionReset (line 636) | protected boolean isConnectionReset(Throwable t) { method toString (line 644) | @Override method encodeString (line 653) | private final static byte[] encodeString(String src, String charset) { method close (line 667) | @Override method setOption (line 676) | public void setOption(byte[] data) { method resetConnection (line 709) | public void resetConnection() { method isEnableFlowController (line 715) | public boolean isEnableFlowController() { method setEnableFlowController (line 719) | public void setEnableFlowController(boolean enableFlowController) { method getFlowController (line 723) | public QueueFlowController getFlowController() { class QueueFlowController (line 733) | public class QueueFlowController { method QueueFlowController (line 739) | public QueueFlowController(FrontendConnection c) { method recoverIORead (line 748) | private void recoverIORead() { method stopIORead (line 763) | private void stopIORead(final Collection conns) { method check (line 782) | public void check(Map target) { FILE: src/main/java/io/mycat/net/NIOAcceptor.java class NIOAcceptor (line 46) | public final class NIOAcceptor extends Thread implements SocketAcceptor{ method NIOAcceptor (line 57) | public NIOAcceptor(String name, String bindIp, int port, int backlog, method getPort (line 75) | public int getPort() { method getAcceptCount (line 79) | public long getAcceptCount() { method run (line 83) | @Override method accept (line 131) | private void accept() { method closeChannel (line 152) | private static void closeChannel(SocketChannel channel) { class AcceptIdGenerator (line 176) | private static class AcceptIdGenerator { method getId (line 183) | private long getId() { FILE: src/main/java/io/mycat/net/NIOConnection.java type NIOConnection (line 32) | public interface NIOConnection extends ClosableConnection{ method register (line 37) | void register() throws IOException; method handle (line 42) | void handle(byte[] data); method write (line 47) | void write(ByteBuffer buffer); FILE: src/main/java/io/mycat/net/NIOConnector.java class NIOConnector (line 46) | public final class NIOConnector extends Thread implements SocketConnector { method NIOConnector (line 56) | public NIOConnector(String name, NIOReactorPool reactorPool) method getConnectCount (line 65) | public long getConnectCount() { method postConnect (line 69) | public void postConnect(AbstractConnection c) { method run (line 74) | @Override method connect (line 128) | private void connect(Selector selector) { method finishConnect (line 143) | private void finishConnect(SelectionKey key, Object att) { method finishConnect (line 165) | private boolean finishConnect(AbstractConnection c, SocketChannel chan... method clearSelectionKey (line 177) | private void clearSelectionKey(SelectionKey key) { class ConnectIdGenerator (line 189) | public static class ConnectIdGenerator { method getId (line 194) | public long getId() { FILE: src/main/java/io/mycat/net/NIOHandler.java type NIOHandler (line 29) | public interface NIOHandler { method handle (line 31) | void handle(byte[] data); FILE: src/main/java/io/mycat/net/NIOProcessor.java class NIOProcessor (line 48) | public final class NIOProcessor { method NIOProcessor (line 68) | public NIOProcessor(String name, BufferPool bufferPool, method getName (line 78) | public String getName() { method getBufferPool (line 82) | public BufferPool getBufferPool() { method getWriteQueueSize (line 86) | public int getWriteQueueSize() { method getExecutor (line 100) | public NameableExecutor getExecutor() { method getCommands (line 104) | public CommandCount getCommands() { method getNetInBytes (line 108) | public long getNetInBytes() { method addNetInBytes (line 112) | public void addNetInBytes(long bytes) { method getNetOutBytes (line 116) | public long getNetOutBytes() { method addNetOutBytes (line 120) | public void addNetOutBytes(long bytes) { method addFrontend (line 124) | public void addFrontend(FrontendConnection c) { method getFrontends (line 129) | public ConcurrentMap getFrontends() { method getForntedsLength (line 133) | public int getForntedsLength(){ method addBackend (line 137) | public void addBackend(BackendConnection c) { method getBackends (line 141) | public ConcurrentMap getBackends() { method checkBackendCons (line 148) | public void checkBackendCons() { method checkFrontCons (line 155) | public void checkFrontCons() { method frontendCheck (line 160) | private void frontendCheck() { method checkConSendQueue (line 187) | private void checkConSendQueue(AbstractConnection c) { method backendCheck (line 199) | private void backendCheck() { method removeConnection (line 230) | public void removeConnection(AbstractConnection con) { method removeConnection (line 240) | public void removeConnection(BackendConnection con){ FILE: src/main/java/io/mycat/net/NIOReactor.java class NIOReactor (line 48) | public final class NIOReactor { method NIOReactor (line 53) | public NIOReactor(String name) throws IOException { method startup (line 58) | final void startup() { method postRegister (line 62) | final void postRegister(AbstractConnection c) { method getRegisterQueue (line 67) | final Queue getRegisterQueue() { method getReactCount (line 71) | final long getReactCount() { class RW (line 75) | private final class RW implements Runnable { method RW (line 80) | private RW() throws IOException { method run (line 85) | @Override method register (line 173) | private void register(Selector selector) { FILE: src/main/java/io/mycat/net/NIOReactorPool.java class NIOReactorPool (line 5) | public class NIOReactorPool { method NIOReactorPool (line 9) | public NIOReactorPool(String name, int poolSize) throws IOException { method getNextReactor (line 18) | public NIOReactor getNextReactor() { FILE: src/main/java/io/mycat/net/NIOSocketWR.java class NIOSocketWR (line 14) | public class NIOSocketWR extends SocketWR { method NIOSocketWR (line 23) | public NIOSocketWR(AbstractConnection con) { method register (line 28) | public void register(Selector selector) throws IOException { method doNextWriteCheck (line 38) | public void doNextWriteCheck() { method checkAlive (line 73) | @Override method write0 (line 85) | private boolean write0() throws IOException { method disableWrite (line 145) | private void disableWrite() { method enableWrite (line 156) | private void enableWrite(boolean wakeup) { method disableRead (line 171) | public void disableRead() { method enableRead (line 177) | public void enableRead() { method clearSelectionKey (line 192) | private void clearSelectionKey() { method asynRead (line 204) | @Override FILE: src/main/java/io/mycat/net/SocketAcceptor.java type SocketAcceptor (line 3) | public interface SocketAcceptor { method start (line 5) | void start(); method getName (line 7) | String getName(); method getPort (line 9) | int getPort(); FILE: src/main/java/io/mycat/net/SocketConnector.java type SocketConnector (line 3) | public interface SocketConnector { FILE: src/main/java/io/mycat/net/SocketWR.java class SocketWR (line 6) | public abstract class SocketWR { method asynRead (line 7) | public abstract void asynRead() throws IOException; method doNextWriteCheck (line 8) | public abstract void doNextWriteCheck() ; method checkAlive (line 9) | public abstract boolean checkAlive(); method disableRead (line 10) | public abstract void disableRead(); method enableRead (line 11) | public abstract void enableRead(); FILE: src/main/java/io/mycat/net/WriteEventCheckRunner.java class WriteEventCheckRunner (line 3) | public class WriteEventCheckRunner implements Runnable { method WriteEventCheckRunner (line 7) | public WriteEventCheckRunner(SocketWR socketWR) { method isFinished (line 11) | public boolean isFinished() { method run (line 15) | @Override FILE: src/main/java/io/mycat/net/factory/BackendConnectionFactory.java class BackendConnectionFactory (line 36) | public abstract class BackendConnectionFactory { method openSocketChannel (line 38) | protected NetworkChannel openSocketChannel(boolean isAIO) FILE: src/main/java/io/mycat/net/factory/FrontendConnectionFactory.java class FrontendConnectionFactory (line 36) | public abstract class FrontendConnectionFactory { method getConnection (line 37) | protected abstract FrontendConnection getConnection(NetworkChannel cha... method make (line 40) | public FrontendConnection make(NetworkChannel channel) throws IOExcept... FILE: src/main/java/io/mycat/net/handler/BackendAsyncHandler.java class BackendAsyncHandler (line 33) | public abstract class BackendAsyncHandler implements NIOHandler { method offerData (line 35) | protected void offerData(byte[] data, Executor executor) { method offerDataError (line 45) | protected abstract void offerDataError(); method handleData (line 47) | protected abstract void handleData(byte[] data); FILE: src/main/java/io/mycat/net/handler/FrontendAuthenticator.java class FrontendAuthenticator (line 53) | public class FrontendAuthenticator implements NIOHandler { method FrontendAuthenticator (line 63) | public FrontendAuthenticator(FrontendConnection source) { method handle (line 67) | @Override method setDefaultAccount (line 143) | private void setDefaultAccount(AuthPacket auth, Map getUserSchemas(String user); method isReadOnly (line 60) | Boolean isReadOnly(String user); method getBenchmark (line 67) | int getBenchmark(String user); method checkFirewallWhiteHostPolicy (line 77) | boolean checkFirewallWhiteHostPolicy(String user, String host); method checkFirewallSQLPolicy (line 85) | boolean checkFirewallSQLPolicy(String user, String sql); method checkDmlPrivilege (line 92) | boolean checkDmlPrivilege(String user, String schema, String sql); method checkDataNodeDmlPrivilege (line 101) | boolean checkDataNodeDmlPrivilege(String user, String dataNode, String... FILE: src/main/java/io/mycat/net/handler/FrontendQueryHandler.java type FrontendQueryHandler (line 31) | public interface FrontendQueryHandler { method query (line 33) | void query(String sql); method setReadOnly (line 35) | void setReadOnly(Boolean readOnly); FILE: src/main/java/io/mycat/net/handler/LoadDataInfileHandler.java type LoadDataInfileHandler (line 31) | public interface LoadDataInfileHandler method start (line 34) | void start(String sql); method handle (line 36) | void handle(byte[] data); method end (line 38) | void end(byte packID); method clear (line 40) | void clear(); method getLastPackId (line 42) | byte getLastPackId(); method isStartLoadData (line 44) | boolean isStartLoadData(); FILE: src/main/java/io/mycat/net/mysql/AuthPacket.java class AuthPacket (line 55) | public class AuthPacket extends MySQLPacket { method read (line 68) | public void read(byte[] data) { method write (line 99) | public void write(OutputStream out) throws IOException { method write (line 123) | @Override method calcPacketSize (line 158) | @Override method getPacketInfo (line 167) | @Override FILE: src/main/java/io/mycat/net/mysql/AuthSwitchPacket.java class AuthSwitchPacket (line 24) | public class AuthSwitchPacket extends MySQLPacket{ method AuthSwitchPacket (line 30) | public AuthSwitchPacket(byte[] authMethodName, byte[] authMethodData) { method AuthSwitchPacket (line 36) | public AuthSwitchPacket() { method read (line 40) | public void read(byte[] data) { method write (line 48) | @Override method write (line 64) | public void write(FrontendConnection c) { method calcPacketSize (line 70) | @Override method getPacketInfo (line 78) | @Override method getAuthMethodName (line 83) | public byte[] getAuthMethodName() { method setAuthMethodName (line 87) | public void setAuthMethodName(byte[] authMethodName) { method getAuthMethodData (line 91) | public byte[] getAuthMethodData() { method setAuthMethodData (line 95) | public void setAuthMethodData(byte[] authMethodData) { FILE: src/main/java/io/mycat/net/mysql/BinaryPacket.java class BinaryPacket (line 38) | public class BinaryPacket extends MySQLPacket { method read (line 49) | public void read(InputStream in) throws IOException { method write (line 57) | @Override method write (line 65) | @Override method calcPacketSize (line 75) | @Override method getPacketInfo (line 80) | @Override FILE: src/main/java/io/mycat/net/mysql/BinaryRowDataPacket.java class BinaryRowDataPacket (line 38) | public class BinaryRowDataPacket extends MySQLPacket { method BinaryRowDataPacket (line 47) | public BinaryRowDataPacket() {} method read (line 58) | public void read(List fieldPackets, UnsafeRow unsafeRow) { method read (line 82) | public void read(List fieldPackets, RowDataPacket rowData... method storeNullBitMap (line 102) | private void storeNullBitMap(int i) { method convert (line 113) | private void convert(byte[] fv, FieldPacket fieldPk) { method isUnsignedField (line 255) | private boolean isUnsignedField(FieldPacket field) { method write (line 258) | public void write(FrontendConnection conn) { method write (line 305) | @Override method calcPacketSize (line 349) | @Override method getPacketInfo (line 400) | @Override FILE: src/main/java/io/mycat/net/mysql/CommandPacket.java class CommandPacket (line 92) | public class CommandPacket extends MySQLPacket { method read (line 97) | public void read(byte[] data) { method write (line 107) | public void write(OutputStream out) throws IOException { method write (line 114) | @Override method calcPacketSize (line 134) | @Override method getPacketInfo (line 139) | @Override FILE: src/main/java/io/mycat/net/mysql/EOFPacket.java class EOFPacket (line 50) | public class EOFPacket extends MySQLPacket { method read (line 57) | public void read(byte[] data) { method write (line 66) | @Override method calcPacketSize (line 78) | @Override method getPacketInfo (line 83) | @Override method write (line 88) | public void write(BufferArray bufferArray) { FILE: src/main/java/io/mycat/net/mysql/EmptyPacket.java class EmptyPacket (line 29) | public class EmptyPacket extends MySQLPacket { method calcPacketSize (line 32) | @Override method getPacketInfo (line 37) | @Override FILE: src/main/java/io/mycat/net/mysql/ErrorPacket.java class ErrorPacket (line 50) | public class ErrorPacket extends MySQLPacket { method read (line 61) | public void read(BinaryPacket bin) { method read (line 74) | public void read(byte[] data) { method writeToBytes (line 87) | public byte[] writeToBytes(FrontendConnection c) { method writeToBytes (line 96) | public byte[] writeToBytes() { method write (line 114) | @Override method write (line 134) | public void write(FrontendConnection c) { method calcPacketSize (line 140) | @Override method getPacketInfo (line 149) | @Override FILE: src/main/java/io/mycat/net/mysql/ExecutePacket.java class ExecutePacket (line 84) | public class ExecutePacket extends MySQLPacket { method ExecutePacket (line 95) | public ExecutePacket(PreparedStatement pstmt) { method read (line 100) | public void read(byte[] data, String charset) throws UnsupportedEncodi... method calcPacketSize (line 144) | @Override method getPacketInfo (line 150) | @Override FILE: src/main/java/io/mycat/net/mysql/FieldPacket.java class FieldPacket (line 61) | public class FieldPacket extends MySQLPacket { method read (line 83) | public void read(byte[] data) { method read (line 93) | public void read(BinaryPacket bin) { method write (line 99) | @Override method calcPacketSize (line 111) | @Override method getPacketInfo (line 126) | @Override method readBody (line 131) | private void readBody(MySQLMessage mm) { method writeBody (line 150) | private void writeBody(ByteBuffer buffer) { method write (line 172) | public void write(BufferArray bufferArray) { FILE: src/main/java/io/mycat/net/mysql/HandshakePacket.java class HandshakePacket (line 54) | public class HandshakePacket extends MySQLPacket { method read (line 66) | public void read(BinaryPacket bin) { method read (line 81) | public void read(byte[] data) { method write (line 96) | public void write(FrontendConnection c) { method calcPacketSize (line 113) | @Override method getPacketInfo (line 125) | @Override FILE: src/main/java/io/mycat/net/mysql/HandshakeV10Packet.java class HandshakeV10Packet (line 68) | public class HandshakeV10Packet extends MySQLPacket { method write (line 82) | public void write(FrontendConnection c) { method calcPacketSize (line 121) | @Override method getPacketInfo (line 148) | @Override FILE: src/main/java/io/mycat/net/mysql/HeartbeatPacket.java class HeartbeatPacket (line 43) | public class HeartbeatPacket extends MySQLPacket { method read (line 48) | public void read(byte[] data) { method write (line 56) | @Override method calcPacketSize (line 66) | @Override method getPacketInfo (line 71) | @Override FILE: src/main/java/io/mycat/net/mysql/LongDataPacket.java class LongDataPacket (line 31) | public class LongDataPacket extends MySQLPacket { method read (line 38) | public void read(byte[] data) { method calcPacketSize (line 49) | @Override method getPacketInfo (line 54) | @Override method getPstmtId (line 59) | public long getPstmtId() { method getParamId (line 63) | public long getParamId() { method getLongData (line 67) | public byte[] getLongData() { FILE: src/main/java/io/mycat/net/mysql/MySQLPacket.java class MySQLPacket (line 34) | public abstract class MySQLPacket { method write (line 200) | public ByteBuffer write(ByteBuffer buffer, FrontendConnection c,boolea... method write (line 207) | public void write(BackendAIOConnection c) { method calcPacketSize (line 214) | public abstract int calcPacketSize(); method getPacketInfo (line 219) | protected abstract String getPacketInfo(); method toString (line 221) | @Override FILE: src/main/java/io/mycat/net/mysql/OkPacket.java class OkPacket (line 51) | public class OkPacket extends MySQLPacket { method read (line 63) | public void read(BinaryPacket bin) { method read (line 77) | public void read(byte[] data) { method writeToBytes (line 91) | public byte[] writeToBytes(FrontendConnection c) { method write (line 101) | private ByteBuffer write(ByteBuffer buffer, FrontendConnection c) { method write (line 121) | public void write(FrontendConnection c) { method calcPacketSize (line 126) | @Override method getPacketInfo (line 138) | @Override method writeToBytes (line 143) | public byte[] writeToBytes() { method markMoreResultsExists (line 164) | public void markMoreResultsExists() { method markNoMoreResultsExists (line 168) | public void markNoMoreResultsExists() { method hasMoreResultsExists (line 172) | public boolean hasMoreResultsExists() { FILE: src/main/java/io/mycat/net/mysql/PingPacket.java class PingPacket (line 29) | public class PingPacket extends MySQLPacket { method calcPacketSize (line 32) | @Override method getPacketInfo (line 37) | @Override FILE: src/main/java/io/mycat/net/mysql/PreparedOkPacket.java class PreparedOkPacket (line 60) | public class PreparedOkPacket extends MySQLPacket { method PreparedOkPacket (line 69) | public PreparedOkPacket() { method read (line 74) | public void read(byte[] data) { method write (line 85) | @Override method calcPacketSize (line 100) | @Override method getPacketInfo (line 105) | @Override FILE: src/main/java/io/mycat/net/mysql/QuitPacket.java class QuitPacket (line 29) | public class QuitPacket extends MySQLPacket { method calcPacketSize (line 32) | @Override method getPacketInfo (line 37) | @Override FILE: src/main/java/io/mycat/net/mysql/Reply323Packet.java class Reply323Packet (line 37) | public class Reply323Packet extends MySQLPacket { method write (line 41) | public void write(OutputStream out) throws IOException { method write (line 51) | @Override method calcPacketSize (line 64) | @Override method getPacketInfo (line 69) | @Override FILE: src/main/java/io/mycat/net/mysql/RequestFilePacket.java class RequestFilePacket (line 34) | public class RequestFilePacket extends MySQLPacket method write (line 41) | @Override method calcPacketSize (line 61) | @Override method getPacketInfo (line 67) | @Override FILE: src/main/java/io/mycat/net/mysql/ResetPacket.java class ResetPacket (line 27) | public class ResetPacket extends MySQLPacket { method read (line 32) | public void read(byte[] data) { method calcPacketSize (line 41) | @Override method getPacketInfo (line 46) | @Override method getPstmtId (line 51) | public long getPstmtId() { FILE: src/main/java/io/mycat/net/mysql/ResultSetHeaderPacket.java class ResultSetHeaderPacket (line 56) | public class ResultSetHeaderPacket extends MySQLPacket { method read (line 61) | public void read(byte[] data) { method write (line 71) | @Override method write (line 84) | public void write(BufferArray bufferArray) { method calcPacketSize (line 96) | @Override method getPacketInfo (line 105) | @Override FILE: src/main/java/io/mycat/net/mysql/RowDataPacket.java class RowDataPacket (line 57) | public class RowDataPacket extends MySQLPacket { method RowDataPacket (line 65) | public RowDataPacket(int fieldCount) { method add (line 70) | public void add(byte[] value) { method addFieldCount (line 74) | public void addFieldCount(int add) { method read (line 79) | public void read(byte[] data) { method write (line 89) | @Override method calcPacketSize (line 114) | @Override method getPacketInfo (line 124) | @Override method write (line 129) | public void write(BufferArray bufferArray) { FILE: src/main/java/io/mycat/net/mysql/StatusFlags.java class StatusFlags (line 3) | public final class StatusFlags { method StatusFlags (line 4) | private StatusFlags() { FILE: src/main/java/io/mycat/net/postgres/AuthenticationCleartextPassword.java class AuthenticationCleartextPassword (line 36) | public class AuthenticationCleartextPassword extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/AuthenticationGSS.java class AuthenticationGSS (line 36) | public class AuthenticationGSS extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/AuthenticationGSSContinue.java class AuthenticationGSSContinue (line 37) | public class AuthenticationGSSContinue extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/AuthenticationKerberosV5.java class AuthenticationKerberosV5 (line 36) | public class AuthenticationKerberosV5 extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/AuthenticationMD5Password.java class AuthenticationMD5Password (line 37) | public class AuthenticationMD5Password extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/AuthenticationOk.java class AuthenticationOk (line 36) | public class AuthenticationOk extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/AuthenticationSCMCredential.java class AuthenticationSCMCredential (line 36) | public class AuthenticationSCMCredential extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/AuthenticationSSPI.java class AuthenticationSSPI (line 36) | public class AuthenticationSSPI extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/BackendKeyData.java class BackendKeyData (line 39) | public class BackendKeyData extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/Bind.java class Bind (line 57) | public class Bind extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/BindComplete.java class BindComplete (line 35) | public class BindComplete extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/CancelRequest.java class CancelRequest (line 41) | public class CancelRequest extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/Close.java class Close (line 38) | public class Close extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/CloseComplete.java class CloseComplete (line 35) | public class CloseComplete extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/CommandComplete.java class CommandComplete (line 45) | public class CommandComplete extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/CopyBothResponse.java class CopyBothResponse (line 44) | public class CopyBothResponse extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/CopyData.java class CopyData (line 38) | public class CopyData extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/CopyDone.java class CopyDone (line 35) | public class CopyDone extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/CopyFail.java class CopyFail (line 36) | public class CopyFail extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/CopyInResponse.java class CopyInResponse (line 45) | public class CopyInResponse extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/CopyOutResponse.java class CopyOutResponse (line 44) | public class CopyOutResponse extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/DataRow.java class DataRow (line 42) | public class DataRow extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/Describe.java class Describe (line 38) | public class Describe extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/EmptyQueryResponse.java class EmptyQueryResponse (line 36) | public class EmptyQueryResponse extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/ErrorResponse.java class ErrorResponse (line 44) | public class ErrorResponse extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/Execute.java class Execute (line 40) | public class Execute extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/Flush.java class Flush (line 35) | public class Flush extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/FunctionCall.java class FunctionCall (line 53) | public class FunctionCall extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/FunctionCallResponse.java class FunctionCallResponse (line 40) | public class FunctionCallResponse extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/NoData.java class NoData (line 35) | public class NoData extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/NoticeResponse.java class NoticeResponse (line 44) | public class NoticeResponse extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/NotificationResponse.java class NotificationResponse (line 38) | public class NotificationResponse extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/ParameterDescription.java class ParameterDescription (line 38) | public class ParameterDescription extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/ParameterStatus.java class ParameterStatus (line 37) | public class ParameterStatus extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/Parse.java class Parse (line 45) | public class Parse extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/ParseComplete.java class ParseComplete (line 35) | public class ParseComplete extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/PasswordMessage.java class PasswordMessage (line 39) | public class PasswordMessage extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/PortalSuspended.java class PortalSuspended (line 36) | public class PortalSuspended extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/PostgresPacket.java class PostgresPacket (line 30) | public abstract class PostgresPacket { method getType (line 230) | public byte getType() { method setType (line 234) | public void setType(byte type) { method getLength (line 238) | public int getLength() { method setLength (line 242) | public void setLength(int length) { FILE: src/main/java/io/mycat/net/postgres/Query.java class Query (line 36) | public class Query extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/ReadyForQuery.java class ReadyForQuery (line 40) | public class ReadyForQuery extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/RowDescription.java class RowDescription (line 50) | public class RowDescription extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/SSLRequest.java class SSLRequest (line 38) | public class SSLRequest extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/StartupMessage.java class StartupMessage (line 52) | public class StartupMessage extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/Sync.java class Sync (line 35) | public class Sync extends PostgresPacket { FILE: src/main/java/io/mycat/net/postgres/Terminate.java class Terminate (line 35) | public class Terminate extends PostgresPacket { FILE: src/main/java/io/mycat/route/MyCATSequnceProcessor.java class MyCATSequnceProcessor (line 10) | public class MyCATSequnceProcessor { class InnerMyCATSequnceProcessor (line 17) | private static class InnerMyCATSequnceProcessor{ method getInstance (line 21) | public static MyCATSequnceProcessor getInstance(){ method MyCATSequnceProcessor (line 25) | private MyCATSequnceProcessor() { method executeSeq (line 33) | public void executeSeq(SessionSQLPair pair) { FILE: src/main/java/io/mycat/route/Procedure.java class Procedure (line 36) | public class Procedure implements Serializable method isResultList (line 47) | public boolean isResultList() method isResultSimpleValue (line 51) | public boolean isResultSimpleValue() method isResultNothing (line 55) | public boolean isResultNothing() method setResultList (line 59) | public void setResultList(boolean resultList) method toPreCallSql (line 64) | public String toPreCallSql(String dbType) method toChangeCallSql (line 83) | public String toChangeCallSql(String dbType) method getListFields (line 107) | public Set getListFields() method setListFields (line 112) | public void setListFields(Set listFields) method getSelectColumns (line 117) | public Set getSelectColumns() method getSetSql (line 122) | public String getSetSql() method setSetSql (line 127) | public void setSetSql(String setSql) method getSelectSql (line 132) | public String getSelectSql() method setSelectSql (line 137) | public void setSelectSql(String selectSql) method getOriginSql (line 144) | public String getOriginSql() method setOriginSql (line 149) | public void setOriginSql(String originSql) method getParamterMap (line 154) | public Map getParamterMap() method setParamterMap (line 159) | public void setParamterMap(Map paramterMap) method getName (line 164) | public String getName() method setName (line 169) | public void setName(String name) method getCallSql (line 174) | public String getCallSql() method setCallSql (line 179) | public void setCallSql(String callSql) FILE: src/main/java/io/mycat/route/ProcedureParameter.java class ProcedureParameter (line 9) | public class ProcedureParameter implements Serializable method getValue (line 28) | public Object getValue() method setValue (line 33) | public void setValue(Object value) method getIndex (line 38) | public int getIndex() method setIndex (line 43) | public void setIndex(int index) method getName (line 48) | public String getName() method setName (line 53) | public void setName(String name) method getParameterType (line 58) | public String getParameterType() method setParameterType (line 63) | public void setParameterType(String parameterType) method getJdbcType (line 68) | public int getJdbcType() method setJdbcType (line 73) | public void setJdbcType(int jdbcType) FILE: src/main/java/io/mycat/route/RouteCheckRule.java class RouteCheckRule (line 14) | public class RouteCheckRule { FILE: src/main/java/io/mycat/route/RouteResultset.java class RouteResultset (line 39) | public final class RouteResultset implements Serializable { method isSelectForUpdate (line 83) | public boolean isSelectForUpdate() { method setSelectForUpdate (line 87) | public void setSelectForUpdate(boolean selectForUpdate) { method getTables (line 94) | public List getTables() { method setTables (line 98) | public void setTables(List tables) { method getDataNodeSlotMap (line 102) | public Map getDataNodeSlotMap() { method setDataNodeSlotMap (line 106) | public void setDataNodeSlotMap(Map dataNodeSlotMap) { method getRunOnSlave (line 110) | public Boolean getRunOnSlave() { method getRunOnSlaveDebugInfo (line 113) | public String getRunOnSlaveDebugInfo() { method setRunOnSlave (line 116) | public void setRunOnSlave(Boolean runOnSlave) { method getProcedure (line 121) | public Procedure getProcedure() method setProcedure (line 126) | public void setProcedure(Procedure procedure) method isLoadData (line 131) | public boolean isLoadData() method setLoadData (line 136) | public void setLoadData(boolean isLoadData) method isFinishedRoute (line 141) | public boolean isFinishedRoute() { method setFinishedRoute (line 145) | public void setFinishedRoute(boolean isFinishedRoute) { method isGlobalTable (line 149) | public boolean isGlobalTable() { method setGlobalTable (line 153) | public void setGlobalTable(boolean globalTableFlag) { method RouteResultset (line 157) | public RouteResultset(String stmt, int sqlType) { method resetNodes (line 163) | public void resetNodes() { method copyLimitToNodes (line 171) | public void copyLimitToNodes() { method getSqlMerge (line 188) | public SQLMerge getSqlMerge() { method isCacheAble (line 192) | public boolean isCacheAble() { method setCacheAble (line 196) | public void setCacheAble(boolean cacheAble) { method needMerge (line 200) | public boolean needMerge() { method getSqlType (line 204) | public int getSqlType() { method isHasAggrColumn (line 208) | public boolean isHasAggrColumn() { method getLimitStart (line 212) | public int getLimitStart() { method getGroupByCols (line 216) | public String[] getGroupByCols() { method createSQLMergeIfNull (line 220) | private SQLMerge createSQLMergeIfNull() { method getMergeCols (line 227) | public Map getMergeCols() { method setLimitStart (line 231) | public void setLimitStart(int limitStart) { method getPrimaryKey (line 235) | public String getPrimaryKey() { method hasPrimaryKeyToCache (line 239) | public boolean hasPrimaryKeyToCache() { method setPrimaryKey (line 243) | public void setPrimaryKey(String primaryKey) { method getPrimaryKeyItems (line 256) | public String[] getPrimaryKeyItems() { method setOrderByCols (line 260) | public void setOrderByCols(LinkedHashMap orderByCols) { method setHasAggrColumn (line 266) | public void setHasAggrColumn(boolean hasAggrColumn) { method setGroupByCols (line 272) | public void setGroupByCols(String[] groupByCols) { method setMergeCols (line 278) | public void setMergeCols(Map mergeCols) { method getOrderByCols (line 285) | public LinkedHashMap getOrderByCols() { method getStatement (line 290) | public String getStatement() { method getNodes (line 294) | public RouteResultsetNode[] getNodes() { method setNodes (line 298) | public void setNodes(RouteResultsetNode[] nodes) { method getLimitSize (line 314) | public int getLimitSize() { method setLimitSize (line 318) | public void setLimitSize(int limitSize) { method setStatement (line 322) | public void setStatement(String statement) { method isCallStatement (line 326) | public boolean isCallStatement() { method setCallStatement (line 330) | public void setCallStatement(boolean callStatement) { method changeNodeSqlAfterAddLimit (line 342) | public void changeNodeSqlAfterAddLimit(SchemaConfig schemaConfig, Stri... method isAutocommit (line 374) | public boolean isAutocommit() { method setAutocommit (line 378) | public void setAutocommit(boolean autocommit) { method getCanRunInReadDB (line 382) | public Boolean getCanRunInReadDB() { method setCanRunInReadDB (line 386) | public void setCanRunInReadDB(Boolean canRunInReadDB) { method getHavingCols (line 390) | public HavingCols getHavingCols() { method setSubTables (line 394) | public void setSubTables(Set subTables) { method setHavings (line 398) | public void setHavings(HavingCols havings) { method setHavingColsName (line 405) | public void setHavingColsName(Object[] names) { method getSqlStatement (line 412) | public SQLStatement getSqlStatement() { method setSqlStatement (line 416) | public void setSqlStatement(SQLStatement sqlStatement) { method getSubTables (line 420) | public Set getSubTables() { method isDistTable (line 424) | public boolean isDistTable(){ method toString (line 431) | @Override method setAutoIncrement (line 445) | public void setAutoIncrement(boolean b) { method getAutoIncrement (line 449) | public boolean getAutoIncrement() { method getSubTableMaps (line 453) | public Map> getSubTableMaps() { method setSubTableMaps (line 457) | public void setSubTableMaps(Map> subTableMaps) { method mergeSameNode (line 464) | public void mergeSameNode() { FILE: src/main/java/io/mycat/route/RouteResultsetNode.java class RouteResultsetNode (line 37) | public final class RouteResultsetNode implements Serializable , Comparab... method RouteResultsetNode (line 66) | public RouteResultsetNode(String name, int sqlType, String srcStatemen... method getSubTableNames (line 78) | public Map getSubTableNames() { method setSubTableNames (line 82) | public void setSubTableNames(Map subTableNames) { method getRunOnSlave (line 86) | public Boolean getRunOnSlave() { method getRunOnSlaveDebugInfo (line 89) | public String getRunOnSlaveDebugInfo() { method isUpdateSql (line 92) | public boolean isUpdateSql() { method setRunOnSlave (line 96) | public void setRunOnSlave(Boolean runOnSlave) { method getHintMap (line 101) | public Map getHintMap() method setHintMap (line 106) | public void setHintMap(Map hintMap) method setStatement (line 111) | public void setStatement(String statement) { method setCanRunInReadDB (line 115) | public void setCanRunInReadDB(boolean canRunInReadDB) { method getCanRunInReadDB (line 119) | public boolean getCanRunInReadDB() { method resetStatement (line 123) | public void resetStatement() { method canRunnINReadDB (line 138) | public boolean canRunnINReadDB(boolean autocommit) { method getProcedure (line 146) | public Procedure getProcedure() method getSlot (line 151) | public int getSlot() { method setSlot (line 155) | public void setSlot(int slot) { method setProcedure (line 159) | public void setProcedure(Procedure procedure) method isCallStatement (line 164) | public boolean isCallStatement() method setCallStatement (line 169) | public void setCallStatement(boolean callStatement) method getName (line 173) | public String getName() { method getSqlType (line 177) | public int getSqlType() { method getStatement (line 181) | public String getStatement() { method getLimitStart (line 185) | public int getLimitStart() method setLimitStart (line 190) | public void setLimitStart(int limitStart) method getLimitSize (line 195) | public int getLimitSize() method setLimitSize (line 200) | public void setLimitSize(int limitSize) method getTotalNodeSize (line 205) | public int getTotalNodeSize() method setTotalNodeSize (line 210) | public void setTotalNodeSize(int totalNodeSize) method getLoadData (line 215) | public LoadData getLoadData() method setLoadData (line 220) | public void setLoadData(LoadData loadData) method hashCode (line 225) | @Override method equals (line 230) | @Override method toString (line 250) | @Override method equals (line 258) | private static boolean equals(String str1, String str2) { method getSubTableName (line 265) | public String getSubTableName() { method setSubTableName (line 269) | public void setSubTableName(String subTableName) { method isModifySQL (line 273) | public boolean isModifySQL() { method isModifySQLExceptDDL (line 281) | public boolean isModifySQLExceptDDL() { method isDisctTable (line 286) | public boolean isDisctTable() { method compareTo (line 294) | @Override method isHasBlanceFlag (line 319) | public boolean isHasBlanceFlag() { method getSource (line 323) | public RouteResultset getSource() { method setSource (line 327) | public void setSource(RouteResultset source) { FILE: src/main/java/io/mycat/route/RouteService.java class RouteService (line 49) | public class RouteService { method RouteService (line 60) | public RouteService(CacheService cachService) { method getTableId2DataNodeCache (line 66) | public LayerCachePool getTableId2DataNodeCache() { method route (line 70) | public RouteResultset route(SystemConfig sysconf, SchemaConfig schema, method checkMigrateRule (line 152) | private void checkMigrateRule(String schemal,RouteResultset rrs,int ... method isUpdateSql (line 181) | private boolean isUpdateSql(int type) { method isHintSql (line 185) | public static int isHintSql(String sql){ method parseHint (line 215) | @Deprecated method parseKeyValue (line 246) | private void parseKeyValue(Map map, String substring) FILE: src/main/java/io/mycat/route/RouteStrategy.java type RouteStrategy (line 15) | public interface RouteStrategy { method route (line 16) | public RouteResultset route(SystemConfig sysConfig, FILE: src/main/java/io/mycat/route/SQLMerge.java class SQLMerge (line 32) | public class SQLMerge implements Serializable { method getOrderByCols (line 40) | public LinkedHashMap getOrderByCols() { method setOrderByCols (line 44) | public void setOrderByCols(LinkedHashMap orderByCols) { method getMergeCols (line 48) | public Map getMergeCols() { method setMergeCols (line 52) | public void setMergeCols(Map mergeCols) { method getGroupByCols (line 56) | public String[] getGroupByCols() { method setGroupByCols (line 60) | public void setGroupByCols(String[] groupByCols) { method isHasAggrColumn (line 64) | public boolean isHasAggrColumn() { method setHasAggrColumn (line 68) | public void setHasAggrColumn(boolean hasAggrColumn) { method getHavingCols (line 72) | public HavingCols getHavingCols() { method setHavingCols (line 76) | public void setHavingCols(HavingCols havingCols) { method getHavingColsName (line 80) | public Object[] getHavingColsName() { method setHavingColsName (line 84) | public void setHavingColsName(Object[] havingColsName) { FILE: src/main/java/io/mycat/route/SessionSQLPair.java class SessionSQLPair (line 6) | public class SessionSQLPair { method SessionSQLPair (line 13) | public SessionSQLPair(NonBlockingSession session, SchemaConfig schema, FILE: src/main/java/io/mycat/route/factory/RouteStrategyFactory.java class RouteStrategyFactory (line 18) | public class RouteStrategyFactory { method init (line 22) | public static void init() { method RouteStrategyFactory (line 38) | private RouteStrategyFactory() { method getRouteStrategy (line 43) | public static RouteStrategy getRouteStrategy() { method getRouteStrategy (line 54) | public static RouteStrategy getRouteStrategy(String parserType) { FILE: src/main/java/io/mycat/route/function/AbstractPartitionAlgorithm.java class AbstractPartitionAlgorithm (line 17) | public abstract class AbstractPartitionAlgorithm implements RuleAlgorith... method init (line 19) | @Override method calculateRange (line 28) | @Override method calculateSequenceRange (line 40) | public static Integer[] calculateSequenceRange(AbstractPartitionAlgori... method suitableFor (line 72) | public final int suitableFor(TableConfig tableConf) { method getPartitionNum (line 99) | public int getPartitionNum() { FILE: src/main/java/io/mycat/route/function/AutoPartitionByLong.java class AutoPartitionByLong (line 40) | public class AutoPartitionByLong extends AbstractPartitionAlgorithm impl... method init (line 46) | @Override method setMapFile (line 52) | public void setMapFile(String mapFile) { method calculate (line 56) | @Override method calculateRange (line 77) | @Override method getPartitionNum (line 82) | @Override method initialize (line 97) | private void initialize() { method getDefaultNode (line 147) | public int getDefaultNode() { method setDefaultNode (line 151) | public void setDefaultNode(int defaultNode) { class LongRange (line 155) | static class LongRange { method LongRange (line 160) | public LongRange(int nodeIndx, long valueStart, long valueEnd) { FILE: src/main/java/io/mycat/route/function/LatestMonthPartion.java class LatestMonthPartion (line 12) | public class LatestMonthPartion extends AbstractPartitionAlgorithm { method getDataNodes (line 17) | public String[] getDataNodes() { method setSplitOneDay (line 24) | public void setSplitOneDay(int split) { method calculate (line 35) | @Override method calculateRange (line 49) | public Integer[] calculateRange(String beginValue, String endValue) { FILE: src/main/java/io/mycat/route/function/NumberParseUtil.java class NumberParseUtil (line 26) | public class NumberParseUtil { method eliminateQoute (line 32) | public static String eliminateQoute(String number){ method parseLong (line 58) | public static long parseLong(String val) { FILE: src/main/java/io/mycat/route/function/PartitionByCRC32PreSlot.java class PartitionByCRC32PreSlot (line 23) | public class PartitionByCRC32PreSlot extends AbstractPartitionAlgorithm method getRangeMap (line 37) | public Map> getRangeMap() { method saveSlotMapping (line 41) | public void saveSlotMapping(Map> rangeMap) { method loadProps (line 69) | private Properties loadProps(String name, boolean forceNew) { method getFile (line 98) | private File getFile() { method genarateProperties (line 107) | private Properties genarateProperties() { method convertToMap (line 122) | private Map> convertToMap(Properties p) { method init (line 149) | @Override method checkSize (line 161) | private void checkSize(){ method reInit (line 167) | public void reInit() { method hack (line 178) | private void hack() { method calculate (line 193) | @Override method getPartitionNum (line 225) | @Override method hashTest (line 231) | private static void hashTest() throws IOException { method genDataNodesString (line 283) | public static String genDataNodesString(int count) { method main (line 292) | public static void main(String[] args) throws IOException { method getCount (line 299) | private int getCount() { method setTableConfig (line 306) | @Override method setRuleName (line 311) | @Override method getTableConfig (line 316) | @Override method getRuleName (line 321) | @Override method slotValue (line 326) | @Override method reload (line 331) | @Override method isIstance (line 336) | @Override class Range (line 341) | public static class Range implements Serializable { method Range (line 342) | public Range(int start, int end) { method Range (line 348) | public Range() { FILE: src/main/java/io/mycat/route/function/PartitionByDate.java class PartitionByDate (line 17) | public class PartitionByDate extends AbstractPartitionAlgorithm implemen... method init (line 43) | @Override method calculate (line 76) | @Override method calculateRange (line 98) | @Override method getPartitionNum (line 126) | @Override method setsBeginDate (line 132) | public void setsBeginDate(String sBeginDate) { method setsPartionDay (line 136) | public void setsPartionDay(String sPartionDay) { method setDateFormat (line 140) | public void setDateFormat(String dateFormat) { method getsEndDate (line 143) | public String getsEndDate() { method setsEndDate (line 146) | public void setsEndDate(String sEndDate) { method getsNaturalDay (line 150) | public String getsNaturalDay() { method setsNaturalDay (line 154) | public void setsNaturalDay(String sNaturalDay) { FILE: src/main/java/io/mycat/route/function/PartitionByFileMap.java class PartitionByFileMap (line 40) | public class PartitionByFileMap extends AbstractPartitionAlgorithm imple... method init (line 64) | @Override method setMapFile (line 70) | public void setMapFile(String mapFile) { method setType (line 74) | public void setType(int type) { method setDefaultNode (line 78) | public void setDefaultNode(int defaultNode) { method calculate (line 82) | @Override method getPartitionNum (line 102) | @Override method initialize (line 109) | private void initialize() { FILE: src/main/java/io/mycat/route/function/PartitionByHashMod.java class PartitionByHashMod (line 14) | public class PartitionByHashMod extends AbstractPartitionAlgorithm imple... method setCount (line 18) | public void setCount(int count) { method hash (line 31) | protected int hash(int key) { method calculate (line 42) | @Override method init (line 54) | @Override method getPartitionNum (line 59) | @Override FILE: src/main/java/io/mycat/route/function/PartitionByHotDate.java class PartitionByHotDate (line 30) | public class PartitionByHotDate extends AbstractPartitionAlgorithm imple... method init (line 45) | @Override method calculate (line 61) | @Override method calculateRange (line 85) | @Override method setsPartionDay (line 138) | public void setsPartionDay(String sPartionDay) { method setDateFormat (line 141) | public void setDateFormat(String dateFormat) { method getsLastDay (line 144) | public String getsLastDay() { method setsLastDay (line 147) | public void setsLastDay(String sLastDay) { FILE: src/main/java/io/mycat/route/function/PartitionByJumpConsistentHash.java class PartitionByJumpConsistentHash (line 11) | public final class PartitionByJumpConsistentHash extends AbstractPartiti... method calculate (line 21) | @Override method getPartitionNum (line 26) | @Override method jumpConsistentHash (line 32) | public static int jumpConsistentHash(final long key, final int buckets) { method checkBuckets (line 47) | private static void checkBuckets(final int buckets) { method toDouble (line 53) | private static double toDouble(final long n) { method setTotalBuckets (line 61) | public void setTotalBuckets(int totalBuckets) { method getTotalBuckets (line 65) | public int getTotalBuckets() { FILE: src/main/java/io/mycat/route/function/PartitionByLong.java class PartitionByLong (line 29) | public final class PartitionByLong extends AbstractPartitionAlgorithm im... method toIntArray (line 34) | private static int[] toIntArray(String string) { method setPartitionCount (line 43) | public void setPartitionCount(String partitionCount) { method setPartitionLength (line 47) | public void setPartitionLength(String partitionLength) { method init (line 51) | @Override method calculate (line 57) | @Override method calculateRange (line 69) | @Override FILE: src/main/java/io/mycat/route/function/PartitionByMod.java class PartitionByMod (line 41) | public class PartitionByMod extends AbstractPartitionAlgorithm implement... method init (line 44) | @Override method setCount (line 52) | public void setCount(int count) { method calculate (line 56) | @Override method getPartitionNum (line 79) | @Override method hashTest (line 85) | private static void hashTest() { method rehashTest (line 122) | private static void rehashTest(List partition) { method main (line 145) | public static void main(String[] args) { FILE: src/main/java/io/mycat/route/function/PartitionByMonth.java class PartitionByMonth (line 21) | public class PartitionByMonth extends AbstractPartitionAlgorithm implements method init (line 37) | @Override method initFormatter (line 71) | private void initFormatter() { method reCalculatePartition (line 84) | private int reCalculatePartition(int targetPartition) { method calculate (line 104) | @Override method calculateRange (line 138) | @Override method doCalculateRange (line 148) | private Integer[] doCalculateRange(String beginValue, String endValue,... method getPartitionNum (line 179) | @Override method setsBeginDate (line 185) | public void setsBeginDate(String sBeginDate) { method setDateFormat (line 189) | public void setDateFormat(String dateFormat) { method setsEndDate (line 193) | public void setsEndDate(String sEndDate) { FILE: src/main/java/io/mycat/route/function/PartitionByMonthAndHistory.java class PartitionByMonthAndHistory (line 21) | public class PartitionByMonthAndHistory extends AbstractPartitionAlgorit... method init (line 33) | @Override method reCalculatePartition (line 66) | private int reCalculatePartition(int targetPartition) { method calculate (line 82) | @Override method calculateRange (line 106) | @Override method setsBeginDate (line 137) | public void setsBeginDate(String sBeginDate) { method setDateFormat (line 141) | public void setDateFormat(String dateFormat) { method setsEndDate (line 145) | public void setsEndDate(String sEndDate) { FILE: src/main/java/io/mycat/route/function/PartitionByMurmurHash.java class PartitionByMurmurHash (line 59) | public class PartitionByMurmurHash extends AbstractPartitionAlgorithm im... method init (line 73) | @Override method generateBucketMap (line 94) | private void generateBucketMap(){ method getWeight (line 129) | private int getWeight(int bucket){ method setSeed (line 140) | public void setSeed(int seed){ method setCount (line 147) | public void setCount(int count) { method setVirtualBucketTimes (line 154) | public void setVirtualBucketTimes(int virtualBucketTimes){ method setWeightMapFile (line 164) | public void setWeightMapFile(String weightMapPath) throws IOException{ method calculate (line 185) | @Override method getPartitionNum (line 194) | @Override method hashTest (line 200) | private static void hashTest() throws IOException{ method rehashTest (line 247) | private static void rehashTest(List partition){ method main (line 270) | public static void main(String[] args) throws IOException { FILE: src/main/java/io/mycat/route/function/PartitionByPattern.java class PartitionByPattern (line 42) | public class PartitionByPattern extends AbstractPartitionAlgorithm imple... method init (line 50) | @Override method setMapFile (line 56) | public void setMapFile(String mapFile) { method setPatternValue (line 60) | public void setPatternValue(int patternValue) { method setDefaultNode (line 64) | public void setDefaultNode(int defaultNode) { method calculate (line 68) | @Override method getPartitionNum (line 84) | @Override method isNumeric (line 98) | public static boolean isNumeric(String str) { method initialize (line 102) | private void initialize() { class LongRange (line 152) | static class LongRange { method LongRange (line 157) | public LongRange(int nodeIndx, long valueStart, long valueEnd) { FILE: src/main/java/io/mycat/route/function/PartitionByPrefixPattern.java class PartitionByPrefixPattern (line 41) | public class PartitionByPrefixPattern extends AbstractPartitionAlgorithm... method init (line 48) | @Override method setMapFile (line 54) | public void setMapFile(String mapFile) { method setPatternValue (line 58) | public void setPatternValue(int patternValue) { method setPrefixLength (line 62) | public void setPrefixLength(int prefixLength) { method calculate (line 66) | @Override method getPartitionNum (line 89) | @Override method initialize (line 103) | private void initialize() { class LongRange (line 153) | static class LongRange { method LongRange (line 158) | public LongRange(int nodeIndx, long valueStart, long valueEnd) { FILE: src/main/java/io/mycat/route/function/PartitionByRangeDateHash.java class PartitionByRangeDateHash (line 19) | public class PartitionByRangeDateHash extends AbstractPartitionAlgorithm... method init (line 38) | @Override method calculate (line 63) | @Override method calculateStart (line 79) | public Integer calculateStart(String columnValue) method calculateEnd (line 95) | public Integer calculateEnd(String columnValue) method calculateRange (line 111) | @Override method getBeginDate (line 140) | public long getBeginDate() method setsBeginDate (line 145) | public void setsBeginDate(String sBeginDate) method setsPartionDay (line 150) | public void setsPartionDay(String sPartionDay) method setDateFormat (line 155) | public void setDateFormat(String dateFormat) method getGroupPartionSize (line 160) | public String getGroupPartionSize() method setGroupPartionSize (line 165) | public void setGroupPartionSize(String groupPartionSize) FILE: src/main/java/io/mycat/route/function/PartitionByRangeMod.java class PartitionByRangeMod (line 40) | public class PartitionByRangeMod extends AbstractPartitionAlgorithm impl... method init (line 46) | @Override method setMapFile (line 52) | public void setMapFile(String mapFile) { method calculate (line 56) | @Override method getPartitionNum (line 82) | @Override method calculateStart (line 91) | public Integer calculateStart(String columnValue) { method calculateEnd (line 110) | public Integer calculateEnd(String columnValue) { method calculateRange (line 130) | @Override method initialize (line 156) | private void initialize() { method getDefaultNode (line 204) | public int getDefaultNode() { method setDefaultNode (line 208) | public void setDefaultNode(int defaultNode) { class LongRange (line 212) | static class LongRange { method LongRange (line 217) | public LongRange(int groupSize, long valueStart, long valueEnd) { FILE: src/main/java/io/mycat/route/function/PartitionByString.java class PartitionByString (line 34) | public final class PartitionByString extends AbstractPartitionAlgorithm ... method setPartitionCount (line 43) | public void setPartitionCount(String partitionCount) { method setPartitionLength (line 47) | public void setPartitionLength(String partitionLength) { method setHashLength (line 52) | public void setHashLength(int hashLength) { method setHashSlice (line 56) | public void setHashSlice(String hashSlice) { method sequenceSlicing (line 71) | public static Pair sequenceSlicing(String slice) { method init (line 97) | @Override method toIntArray (line 102) | private static int[] toIntArray(String string) { method calculate (line 110) | @Override method getPartitionNum (line 118) | @Override FILE: src/main/java/io/mycat/route/function/PartitionDirectBySubString.java class PartitionDirectBySubString (line 14) | public class PartitionDirectBySubString extends AbstractPartitionAlgorit... method setStartIndex (line 24) | public void setStartIndex(String str) { method setSize (line 28) | public void setSize(String str) { method setPartitionCount (line 32) | public void setPartitionCount(String partitionCount) { method setDefaultPartition (line 36) | public void setDefaultPartition(String defaultPartition) { method init (line 40) | @Override method calculate (line 45) | @Override method getPartitionNum (line 53) | @Override FILE: src/main/java/io/mycat/route/function/PureJavaCrc32.java class PureJavaCrc32 (line 40) | public class PureJavaCrc32 implements Checksum { method PureJavaCrc32 (line 46) | public PureJavaCrc32() { method getValue (line 50) | @Override method reset (line 55) | @Override method update (line 60) | @Override method update (line 101) | @Override method main (line 642) | public static void main(String[] args) { FILE: src/main/java/io/mycat/route/function/ReloadFunction.java type ReloadFunction (line 6) | public interface ReloadFunction { method reload (line 7) | void reload(); FILE: src/main/java/io/mycat/route/function/SlotFunction.java type SlotFunction (line 6) | public interface SlotFunction { method slotValue (line 7) | int slotValue(); FILE: src/main/java/io/mycat/route/function/TableRuleAware.java type TableRuleAware (line 11) | public interface TableRuleAware{ method setTableConfig (line 12) | void setTableConfig(TableConfig tableConfig); method setRuleName (line 14) | void setRuleName(String ruleName); method getTableConfig (line 16) | TableConfig getTableConfig(); method getRuleName (line 18) | String getRuleName(); method isIstance (line 25) | boolean isIstance(); FILE: src/main/java/io/mycat/route/handler/HintCatletHandler.java class HintCatletHandler (line 21) | public class HintCatletHandler implements HintHandler { method route (line 40) | @Override FILE: src/main/java/io/mycat/route/handler/HintDataNodeHandler.java class HintDataNodeHandler (line 29) | public class HintDataNodeHandler implements HintHandler { method route (line 33) | @Override method parseLoadDataPram (line 64) | private LoadData parseLoadDataPram(String sql , String connectionCharset) method parseFileName (line 99) | private String parseFileName(String sql) FILE: src/main/java/io/mycat/route/handler/HintHandler.java type HintHandler (line 16) | public interface HintHandler { method route (line 18) | public RouteResultset route(SystemConfig sysConfig, SchemaConfig schema, FILE: src/main/java/io/mycat/route/handler/HintHandlerFactory.java class HintHandlerFactory (line 7) | public class HintHandlerFactory { method HintHandlerFactory (line 14) | private HintHandlerFactory() { method init (line 17) | private static void init() { method getHintHandler (line 31) | public static HintHandler getHintHandler(String hintType) { FILE: src/main/java/io/mycat/route/handler/HintMasterDBHandler.java class HintMasterDBHandler (line 25) | public class HintMasterDBHandler implements HintHandler { method route (line 29) | @Override FILE: src/main/java/io/mycat/route/handler/HintSQLHandler.java class HintSQLHandler (line 33) | public class HintSQLHandler implements HintHandler { method HintSQLHandler (line 37) | public HintSQLHandler() { method route (line 41) | @Override method parseProcedure (line 82) | private Procedure parseProcedure(String sql,Map hintMap) FILE: src/main/java/io/mycat/route/handler/HintSchemaHandler.java class HintSchemaHandler (line 20) | public class HintSchemaHandler implements HintHandler { method HintSchemaHandler (line 26) | public HintSchemaHandler() { method route (line 44) | @Override FILE: src/main/java/io/mycat/route/impl/AbstractRouteStrategy.java class AbstractRouteStrategy (line 21) | public abstract class AbstractRouteStrategy implements RouteStrategy { method route (line 25) | @Override method beforeRouteProcess (line 108) | private boolean beforeRouteProcess(SchemaConfig schema, int sqlType, S... method routeNormalSqlWithAST (line 119) | public abstract RouteResultset routeNormalSqlWithAST(SchemaConfig sche... method routeSystemInfo (line 125) | public abstract RouteResultset routeSystemInfo(SchemaConfig schema, in... method analyseShowSQL (line 131) | public abstract RouteResultset analyseShowSQL(SchemaConfig schema, Rou... FILE: src/main/java/io/mycat/route/impl/DruidMycatRouteStrategy.java class DruidMycatRouteStrategy (line 77) | public class DruidMycatRouteStrategy extends AbstractRouteStrategy { method routeNormalSqlWithAST (line 91) | @Override method routeNormalSqlWithAST0 (line 104) | private RouteResultset routeNormalSqlWithAST0(SchemaConfig schema, Str... method routeMultiSqlWithAST (line 267) | private RouteResultset routeMultiSqlWithAST(SchemaConfig schema, Strin... method checkRuleField (line 309) | private boolean checkRuleField(Map rulemap,MycatSch... method middlerResultRoute (line 338) | private RouteResultset middlerResultRoute(final SchemaConfig schema,fi... method buildSql (line 409) | private String buildSql(SQLStatement statement,SQLSelect sqlselect,Lis... method catletRoute (line 427) | private RouteResultset catletRoute(SchemaConfig schema,String stmt,Str... method directRoute (line 453) | private RouteResultset directRoute(RouteResultset rrs,DruidShardingPar... method getDisTable (line 518) | private SQLExprTableSource getDisTable(SQLTableSource tableSource,Rout... method routeDisTable (line 532) | private RouteResultset routeDisTable(SQLStatement statement, RouteResu... method isSelect (line 590) | private boolean isSelect(SQLStatement statement) { method checkUnSupportedStatement (line 602) | private void checkUnSupportedStatement(SQLStatement statement) throws ... method analyseShowSQL (line 612) | @Override method routeSystemInfo (line 786) | public RouteResultset routeSystemInfo(SchemaConfig schema, int sqlType, method analyseDescrSQL (line 815) | private static RouteResultset analyseDescrSQL(SchemaConfig schema, method analyseDoubleAtSgin (line 868) | private RouteResultset analyseDoubleAtSgin(SchemaConfig schema, FILE: src/main/java/io/mycat/route/impl/middlerResultStrategy/BinaryOpResultHandler.java class BinaryOpResultHandler (line 16) | public class BinaryOpResultHandler implements RouteMiddlerReaultHandler { method dohandler (line 18) | @Override FILE: src/main/java/io/mycat/route/impl/middlerResultStrategy/InSubQueryResultHandler.java class InSubQueryResultHandler (line 16) | public class InSubQueryResultHandler implements RouteMiddlerReaultHandler { method dohandler (line 18) | @Override FILE: src/main/java/io/mycat/route/impl/middlerResultStrategy/RouteMiddlerReaultHandler.java type RouteMiddlerReaultHandler (line 9) | public interface RouteMiddlerReaultHandler { method dohandler (line 18) | String dohandler(SQLStatement statement,SQLSelect sqlselect,SQLObject ... FILE: src/main/java/io/mycat/route/impl/middlerResultStrategy/SQLAllResultHandler.java class SQLAllResultHandler (line 22) | public class SQLAllResultHandler implements RouteMiddlerReaultHandler{ method dohandler (line 24) | @Override FILE: src/main/java/io/mycat/route/impl/middlerResultStrategy/SQLExistsResultHandler.java class SQLExistsResultHandler (line 18) | public class SQLExistsResultHandler implements RouteMiddlerReaultHandler { method dohandler (line 20) | @Override FILE: src/main/java/io/mycat/route/impl/middlerResultStrategy/SQLQueryResultHandler.java class SQLQueryResultHandler (line 19) | public class SQLQueryResultHandler implements RouteMiddlerReaultHandler { method dohandler (line 21) | @Override FILE: src/main/java/io/mycat/route/parser/ManagerParse.java class ManagerParse (line 32) | public final class ManagerParse { method parse (line 51) | public static int parse(String stmt) { method zCheck (line 91) | private static int zCheck(String stmt, int offset) { method lCheck (line 101) | private static int lCheck(String stmt, int offset) { method fCheck (line 111) | private static int fCheck(String stmt, int offset) { method cCheck (line 120) | private static int cCheck(String stmt, int offset) { method oCheck (line 136) | private static int oCheck(String stmt, int offset) { method onCheck (line 152) | private static int onCheck(String stmt, int offset) { method ofCheck (line 170) | private static int ofCheck(String stmt, int offset) { method sCheck (line 190) | private static int sCheck(String stmt, int offset) { method seCheck (line 212) | private static int seCheck(String stmt, int offset) { method rCheck (line 235) | private static int rCheck(String stmt, int offset) { method reload (line 252) | private static int reload(String stmt, int offset) { method rollback (line 269) | private static int rollback(String stmt, int offset) { method select (line 289) | private static int select(String stmt, int offset) { method show (line 305) | private static int show(String stmt, int offset) { method swh (line 319) | private static int swh(String stmt, int offset) { method stop (line 336) | private static int stop(String stmt, int offset) { method kill (line 350) | private static int kill(String stmt, int offset) { method killConnection (line 379) | private static int killConnection(String stmt, int offset) { FILE: src/main/java/io/mycat/route/parser/ManagerParseClear.java class ManagerParseClear (line 31) | public class ManagerParseClear { method parse (line 37) | public static int parse(String stmt, int offset) { method clear2Check (line 57) | static int clear2Check(String stmt, int offset) { method clear2WhereCheck (line 84) | static int clear2WhereCheck(String stmt, int offset) { method clear2DCheck (line 113) | static int clear2DCheck(String stmt, int offset) { method clear2SCheck (line 149) | static int clear2SCheck(String stmt, int offset) { FILE: src/main/java/io/mycat/route/parser/ManagerParseHeartbeat.java class ManagerParseHeartbeat (line 31) | public final class ManagerParseHeartbeat { method show2HeaCheck (line 37) | static int show2HeaCheck(String stmt, int offset) { method show2HeaDetailCheck (line 62) | static int show2HeaDetailCheck(String stmt, int offset) { method getPair (line 81) | public static Pair getPair(String stmt) { FILE: src/main/java/io/mycat/route/parser/ManagerParseKill.java class ManagerParseKill (line 31) | public final class ManagerParseKill { method parse (line 36) | public static int parse(String stmt, int offset) { method kill2Check (line 56) | static int kill2Check(String stmt, int offset) { FILE: src/main/java/io/mycat/route/parser/ManagerParseReload.java class ManagerParseReload (line 31) | public final class ManagerParseReload { method parse (line 43) | public static int parse(String stmt, int offset) { method reload2Check (line 62) | static int reload2Check(String stmt, int offset) { method reload2CCheck (line 89) | static int reload2CCheck(String stmt, int offset) { method reload2RCheck (line 120) | static int reload2RCheck(String stmt, int offset) { method reload2UCheck (line 138) | static int reload2UCheck(String stmt, int offset) { method reload2SCheck (line 170) | static int reload2SCheck(String stmt, int offset) { method reload2QCheck (line 199) | static int reload2QCheck(String stmt, int offset) { FILE: src/main/java/io/mycat/route/parser/ManagerParseRollback.java class ManagerParseRollback (line 31) | public final class ManagerParseRollback { method parse (line 38) | public static int parse(String stmt, int offset) { method rollback2Check (line 57) | static int rollback2Check(String stmt, int offset) { method rollback2CCheck (line 78) | static int rollback2CCheck(String stmt, int offset) { method rollback2RCheck (line 97) | static int rollback2RCheck(String stmt, int offset) { method rollback2UCheck (line 115) | static int rollback2UCheck(String stmt, int offset) { FILE: src/main/java/io/mycat/route/parser/ManagerParseSelect.java class ManagerParseSelect (line 31) | public final class ManagerParseSelect { method parse (line 42) | public static int parse(String stmt, int offset) { method select2Check (line 61) | static int select2Check(String stmt, int offset) { method select2VCheck (line 79) | static int select2VCheck(String stmt, int offset) { method select2SCheck (line 92) | static int select2SCheck(String stmt, int offset) { FILE: src/main/java/io/mycat/route/parser/ManagerParseShow.java class ManagerParseShow (line 31) | public final class ManagerParseShow { method parse (line 86) | public static int parse(String stmt, int offset) { method show2Check (line 115) | static int show2Check(String stmt, int offset) { method showCCheck (line 157) | static int showCCheck(String stmt, int offset) { method showVCheck (line 180) | static int showVCheck(String stmt, int offset) { method show2BCheck (line 203) | static int show2BCheck(String stmt, int offset) { method show2BackendOld (line 232) | static int show2BackendOld(String stmt, int offset) { method show2CCheck (line 248) | static int show2CCheck(String stmt, int offset) { method show2CHCheck (line 267) | private static int show2CHCheck(String stmt, int offset) { method show2CACheck (line 294) | private static int show2CACheck(String stmt, int offset) { method show2DCheck (line 304) | static int show2DCheck(String stmt, int offset) { method show2DirectMemoryCheck (line 340) | static int show2DirectMemoryCheck(String stmt, int offset) { method show2DataSynCheck (line 377) | static int show2DataSynCheck(String stmt, int offset) { method show2SynDetailCheck (line 425) | static int show2SynDetailCheck(String stmt, int offset) { method show2SynStatuslCheck (line 444) | static int show2SynStatuslCheck(String stmt, int offset) { method show2HCheck (line 464) | static int show2HCheck(String stmt, int offset) { method show2HeCheck (line 478) | static int show2HeCheck(String stmt, int offset) { method show2HelCheck (line 495) | static int show2HelCheck(String stmt, int offset) { method show2PCheck (line 511) | static int show2PCheck(String stmt, int offset) { method show2RCheck (line 528) | static int show2RCheck(String stmt, int offset) { method show2SCheck (line 547) | static int show2SCheck(String stmt, int offset) { method show2SlCheck (line 570) | static int show2SlCheck(String stmt, int offset) { method show2sysparam (line 593) | static int show2sysparam(String stmt, int offset) { method show2syslog (line 611) | static int show2syslog(String stmt, int offset) { method show2SyCheck (line 659) | static int show2SyCheck(String stmt, int offset) { method show2SlowWhereCheck (line 683) | static int show2SlowWhereCheck(String stmt, int offset) { method show2SlowWhereDCheck (line 711) | static int show2SlowWhereDCheck(String stmt, int offset) { method show2SlowWhereSCheck (line 747) | static int show2SlowWhereSCheck(String stmt, int offset) { method show2TCheck (line 780) | static int show2TCheck(String stmt, int offset) { method show2VCheck (line 797) | static int show2VCheck(String stmt, int offset) { method show2WCheck (line 816) | static int show2WCheck(String stmt, int offset) { method show2WhiteCheck (line 832) | static int show2WhiteCheck(String stmt, int offset) { method show2CoCheck (line 848) | static int show2CoCheck(String stmt, int offset) { method show2DataBCheck (line 865) | static int show2DataBCheck(String stmt, int offset) { method show2DataNCheck (line 881) | static int show2DataNCheck(String stmt, int offset) { method show2DataNWhereCheck (line 905) | static int show2DataNWhereCheck(String stmt, int offset) { method show2DataNWhereSchemaCheck (line 930) | static int show2DataNWhereSchemaCheck(String stmt, int offset) { method show2DataSCheck (line 963) | static int show2DataSCheck(String stmt, int offset) { method show2DataSWhereCheck (line 993) | static int show2DataSWhereCheck(String stmt, int offset) { method show2DataSWhereDatanodeCheck (line 1018) | static int show2DataSWhereDatanodeCheck(String stmt, int offset) { method show2PaCheck (line 1054) | static int show2PaCheck(String stmt, int offset) { method show2PrCheck (line 1072) | static int show2PrCheck(String stmt, int offset) { method show2SeCheck (line 1095) | static int show2SeCheck(String stmt, int offset) { method show2ThCheck (line 1127) | static int show2ThCheck(String stmt, int offset) { method show2TiCheck (line 1150) | static int show2TiCheck(String stmt, int offset) { method show2ComCheck (line 1173) | static int show2ComCheck(String stmt, int offset) { method show2ConCheck (line 1191) | static int show2ConCheck(String stmt, int offset) { method show2ConnectonSQL (line 1220) | static int show2ConnectonSQL(String stmt, int offset) { method show2TimeCCheck (line 1236) | static int show2TimeCCheck(String stmt, int offset) { method show2TimeSCheck (line 1256) | static int show2TimeSCheck(String stmt, int offset) { method show2SqCheck (line 1276) | static int show2SqCheck(String stmt, int offset) { method show2SqlCheck (line 1290) | static int show2SqlCheck(String stmt, int offset) { method show2SqlDotCheck (line 1306) | static int show2SqlDotCheck(String stmt, int offset) { method show2SqlBlankCheck (line 1346) | static int show2SqlBlankCheck(String stmt, int offset) { method show2SqlDCheck (line 1367) | static int show2SqlDCheck(String stmt, int offset) { method show2SqlECheck (line 1397) | static int show2SqlECheck(String stmt, int offset) { method show2SqlSLCheck (line 1417) | static int show2SqlSLCheck(String stmt, int offset) { method show2SqlHCheck (line 1439) | static int show2SqlHCheck(String stmt, int offset) { method show2SqlRCheck (line 1463) | static int show2SqlRCheck(String stmt, int offset) { method show2SqlLCheck (line 1494) | static int show2SqlLCheck(String stmt, int offset) { method show2SqlCCheck (line 1519) | static int show2SqlCCheck(String stmt, int offset) { method show2SqlSUCheck (line 1543) | static int show2SqlSUCheck(String stmt, int offset) { method isWhere (line 1605) | static boolean isWhere(String stmt, int offset) { method isSqlId (line 1647) | static boolean isSqlId(String stmt, int offset) { method getWhereParameter (line 1657) | public static String getWhereParameter(String stmt) { FILE: src/main/java/io/mycat/route/parser/ManagerParseStop.java class ManagerParseStop (line 33) | public final class ManagerParseStop { method parse (line 38) | public static int parse(String stmt, int offset) { method getPair (line 57) | public static Pair getPair(String stmt) { method stop2Check (line 72) | static int stop2Check(String stmt, int offset) { FILE: src/main/java/io/mycat/route/parser/ManagerParseSwitch.java class ManagerParseSwitch (line 33) | public final class ManagerParseSwitch { method parse (line 38) | public static int parse(String stmt, int offset) { method getPair (line 57) | public static Pair getPair(String stmt) { method switch2Check (line 72) | static int switch2Check(String stmt, int offset) { FILE: src/main/java/io/mycat/route/parser/druid/DruidParser.java type DruidParser (line 19) | public interface DruidParser { method parser (line 25) | public void parser(SchemaConfig schema, RouteResultset rrs, SQLStateme... method statementParse (line 32) | public void statementParse(SchemaConfig schema, RouteResultset rrs, SQ... method visitorParse (line 39) | public void visitorParse(SchemaConfig schema, RouteResultset rrs, SQLS... method changeSql (line 49) | public void changeSql(SchemaConfig schema, RouteResultset rrs, SQLStat... method getCtx (line 54) | public DruidShardingParseInfo getCtx(); FILE: src/main/java/io/mycat/route/parser/druid/DruidParserFactory.java class DruidParserFactory (line 39) | public class DruidParserFactory method create (line 42) | public static DruidParser create(SchemaConfig schema, SQLStatement sta... method getDruidParserForMultiDB (line 82) | private static DruidParser getDruidParserForMultiDB(SchemaConfig schem... method parseTables (line 128) | private static List parseTables(SQLStatement stmt, MycatSchema... FILE: src/main/java/io/mycat/route/parser/druid/DruidSequenceHandler.java class DruidSequenceHandler (line 25) | public class DruidSequenceHandler { method DruidSequenceHandler (line 40) | public DruidSequenceHandler(int seqHandlerType,String sequnceHandlerPa... method getExecuteSql (line 81) | public String getExecuteSql(SessionSQLPair pair, String charset) throw... method getSegLock (line 109) | private ReentrantLock getSegLock(String name){ method getTableName (line 125) | public String getTableName(String sql) { FILE: src/main/java/io/mycat/route/parser/druid/DruidShardingParseInfo.java class DruidShardingParseInfo (line 19) | public class DruidShardingParseInfo { method getTableAliasMap (line 44) | public Map getTableAliasMap() { method setTableAliasMap (line 48) | public void setTableAliasMap(Map tableAliasMap) { method getSql (line 52) | public String getSql() { method setSql (line 56) | public void setSql(String sql) { method getTables (line 60) | public List getTables() { method addTable (line 64) | public void addTable(String tableName) { method getRouteCalculateUnit (line 68) | public RouteCalculateUnit getRouteCalculateUnit() { method getRouteCalculateUnits (line 72) | public List getRouteCalculateUnits() { method setRouteCalculateUnits (line 76) | public void setRouteCalculateUnits(List routeCalcu... method addRouteCalculateUnit (line 80) | public void addRouteCalculateUnit(RouteCalculateUnit routeCalculateUni... method clear (line 85) | public void clear() { method setVisitor (line 91) | public void setVisitor(SchemaStatVisitor visitor) { method getVisitor (line 96) | public SchemaStatVisitor getVisitor(){ method addTables (line 101) | public void addTables(Map map, String sessionSchema) { FILE: src/main/java/io/mycat/route/parser/druid/LoadDataOutputVisitor.java class LoadDataOutputVisitor (line 9) | public class LoadDataOutputVisitor extends MySqlOutputVisitor method LoadDataOutputVisitor (line 11) | public LoadDataOutputVisitor(Appendable appender) method visit (line 15) | @Override FILE: src/main/java/io/mycat/route/parser/druid/LoadDataStatement.java class LoadDataStatement (line 6) | public class LoadDataStatement extends MySqlLoadDataInFileStatement method toString (line 9) | public String toString() FILE: src/main/java/io/mycat/route/parser/druid/MycatExprParser.java class MycatExprParser (line 11) | public class MycatExprParser extends MySqlExprParser method MycatExprParser (line 15) | public MycatExprParser(Lexer lexer) method MycatExprParser (line 21) | public MycatExprParser(String sql) method parseSelectItem (line 26) | @Override method parseTop (line 32) | public void parseTop() FILE: src/main/java/io/mycat/route/parser/druid/MycatLexer.java class MycatLexer (line 13) | public class MycatLexer extends MySqlLexer method MycatLexer (line 45) | public MycatLexer(char[] input, int inputLength, boolean skipComment) method MycatLexer (line 51) | public MycatLexer(String input) FILE: src/main/java/io/mycat/route/parser/druid/MycatSchemaStatVisitor.java class MycatSchemaStatVisitor (line 64) | public class MycatSchemaStatVisitor extends MySqlSchemaStatVisitor { method reset (line 80) | private void reset() { method getWhereUnits (line 87) | public List getWhereUnits() { method hasOrCondition (line 91) | public boolean hasOrCondition() { method visit (line 95) | @Override method visit (line 105) | @Override method getColumn (line 147) | @Override method getColumnByExpr (line 164) | private Column getColumnByExpr(SQLIdentifierExpr expr) { method getColumnByExpr (line 189) | private Column getColumnByExpr(SQLBetweenExpr betweenExpr) { method getTableNameByAlias (line 221) | private String getTableNameByAlias(String alias) { method getOwnerTableName (line 237) | private String getOwnerTableName(SQLBetweenExpr betweenExpr,String col... method setSubQueryRelationOrFlag (line 285) | private void setSubQueryRelationOrFlag(SQLExprImpl x){ method visit (line 298) | @Override method visit (line 308) | @Override method visit (line 318) | @Override method visit (line 325) | @Override method visit (line 335) | @Override method visit (line 352) | @Override method visit (line 457) | @Override method visit (line 591) | @Override method visit (line 714) | @Override method buildWhereUnits (line 770) | private void buildWhereUnits() { method splitConditions (line 784) | public List> splitConditions() { method loopFindSubWhereUnit (line 809) | private void loopFindSubWhereUnit(List whereUnitList) { method isExprHasOr (line 839) | private boolean isExprHasOr(SQLExpr expr) { method mergedConditions (line 844) | private List> mergedConditions() { method mergeOneWhereUnit (line 859) | private void mergeOneWhereUnit(WhereUnit whereUnit) { method getMergedConditionList (line 890) | private List> getMergedConditionList(List w... method merge (line 909) | private List> merge(List> list1, List<... method getConditionsFromWhereUnit (line 967) | private void getConditionsFromWhereUnit(WhereUnit whereUnit) { method splitUntilNoOr (line 1000) | private void splitUntilNoOr(WhereUnit whereUnit) { method addExprIfNotFalse (line 1025) | private void addExprIfNotFalse(WhereUnit whereUnit, SQLExpr expr) { method visit (line 1032) | @Override method visit (line 1048) | public boolean visit(MySqlCreateTableStatement x) { method visit (line 1061) | public boolean visit(MySqlInsertStatement x) { method visit (line 1075) | public boolean visit(MySqlDeleteStatement x) { method endVisit (line 1104) | public void endVisit(MySqlDeleteStatement x) { method visit (line 1107) | public boolean visit(SQLUpdateStatement x) { method endVisit (line 1138) | @Override method visit (line 1143) | @Override method visit (line 1157) | @Override method parseSchema (line 1183) | private String parseSchema(List hits) { method getSubQuerys (line 1195) | public Queue getSubQuerys() { method addSubQuerys (line 1199) | private void addSubQuerys(SQLSelect sqlselect){ method sqlSelectQueryBlockEquals (line 1233) | private boolean sqlSelectQueryBlockEquals(SQLSelectQueryBlock obj1,SQL... method isHasChange (line 1257) | public boolean isHasChange() { method isSubqueryRelationOr (line 1261) | public boolean isSubqueryRelationOr() { method sqlConditionListInOther (line 1273) | private boolean sqlConditionListInOther(List current, List<... method sqlConditionListEquals (line 1311) | private boolean sqlConditionListEquals(List list1, List mergeSqlConditionList(List list1, L... method sqlConditionEquals (line 1384) | private boolean sqlConditionEquals(Condition obj1, Condition obj2) { method getAliasMap (line 1435) | public Map getAliasMap() { method getSelectTableList (line 1439) | public List getSelectTableList() { method getCurrentTable (line 1443) | public String getCurrentTable() { method setCurrentTable (line 1447) | public void setCurrentTable(String currentTable) { method clearTableVisitFlag (line 1454) | private void clearTableVisitFlag() { method putAliasToMap (line 1469) | private void putAliasToMap(String key, String value) { FILE: src/main/java/io/mycat/route/parser/druid/MycatSelectParser.java class MycatSelectParser (line 12) | public class MycatSelectParser extends MySqlSelectParser method MycatSelectParser (line 14) | public MycatSelectParser(SQLExprParser exprParser) method MycatSelectParser (line 19) | public MycatSelectParser(String sql) method parseTop (line 31) | public void parseTop() FILE: src/main/java/io/mycat/route/parser/druid/MycatStatementParser.java class MycatStatementParser (line 15) | public class MycatStatementParser extends MySqlStatementParser method MycatStatementParser (line 21) | public MycatStatementParser(String sql) method MycatStatementParser (line 27) | public MycatStatementParser(Lexer lexer) method parseSelect (line 34) | @Override method parseLoadDataInFile (line 50) | @Override FILE: src/main/java/io/mycat/route/parser/druid/MycatSubQueryVisitor.java class MycatSubQueryVisitor (line 9) | public class MycatSubQueryVisitor extends MySqlSchemaStatVisitor{ method visit (line 13) | @Override method isRelationOr (line 39) | public boolean isRelationOr() { FILE: src/main/java/io/mycat/route/parser/druid/RouteCalculateUnit.java class RouteCalculateUnit (line 19) | public class RouteCalculateUnit { method getTablesAndConditions (line 22) | public Map>> getTablesAndCond... method addShardingExpr (line 26) | public void addShardingExpr(String tableName, String columnName, Objec... method clear (line 61) | public void clear() { FILE: src/main/java/io/mycat/route/parser/druid/SchemaStatVisitorFactory.java class SchemaStatVisitorFactory (line 14) | public class SchemaStatVisitorFactory { method create (line 21) | public static MycatSchemaStatVisitor create(SchemaConfig schema) { FILE: src/main/java/io/mycat/route/parser/druid/SqlMethodInvocationHandler.java type SqlMethodInvocationHandler (line 13) | public interface SqlMethodInvocationHandler { method invoke (line 20) | String invoke(SQLMethodInvokeExpr expr) throws SQLNonTransientException; FILE: src/main/java/io/mycat/route/parser/druid/SqlMethodInvocationHandlerFactory.java class SqlMethodInvocationHandlerFactory (line 13) | public class SqlMethodInvocationHandlerFactory { method getForMysql (line 18) | public static MysqlMethodInvocationHandler getForMysql() { method getForOracle (line 22) | public static OracleMethodInvocationHandler getForOracle() { method getForPgsql (line 26) | public static PgsqlMethodInvocationHandler getForPgsql() { FILE: src/main/java/io/mycat/route/parser/druid/WhereUnit.java class WhereUnit (line 35) | public class WhereUnit { method getOutConditions (line 62) | public List getOutConditions() { method addOutConditions (line 66) | public void addOutConditions(List outConditions) { method isFinishedParse (line 70) | public boolean isFinishedParse() { method setFinishedParse (line 74) | public void setFinishedParse(boolean finishedParse) { method WhereUnit (line 78) | public WhereUnit() { method WhereUnit (line 81) | public WhereUnit(SQLBinaryOpExpr whereExpr) { method getWhereExpr (line 86) | public SQLBinaryOpExpr getWhereExpr() { method setWhereExpr (line 90) | public void setWhereExpr(SQLBinaryOpExpr whereExpr) { method getCanSplitExpr (line 94) | public SQLBinaryOpExpr getCanSplitExpr() { method setCanSplitExpr (line 98) | public void setCanSplitExpr(SQLBinaryOpExpr canSplitExpr) { method getSplitedExprList (line 102) | public List getSplitedExprList() { method addSplitedExpr (line 106) | public void addSplitedExpr(SQLExpr splitedExpr) { method getConditionList (line 110) | public List> getConditionList() { method setConditionList (line 114) | public void setConditionList(List> conditionList) { method addSubWhereUnit (line 118) | public void addSubWhereUnit(WhereUnit whereUnit) { method getSubWhereUnit (line 122) | public List getSubWhereUnit() { FILE: src/main/java/io/mycat/route/parser/druid/impl/DefaultDruidParser.java class DefaultDruidParser (line 39) | public class DefaultDruidParser implements DruidParser { method getTableAliasMap (line 52) | public Map getTableAliasMap() { method getConditions (line 56) | public List getConditions() { method DefaultDruidParser (line 60) | public DefaultDruidParser() { method parser (line 69) | public void parser(SchemaConfig schema, RouteResultset rrs, SQLStateme... method afterVisitorParser (line 86) | public boolean afterVisitorParser(RouteResultset rrs, SQLStatement stm... method statementParse (line 94) | @Override method changeSql (line 102) | @Override method visitorParse (line 113) | @Override method buildTableAliasMap (line 147) | private Map buildTableAliasMap(SchemaConfig schema, My... method buildRouteCalculateUnits (line 204) | private List buildRouteCalculateUnits(MycatSchemaS... method checkConditionValues (line 263) | private boolean checkConditionValues(List values) { method getCtx (line 272) | public DruidShardingParseInfo getCtx() { method setInvocationHandler (line 276) | public void setInvocationHandler(SqlMethodInvocationHandler invocation... method tryInvokeSQLMethod (line 283) | protected String tryInvokeSQLMethod(SQLMethodInvokeExpr expr) throws S... FILE: src/main/java/io/mycat/route/parser/druid/impl/DruidAlterTableParser.java class DruidAlterTableParser (line 18) | public class DruidAlterTableParser extends DefaultDruidParser { method visitorParse (line 19) | @Override method statementParse (line 24) | @Override FILE: src/main/java/io/mycat/route/parser/druid/impl/DruidCreateTableParser.java class DruidCreateTableParser (line 22) | public class DruidCreateTableParser extends DefaultDruidParser { method visitorParse (line 24) | @Override method statementParse (line 29) | @Override FILE: src/main/java/io/mycat/route/parser/druid/impl/DruidDeleteParser.java class DruidDeleteParser (line 15) | public class DruidDeleteParser extends DefaultDruidParser { method statementParse (line 16) | @Override FILE: src/main/java/io/mycat/route/parser/druid/impl/DruidInsertParser.java class DruidInsertParser (line 37) | public class DruidInsertParser extends DefaultDruidParser { method visitorParse (line 38) | @Override method statementParse (line 47) | @Override method getJoinKeyIndex (line 100) | private int getJoinKeyIndex(List columns, String joinKey) { method isMultiInsert (line 115) | private boolean isMultiInsert(MySqlInsertStatement insertStmt) { method parserChildTable (line 119) | private RouteResultset parserChildTable(SchemaConfig schema, RouteResu... method parserSingleInsert (line 181) | private void parserSingleInsert(SchemaConfig schema, RouteResultset rr... method parserBatchInsert (line 229) | private void parserBatchInsert(SchemaConfig schema, RouteResultset rrs... method getShardingValue (line 328) | private String getShardingValue(SQLExpr expr) throws SQLNonTransientEx... method getShardingColIndex (line 357) | private int getShardingColIndex(MySqlInsertStatement insertStmt,String... FILE: src/main/java/io/mycat/route/parser/druid/impl/DruidLockTableParser.java class DruidLockTableParser (line 23) | public class DruidLockTableParser extends DefaultDruidParser implements ... method statementParse (line 24) | @Override method visitorParse (line 50) | @Override FILE: src/main/java/io/mycat/route/parser/druid/impl/DruidSelectDb2Parser.java class DruidSelectDb2Parser (line 30) | public class DruidSelectDb2Parser extends DruidSelectOracleParser method parseNativePageSql (line 33) | protected void parseNativePageSql(SQLStatement stmt, RouteResultset rr... method parseNativeSql (line 164) | protected void parseNativeSql(SQLStatement stmt,RouteResultset rrs, Or... method getCurentDbType (line 177) | protected String getCurentDbType() FILE: src/main/java/io/mycat/route/parser/druid/impl/DruidSelectOracleParser.java class DruidSelectOracleParser (line 29) | public class DruidSelectOracleParser extends DruidSelectParser { method statementParse (line 31) | @Override method parseOrderAggGroupOracle (line 70) | protected void parseOrderAggGroupOracle(SQLStatement stmt, RouteResult... method parseNativePageSql (line 83) | protected void parseNativePageSql(SQLStatement stmt, RouteResultset rr... method getCurentDbType (line 247) | protected String getCurentDbType() method parseNativeSql (line 251) | protected void parseNativeSql(SQLStatement stmt,RouteResultset rrs, Or... method parseThreeLevelPageSql (line 256) | private void parseThreeLevelPageSql(SQLStatement stmt, RouteResultset ... FILE: src/main/java/io/mycat/route/parser/druid/impl/DruidSelectParser.java class DruidSelectParser (line 83) | public class DruidSelectParser extends DefaultDruidParser { method statementParse (line 88) | @Override method parseOrderAggGroupMysql (line 109) | protected void parseOrderAggGroupMysql(SchemaConfig schema, SQLStateme... method parseAggGroupCommon (line 127) | protected Map parseAggGroupCommon(SchemaConfig schema,... method buildGroupByHaving (line 268) | private HavingCols buildGroupByHaving(SQLExpr having,Map>> getAllCondition... method tryRoute (line 558) | private void tryRoute(SchemaConfig schema, RouteResultset rrs, LayerCa... method getCurentDbType (line 634) | protected String getCurentDbType() method getSql (line 642) | protected String getSql( RouteResultset rrs,SQLStatement stmt, boolean... method isNeedChangeLimit (line 656) | protected boolean isNeedChangeLimit(RouteResultset rrs) { method isNeedCache (line 668) | private boolean isNeedCache(SchemaConfig schema, RouteResultset rrs, method isNeedAddLimit (line 704) | private boolean isNeedAddLimit(SchemaConfig schema, RouteResultset rrs, method getAliaColumn (line 752) | private String getAliaColumn(Map aliaColumns,String co... method buildGroupByCols (line 776) | private String[] buildGroupByCols(List groupByItems,Map buildOrderByCols(List getFields(Function function){ method main (line 117) | public static void main(String[] args) throws SQLNonTransientException { FILE: src/main/java/io/mycat/route/parser/primitive/Model/Commons.java class Commons (line 8) | public class Commons { FILE: src/main/java/io/mycat/route/parser/primitive/Model/Field.java class Field (line 8) | public class Field extends Identifier { method Field (line 9) | public Field(String name) { FILE: src/main/java/io/mycat/route/parser/primitive/Model/Function.java class Function (line 11) | public class Function extends Identifier { method Function (line 14) | public Function(String name) { method getArguments (line 19) | public List getArguments() { FILE: src/main/java/io/mycat/route/parser/primitive/Model/Identifier.java class Identifier (line 8) | public class Identifier { method Identifier (line 11) | public Identifier(String name) { method getName (line 15) | public String getName() { FILE: src/main/java/io/mycat/route/parser/util/ArrayUtil.java class ArrayUtil (line 29) | public class ArrayUtil { method equals (line 30) | public static boolean equals(String str1, String str2) { method contains (line 37) | public static boolean contains(String[] list, String str) { FILE: src/main/java/io/mycat/route/parser/util/CharTypes.java class CharTypes (line 29) | public class CharTypes { method isHex (line 43) | public static boolean isHex(char c) { method isDigit (line 47) | public static boolean isDigit(char c) { method isIdentifierChar (line 67) | public static boolean isIdentifierChar(char c) { method isWhitespace (line 84) | public static boolean isWhitespace(char c) { FILE: src/main/java/io/mycat/route/parser/util/PageSQLUtil.java class PageSQLUtil (line 38) | public class PageSQLUtil method convertLimitToNativePageSql (line 40) | public static String convertLimitToNativePageSql(String dbType, String... method limitDB2 (line 110) | private static String limitDB2(SQLSelect select, String dbType, int of... FILE: src/main/java/io/mycat/route/parser/util/Pair.java class Pair (line 31) | public final class Pair { method Pair (line 36) | public Pair(K key, V value) { method getKey (line 41) | public K getKey() { method getValue (line 45) | public V getValue() { method toString (line 49) | @Override method hashCode (line 58) | @Override method equals (line 74) | @SuppressWarnings("rawtypes") method isEquals (line 87) | private boolean isEquals(Object o1, Object o2) { FILE: src/main/java/io/mycat/route/parser/util/PairUtil.java class PairUtil (line 29) | public final class PairUtil { method sequenceSlicing (line 40) | public static Pair sequenceSlicing(String slice) { method splitIndex (line 74) | public static Pair splitIndex(String src, char l, cha... FILE: src/main/java/io/mycat/route/parser/util/ParseString.java class ParseString (line 29) | public final class ParseString { method hexString2Bytes (line 33) | public static byte[] hexString2Bytes(char[] hexString, int offset, int... FILE: src/main/java/io/mycat/route/parser/util/ParseUtil.java class ParseUtil (line 35) | public final class ParseUtil { method isEOF (line 37) | public static boolean isEOF(char c) { method isEOF (line 41) | public static boolean isEOF(String stmt, int offset) { method parseString (line 50) | public static String parseString(String stmt) { method getSQLId (line 59) | public static long getSQLId(String stmt) { method changeInsertAddSlot (line 71) | public static String changeInsertAddSlot(String sql,int slotValue) method parseString (line 84) | private static String parseString(String stmt, int offset) { method parseString2 (line 130) | private static String parseString2(String stmt, int offset) { method parseIdentifierEscape (line 176) | private static String parseIdentifierEscape(String stmt, int offset) { method parseAlias (line 197) | public static String parseAlias(String stmt, final int aliasIndex) { method comment (line 223) | public static int comment(String stmt, int offset) { method currentCharIsSep (line 250) | public static boolean currentCharIsSep(String stmt, int offset) { method nextCharIsSep (line 268) | public static boolean nextCharIsSep(String stmt, int offset) { method nextStringIsExpectedWithIgnoreSepChar (line 281) | public static int nextStringIsExpectedWithIgnoreSepChar(String stmt, method nextStringIsJsonEq (line 331) | public static int nextStringIsJsonEq(String stmt, int offset) { method move (line 354) | public static int move(String stmt, int offset, int length) { method compare (line 374) | public static boolean compare(String s, int offset, char[] keyword) { method isSpace (line 386) | public static boolean isSpace(char space) { method findNextBreak (line 390) | public static int findNextBreak(String sql) { method findNextBreak (line 399) | private static int findNextBreak(String sql, boolean inProcedure) { method isBegin (line 452) | private static boolean isBegin(String stmt, int offset) { method isEnd (line 464) | private static boolean isEnd(String stmt, int offset) { method getProcedureEndPos (line 484) | private static int getProcedureEndPos(String stmt, int offset) { FILE: src/main/java/io/mycat/route/parser/util/SQLParserUtils.java class SQLParserUtils (line 14) | public class SQLParserUtils { class State (line 16) | class State{ method parse (line 27) | public Map parse(String sql){ method getTableName (line 141) | private void getTableName(String str){ method getCount (line 170) | public static int getCount(String str,String match){ method test (line 181) | private boolean test(String sql,String[] tables){ method main (line 228) | public static void main(String[] args) { FILE: src/main/java/io/mycat/route/parser/util/WildcardUtil.java class WildcardUtil (line 3) | public class WildcardUtil { method wildcard (line 5) | public static String wildcard(String name) { method wildcards (line 16) | public static void wildcards(String[] names) { FILE: src/main/java/io/mycat/route/sequence/BatchInsertSequence.java class BatchInsertSequence (line 31) | public class BatchInsertSequence implements Catlet { method processSQL (line 46) | @Override method route (line 68) | @Override method getRoute (line 136) | private void getRoute(String sql){ FILE: src/main/java/io/mycat/route/sequence/handler/DistributedSequenceHandler.java class DistributedSequenceHandler (line 43) | public class DistributedSequenceHandler extends LeaderSelectorListenerAd... method getInstance (line 100) | public static DistributedSequenceHandler getInstance(SystemConfig syst... method getClusterId (line 107) | public long getClusterId() { method setClusterId (line 111) | public void setClusterId(long clusterId) { method getLeaderSelector (line 115) | public LeaderSelector getLeaderSelector() { method getInstanceId (line 119) | public long getInstanceId() { method setInstanceId (line 123) | public void setInstanceId(long instanceId) { method getClient (line 127) | public CuratorFramework getClient() { method setClient (line 131) | public void setClient(CuratorFramework client) { method DistributedSequenceHandler (line 135) | public DistributedSequenceHandler(SystemConfig mycatConfig) { method load (line 140) | public void load() { method initializeZK (line 153) | public void initializeZK(String zkAddress) { method nextId (line 194) | @Override method getNextThreadID (line 229) | private synchronized Long getNextThreadID() { method blockUntilNextMillis (line 235) | private long blockUntilNextMillis(long time) { method stateChanged (line 241) | @Override method takeLeadership (line 250) | @Override method nextFree (line 309) | private int nextFree() { method close (line 322) | @Override FILE: src/main/java/io/mycat/route/sequence/handler/HttpIncrSequenceHandler.java class HttpIncrSequenceHandler (line 11) | public class HttpIncrSequenceHandler implements SequenceHandler { method HttpIncrSequenceHandler (line 18) | public HttpIncrSequenceHandler() { method nextId (line 23) | @Override FILE: src/main/java/io/mycat/route/sequence/handler/IncrSequenceBDBHandler.java class IncrSequenceBDBHandler (line 35) | public class IncrSequenceBDBHandler extends IncrSequenceHandler { class IncrSequenceBDBHandlerHolder (line 37) | private static class IncrSequenceBDBHandlerHolder { method getInstance (line 41) | public static IncrSequenceBDBHandler getInstance() { method IncrSequenceBDBHandler (line 45) | private IncrSequenceBDBHandler() { method getParaValMap (line 48) | @Override method fetchNextPeriod (line 54) | @Override method updateCURIDVal (line 60) | @Override FILE: src/main/java/io/mycat/route/sequence/handler/IncrSequenceHandler.java class IncrSequenceHandler (line 38) | public abstract class IncrSequenceHandler implements SequenceHandler { method getParaValMap (line 50) | public abstract Map getParaValMap(String prefixName); method updateCURIDVal (line 52) | public abstract Boolean updateCURIDVal(String prefixName, Long val); method fetchNextPeriod (line 54) | public abstract Boolean fetchNextPeriod(String prefixName); method nextId (line 56) | @Override FILE: src/main/java/io/mycat/route/sequence/handler/IncrSequenceMySQLHandler.java class IncrSequenceMySQLHandler (line 24) | public class IncrSequenceMySQLHandler implements SequenceHandler { class IncrSequenceMySQLHandlerHolder (line 34) | private static class IncrSequenceMySQLHandlerHolder { method getInstance (line 38) | public static IncrSequenceMySQLHandler getInstance() { method IncrSequenceMySQLHandler (line 42) | private IncrSequenceMySQLHandler() { method load (line 47) | public void load() { method removeDesertedSequenceVals (line 55) | private void removeDesertedSequenceVals(Properties props) { method putNewSequenceVals (line 66) | private void putNewSequenceVals(Properties props) { method nextId (line 83) | @Override method getNextValidSeqVal (line 100) | private Long getNextValidSeqVal(SequenceVal seqVal) { method getSeqValueFromDB (line 123) | private long getSeqValueFromDB(SequenceVal seqVal) { class FetchMySQLSequnceHandler (line 173) | class FetchMySQLSequnceHandler implements ResponseHandler { method execute (line 177) | public void execute(SequenceVal seqVal) { method getLastestError (line 197) | public String getLastestError(String seqName) { method connectionAcquired (line 201) | @Override method connectionError (line 214) | @Override method errorResponse (line 221) | @Override method okResponse (line 235) | @Override method rowResponse (line 246) | @Override method rowEofResponse (line 262) | @Override method executeException (line 270) | private void executeException(BackendConnection c, Throwable e) { method writeQueueAvailable (line 281) | @Override method connectionClose (line 286) | @Override method fieldEofResponse (line 293) | @Override FILE: src/main/java/io/mycat/route/sequence/handler/IncrSequencePropHandler.java class IncrSequencePropHandler (line 40) | public class IncrSequencePropHandler extends IncrSequenceHandler { class IncrSequencePropHandlerHolder (line 43) | private static class IncrSequencePropHandlerHolder { method getInstance (line 47) | public static IncrSequencePropHandler getInstance() { method IncrSequencePropHandler (line 51) | private IncrSequencePropHandler() { method getParaValMap (line 58) | @Override method fetchNextPeriod (line 81) | @Override method updateCURIDVal (line 107) | @Override FILE: src/main/java/io/mycat/route/sequence/handler/IncrSequenceTimeHandler.java class IncrSequenceTimeHandler (line 9) | public class IncrSequenceTimeHandler implements SequenceHandler { method getInstance (line 17) | public static IncrSequenceTimeHandler getInstance() { method IncrSequenceTimeHandler (line 21) | public IncrSequenceTimeHandler() { method load (line 26) | public void load(){ method loadProps (line 35) | private Properties loadProps(String propsFile){ method nextId (line 49) | @Override class IdWorker (line 59) | static class IdWorker { method IdWorker (line 85) | public IdWorker(long workerId, long datacenterId) { method nextId (line 96) | public synchronized long nextId() { method tilNextMillis (line 125) | private long tilNextMillis(final long lastTimestamp) { method timeGen (line 133) | private long timeGen() { FILE: src/main/java/io/mycat/route/sequence/handler/IncrSequenceZKHandler.java class IncrSequenceZKHandler (line 62) | public class IncrSequenceZKHandler extends IncrSequenceHandler { method getInstance (line 73) | public static IncrSequenceZKHandler getInstance() { method load (line 83) | public void load() { method threadLocalLoad (line 93) | public void threadLocalLoad() throws Exception { method initializeZK (line 103) | public void initializeZK(Properties props, String zkAddress) throws Ex... method handle (line 116) | private void handle(String key) throws Exception { method getParaValMap (line 153) | @Override method fetchNextPeriod (line 168) | @Override method updateCURIDVal (line 214) | @Override method main (line 228) | public static void main(String[] args) throws UnsupportedEncodingExcep... FILE: src/main/java/io/mycat/route/sequence/handler/SequenceHandler.java type SequenceHandler (line 32) | public interface SequenceHandler { method nextId (line 34) | public long nextId(String prefixName); FILE: src/main/java/io/mycat/route/sequence/handler/SequenceVal.java class SequenceVal (line 20) | class SequenceVal { method reset (line 36) | public void reset(){ method setDbfinished (line 44) | public void setDbfinished() { method SequenceVal (line 48) | public SequenceVal(String seqName, String dataNode) { method isNexValValid (line 54) | public boolean isNexValValid(Long nexVal) { method setCurValue (line 63) | public void setCurValue(long newValue) { method fetchSequenceFromDB (line 75) | public Long[] fetchSequenceFromDB(FetchMySQLSequnceHandler mysqlSeqFet... method getSequenceByNaitve (line 89) | private Long[] getSequenceByNaitve(FetchMySQLSequnceHandler mysqlSeqFe... method getSequenceValueByJDBC (line 149) | private Long[] getSequenceValueByJDBC(int retryCount) { method getDBHostConfig (line 227) | private DataHostConfig getDBHostConfig() { method sleep (line 237) | public void sleep(long time) { method isSuccessFetched (line 246) | public boolean isSuccessFetched() { method nextValue (line 250) | public long nextValue() { FILE: src/main/java/io/mycat/route/sequence/handler/SnowflakeIdSequenceHandler.java class SnowflakeIdSequenceHandler (line 37) | public class SnowflakeIdSequenceHandler implements SequenceHandler { method SnowflakeIdSequenceHandler (line 61) | public SnowflakeIdSequenceHandler(long workerId, long datacenterId) { method SnowflakeIdSequenceHandler (line 86) | public SnowflakeIdSequenceHandler(long workerId) { method SnowflakeIdSequenceHandler (line 91) | public SnowflakeIdSequenceHandler() { method nextId (line 95) | @Override method tilNextMillis (line 122) | private synchronized long tilNextMillis(long lastTimestamp) { method timeGen (line 130) | private long timeGen() { method main (line 134) | public static void main(String[] args) { FILE: src/main/java/io/mycat/route/sequence/handler/ThirftClientSequenceHandler.java class ThirftClientSequenceHandler (line 34) | public class ThirftClientSequenceHandler implements SequenceHandler { method nextId (line 36) | @Override FILE: src/main/java/io/mycat/route/util/CacheUtil.java class CacheUtil (line 6) | public class CacheUtil { method main (line 13) | public static void main(String[] args) throws Exception { FILE: src/main/java/io/mycat/route/util/PartitionUtil.java class PartitionUtil (line 33) | public final class PartitionUtil { method PartitionUtil (line 52) | public PartitionUtil(int[] count, int[] length) { method partition (line 80) | public int partition(long hash) { method partition (line 84) | public int partition(String key, int start, int end) { FILE: src/main/java/io/mycat/route/util/PropertiesUtil.java class PropertiesUtil (line 14) | public class PropertiesUtil { method loadProps (line 15) | public static Properties loadProps(String propsFile){ FILE: src/main/java/io/mycat/route/util/RouterUtil.java class RouterUtil (line 70) | public class RouterUtil { method removeSchema (line 87) | public static String removeSchema(String stmt, String schema) { method countChar (line 126) | private static int countChar(String sql,int end) method routeToSingleNode (line 153) | public static RouteResultset routeToSingleNode(RouteResultset rrs, method routeToDDLNode (line 184) | public static RouteResultset routeToDDLNode(RouteResultset rrs, int sq... method changeCreateTable (line 261) | private static String changeCreateTable(SchemaConfig schema,String ta... method getFixedSql (line 290) | public static String getFixedSql(String stmt){ method getTableName (line 303) | public static String getTableName(String stmt, int[] repPos) { method getShowTableName (line 341) | public static String getShowTableName(SchemaConfig schema, String stmt... method getCreateTablePos (line 375) | public static int[] getCreateTablePos(String upStmt, int start) { method getCreateIndexPos (line 402) | public static int[] getCreateIndexPos(String upStmt, int start) { method getAlterTablePos (line 425) | public static int[] getAlterTablePos(String upStmt, int start) { method getDropTablePos (line 446) | public static int[] getDropTablePos(String upStmt, int start) { method getDropIndexPos (line 484) | public static int[] getDropIndexPos(String upStmt, int start) { method getTruncateTablePos (line 507) | public static int[] getTruncateTablePos(String upStmt, int start) { method getSpecPos (line 528) | public static int[] getSpecPos(String upStmt, int start) { method getSpecEndPos (line 552) | public static int getSpecEndPos(String upStmt, int start) { method processWithMycatSeq (line 563) | public static boolean processWithMycatSeq(SchemaConfig schema, int sql... method processSQL (line 576) | public static void processSQL(ServerConnection sc,SchemaConfig schema,... method processInsert (line 591) | public static boolean processInsert(SchemaConfig schema, int sqlType, method isPKInFields (line 607) | private static int isPKInFields(String origSQL,String primaryKey,int f... method processInsert (line 640) | public static boolean processInsert(ServerConnection sc,SchemaConfig s... method handleBatchInsertWithPK (line 700) | private static boolean handleBatchInsertWithPK(ServerConnection sc, Sc... method handleBatchInsert (line 736) | public static List handleBatchInsert(String origSQL, int value... method parseSqlValueArrayAndSuffixStr (line 796) | public static Object[] parseSqlValueArrayAndSuffixStr(String origSQL, ... method handleBatchInsert (line 880) | public static void handleBatchInsert(ServerConnection sc, SchemaConfig... method routeToMultiNode (line 928) | public static RouteResultset routeToMultiNode(boolean cache,RouteResul... method routeToMultiNode (line 951) | public static RouteResultset routeToMultiNode(boolean cache, RouteResu... method routeForTableMeta (line 959) | public static void routeForTableMeta(RouteResultset rrs, method getMetaReadDataNode (line 991) | private static String getMetaReadDataNode(SchemaConfig schema, method getAliveRandomDataNode (line 1009) | public static String getAliveRandomDataNode(TableConfig tc) { method getRandomDataNode (line 1034) | @Deprecated method routeByERParentKey (line 1076) | public static RouteResultset routeByERParentKey(ServerConnection sc,Sc... method ruleByJoinValueCalculate (line 1113) | public static Set ruleByJoinValueCalculate(RouteResultset rrs,... method ruleCalculate (line 1175) | public static Set ruleCalculate(TableConfig tc, method tryRouteForTables (line 1227) | public static RouteResultset tryRouteForTables(SchemaConfig schema, Dr... method tryRouteForOneTable (line 1363) | public static RouteResultset tryRouteForOneTable(SchemaConfig schema, ... method routeToDistTableNode (line 1421) | private static RouteResultset routeToDistTableNode(SchemaConfig schema... method setNodes (line 1485) | private static void setNodes(RouteResultset rrs, TableConfig tableConf... method getNode (line 1529) | private static RouteResultsetNode[] getNode(RouteResultset rrs, String... method findRouteWithcConditionsForTables (line 1599) | public static void findRouteWithcConditionsForTables(SchemaConfig sche... method isAllGlobalTable (line 1778) | public static boolean isAllGlobalTable(DruidShardingParseInfo ctx, Sch... method checkRuleRequired (line 1798) | public static boolean checkRuleRequired(SchemaConfig schema, DruidShar... method isNoSharding (line 1827) | public static boolean isNoSharding(SchemaConfig schemaConfig, String t... method isSystemSchema (line 1848) | public static boolean isSystemSchema(String tableName) { method isConditionAlwaysTrue (line 1864) | public static boolean isConditionAlwaysTrue(SQLExpr expr) { method isConditionAlwaysFalse (line 1877) | public static boolean isConditionAlwaysFalse(SQLExpr expr) { method processERChildTable (line 1900) | public static boolean processERChildTable(final SchemaConfig schema, f... method getJoinKeyIndex (line 2054) | private static int getJoinKeyIndex(List columns, String joinK... method isMultiInsert (line 2070) | private static boolean isMultiInsert(MySqlInsertStatement insertStmt) { method getStartPos (line 2081) | private static int getStartPos(String stmt, int startPos) { FILE: src/main/java/io/mycat/server/NonBlockingSession.java class NonBlockingSession (line 66) | public class NonBlockingSession implements Session { method NonBlockingSession (line 88) | public NonBlockingSession(ServerConnection source) { method getSource (line 95) | @Override method getTargetCount (line 100) | @Override method getTargetKeys (line 105) | public Set getTargetKeys() { method getTarget (line 109) | public BackendConnection getTarget(RouteResultsetNode key) { method getTargetMap (line 113) | public Map getTargetMap() { method removeTarget (line 117) | public BackendConnection removeTarget(RouteResultsetNode key) { method execute (line 121) | @Override method checkDistriTransaxAndExecute (line 183) | private void checkDistriTransaxAndExecute(RouteResultset rrs, int type... method checkDistriTransaxAndExecute (line 210) | private void checkDistriTransaxAndExecute() { method commit (line 230) | public void commit() { method isALLGlobal (line 259) | private boolean isALLGlobal(){ method rollback (line 271) | public void rollback() { method lockTable (line 301) | public void lockTable(RouteResultset rrs) { method unLockTable (line 327) | public void unLockTable(String sql) { method cancel (line 332) | @Override method terminate (line 340) | public void terminate() { method closeAndClearResources (line 348) | public void closeAndClearResources(String reason) { method closeConnection (line 356) | public void closeConnection(BackendConnection con, String reason) { method releaseConnectionIfSafe (line 372) | public void releaseConnectionIfSafe(BackendConnection conn, boolean de... method releaseConnection (line 400) | public void releaseConnection(RouteResultsetNode rrn, boolean debug, method releaseConnections (line 433) | public void releaseConnections(final boolean needRollback) { method releaseConnection (line 441) | public void releaseConnection(BackendConnection con) { method bindConnection (line 461) | public BackendConnection bindConnection(RouteResultsetNode key, method tryExistsCon (line 477) | public boolean tryExistsCon(final BackendConnection conn, RouteResults... method kill (line 537) | protected void kill() { method clearHandlesResources (line 574) | private void clearHandlesResources() { method clearResources (line 587) | public void clearResources(final boolean needRollback) { method closed (line 595) | public boolean closed() { method genXATXID (line 599) | private String genXATXID() { method setXATXEnabled (line 603) | public void setXATXEnabled(boolean xaTXEnabled) { method getXaTXID (line 616) | public String getXaTXID() { method isPrepared (line 620) | public boolean isPrepared() { method setPrepared (line 624) | public void setPrepared(boolean prepared) { method isCanClose (line 629) | public boolean isCanClose() { method setCanClose (line 633) | public void setCanClose(boolean canClose) { method getMiddlerResultHandler (line 637) | public MiddlerResultHandler getMiddlerResultHandler() { method setMiddlerResultHandler (line 641) | public void setMiddlerResultHandler(MiddlerResultHandler middlerResult... method setAutoCommitStatus (line 645) | public void setAutoCommitStatus() { method toString (line 657) | @Override method getRrs (line 667) | public RouteResultset getRrs() { FILE: src/main/java/io/mycat/server/ServerConnection.java class ServerConnection (line 57) | public class ServerConnection extends FrontendConnection { method ServerConnection (line 79) | public ServerConnection(NetworkChannel channel) method isIdleTimeout (line 90) | @Override method getAuthTimeout (line 99) | public long getAuthTimeout() { method setAuthTimeout (line 103) | public void setAuthTimeout(long authTimeout) { method getTxIsolation (line 107) | public int getTxIsolation() { method setTxIsolation (line 111) | public void setTxIsolation(int txIsolation) { method isAutocommit (line 115) | public boolean isAutocommit() { method setAutocommit (line 119) | public void setAutocommit(boolean autocommit) { method isTxReadonly (line 123) | public boolean isTxReadonly() { method setTxReadonly (line 127) | public void setTxReadonly(boolean txReadonly) { method getSqlSelectLimit (line 131) | public int getSqlSelectLimit() { method setSqlSelectLimit (line 135) | public void setSqlSelectLimit(int sqlSelectLimit) { method getLastInsertId (line 139) | public long getLastInsertId() { method setLastInsertId (line 143) | public void setLastInsertId(long lastInsertId) { method setTxInterrupt (line 150) | public void setTxInterrupt(String txInterrputMsg) { method clearTxInterrupt (line 161) | public void clearTxInterrupt() { method isTxInterrupted (line 168) | public boolean isTxInterrupted() method getSession2 (line 172) | public NonBlockingSession getSession2() { method setSession2 (line 176) | public void setSession2(NonBlockingSession session2) { method isLocked (line 180) | public boolean isLocked() { method setLocked (line 184) | public void setLocked(boolean isLocked) { method ping (line 188) | @Override method heartbeat (line 193) | @Override method execute (line 198) | public void execute(String sql, int type) { method isNormalSql (line 287) | private boolean isNormalSql(int type) { method routeSQL (line 291) | public RouteResultset routeSQL(String sql, int type) { method routeEndExecuteSQL (line 337) | public void routeEndExecuteSQL(String sql, final int type, final Schem... method commit (line 376) | public void commit() { method rollback (line 390) | public void rollback() { method lockTable (line 403) | public void lockTable(String sql) { method unLockTable (line 424) | public void unLockTable(String sql) { method cancel (line 442) | public void cancel(final FrontendConnection sponsor) { method close (line 451) | @Override method appearNumber (line 467) | public static int appearNumber(String srcText, String findText) { method toString (line 476) | @Override method isPreAcStates (line 486) | public boolean isPreAcStates() { method setPreAcStates (line 490) | public void setPreAcStates(boolean preAcStates) { method getListener (line 494) | public SqlExecuteStageListener getListener() { method setListener (line 498) | public void setListener(SqlExecuteStageListener listener) { method checkQueueFlow (line 502) | @Override method resetConnection (line 514) | @Override method onEventSqlCompleted (line 531) | public void onEventSqlCompleted() { class SqlEntry (line 546) | private class SqlEntry { method SqlEntry (line 551) | public SqlEntry(String sql, int type, RouteResultset rrs) { FILE: src/main/java/io/mycat/server/ServerConnectionFactory.java class ServerConnectionFactory (line 40) | public class ServerConnectionFactory extends FrontendConnectionFactory { method getConnection (line 42) | @Override FILE: src/main/java/io/mycat/server/ServerQueryHandler.java class ServerQueryHandler (line 50) | public class ServerQueryHandler implements FrontendQueryHandler { method setReadOnly (line 57) | public void setReadOnly(Boolean readOnly) { method ServerQueryHandler (line 61) | public ServerQueryHandler(ServerConnection source) { method query (line 65) | @Override FILE: src/main/java/io/mycat/server/Session.java type Session (line 32) | public interface Session { method getSource (line 37) | FrontendConnection getSource(); method getTargetCount (line 42) | int getTargetCount(); method execute (line 47) | void execute(RouteResultset rrs, int type); method commit (line 52) | void commit(); method rollback (line 57) | void rollback(); method cancel (line 65) | void cancel(FrontendConnection sponsor); method terminate (line 70) | void terminate(); FILE: src/main/java/io/mycat/server/handler/BeginHandler.java class BeginHandler (line 31) | public final class BeginHandler { method handle (line 34) | public static void handle(String stmt, ServerConnection c) { FILE: src/main/java/io/mycat/server/handler/CommandHandler.java class CommandHandler (line 53) | public class CommandHandler { method handle (line 56) | public static void handle(String stmt, ServerConnection c, int offset) { class CommandExecResultHandler (line 95) | class CommandExecResultHandler extends SingleNodeHandler { method CommandExecResultHandler (line 98) | public CommandExecResultHandler(RouteResultset rrs, NonBlockingSession... method rowEofResponse0 (line 102) | private void rowEofResponse0(byte[] eof, BackendConnection conn) { method fieldEofResponse (line 131) | @Override method fieldEofResponse0 (line 142) | private void fieldEofResponse0(byte[] header, List fields, byt... method toString (line 166) | @Override FILE: src/main/java/io/mycat/server/handler/Explain2Handler.java class Explain2Handler (line 46) | public class Explain2Handler { method handle (line 60) | public static void handle(String stmt, ServerConnection c, int offset) { method showerror (line 92) | private static void showerror(String stmt, ServerConnection c, String ... FILE: src/main/java/io/mycat/server/handler/ExplainHandler.java class ExplainHandler (line 58) | public class ExplainHandler { method handle (line 71) | public static void handle(String stmt, ServerConnection c, int offset) { method getRow (line 115) | private static RowDataPacket getRow(RouteResultsetNode node, String ch... method getRouteResultset (line 122) | private static RouteResultset getRouteResultset(ServerConnection c, method isMycatSeq (line 162) | private static boolean isMycatSeq(String stmt, SchemaConfig schema) FILE: src/main/java/io/mycat/server/handler/KillHandler.java class KillHandler (line 37) | public class KillHandler { method handle (line 39) | public static void handle(String stmt, int offset, ServerConnection c) { method getOkPacket (line 77) | private static OkPacket getOkPacket() { FILE: src/main/java/io/mycat/server/handler/MigrateHandler.java class MigrateHandler (line 75) | public final class MigrateHandler { method getUUID (line 91) | private static String getUUID() { method handle (line 97) | public static void handle(String stmt, ServerConnection c) { method writePackToClient (line 312) | private static void writePackToClient(ServerConnection c, String taskI... method getDataHostNameFromNode (line 346) | private static String getDataHostNameFromNode(String dataNode) { method mergerTaskForDataHost (line 350) | private static Map> mergerTaskForDataHost(Li... method getSlaveIdFromZKForDataNode (line 365) | private static int getSlaveIdFromZKForDataNode(String dataNode) { method parseSlaveIDs (line 402) | private static List parseSlaveIDs(String slaveIDs) { method getOkPacket (line 422) | private static OkPacket getOkPacket() { method writeErrMessage (line 430) | public static void writeErrMessage(ServerConnection c, String msg) { method main (line 434) | public static void main(String[] args) { method parse (line 449) | private static Map parse(String sql) { method backup (line 469) | public static String backup() throws Exception { method isJson (line 487) | private static boolean isJson(String str) { FILE: src/main/java/io/mycat/server/handler/MysqlInformationSchemaHandler.java class MysqlInformationSchemaHandler (line 23) | public class MysqlInformationSchemaHandler { method doWrite (line 31) | private static void doWrite(int field_count, FieldPacket[] fields, Ser... method handle (line 61) | public static void handle(String sql, ServerConnection c) { FILE: src/main/java/io/mycat/server/handler/MysqlProcHandler.java class MysqlProcHandler (line 36) | public class MysqlProcHandler method handle (line 48) | public static void handle(String stmt, ServerConnection c) FILE: src/main/java/io/mycat/server/handler/SavepointHandler.java class SavepointHandler (line 32) | public final class SavepointHandler { method handle (line 34) | public static void handle(String stmt, ServerConnection c) { FILE: src/main/java/io/mycat/server/handler/SelectHandler.java class SelectHandler (line 47) | public final class SelectHandler { method handle (line 56) | public static void handle(String stmt, ServerConnection c, int offs) { method isClientHeartbeatSql (line 134) | private static boolean isClientHeartbeatSql(String sql) { FILE: src/main/java/io/mycat/server/handler/ServerLoadDataInfileHandler.java class ServerLoadDataInfileHandler (line 71) | public final class ServerLoadDataInfileHandler implements LoadDataInfile... method getPackID (line 97) | public int getPackID() { method setPackID (line 101) | public void setPackID(byte packID) { method ServerLoadDataInfileHandler (line 105) | public ServerLoadDataInfileHandler(ServerConnection serverConnection) { method parseFileName (line 110) | private static String parseFileName(String sql) { method parseLoadDataPram (line 122) | private void parseLoadDataPram() { method start (line 145) | @Override method parseParam2RealColumn (line 237) | private List parseParam2RealColumn(MySqlLoadDataInFileStateme... method handle (line 270) | @Override method saveByteOrToFile (line 294) | private synchronized void saveByteOrToFile(byte[] data, boolean isForc... method tryDirectRoute (line 335) | private RouteResultset tryDirectRoute(String sql, String[] lineList) { method parseOneLine (line 404) | private void parseOneLine(List columns, String tableName, Str... method flushDataToFile (line 452) | private void flushDataToFile() { method saveDataToFile (line 462) | private void saveDataToFile(LoadData data, String dnName) { method joinLine (line 485) | private String joinLine(List data, LoadData loadData) { method joinField (line 494) | private String joinField(String[] src, LoadData loadData) { method buildResultSet (line 513) | private RouteResultset buildResultSet(Map routeMap) { method makeSimpleInsert (line 552) | private String makeSimpleInsert(List columns, String[] fields... method parseFieldString (line 583) | private String parseFieldString(String value, String encose) { method end (line 593) | @Override method parseFileByLine (line 652) | private void parseFileByLine(String file, String encode, String split) { method clear (line 711) | public void clear() { method getLastPackId (line 739) | @Override method isStartLoadData (line 744) | @Override method getPartitionColumn (line 749) | private String getPartitionColumn() { method deleteFile (line 767) | private static void deleteFile(String dirPath) { FILE: src/main/java/io/mycat/server/handler/ServerPrepareHandler.java class ServerPrepareHandler (line 69) | public class ServerPrepareHandler implements FrontendPrepareHandler { method ServerPrepareHandler (line 96) | public ServerPrepareHandler(ServerConnection source, int maxPreparedSt... method prepare (line 101) | @Override method sendLongData (line 124) | @Override method reset (line 144) | @Override method execute (line 163) | @Override method close (line 194) | @Override method clear (line 204) | @Override method getParamCount (line 212) | private int getParamCount(String sql) { method prepareStmtBindValue (line 226) | private String prepareStmtBindValue(PreparedStatement pstmt, BindValue... FILE: src/main/java/io/mycat/server/handler/SetHandler.java class SetHandler (line 61) | public final class SetHandler { method handle (line 67) | public static void handle(String stmt, ServerConnection c, int offset) { FILE: src/main/java/io/mycat/server/handler/ShowCache.java class ShowCache (line 44) | public class ShowCache { method execute (line 75) | public static void execute(ManagerConnection c) { method getRow (line 122) | private static RowDataPacket getRow(String poolName, FILE: src/main/java/io/mycat/server/handler/ShowHandler.java class ShowHandler (line 35) | public final class ShowHandler { method handle (line 37) | public static void handle(final String originalStmt, ServerConnection ... FILE: src/main/java/io/mycat/server/handler/StartHandler.java class StartHandler (line 34) | public final class StartHandler { method handle (line 37) | public static void handle(String stmt, ServerConnection c, int offset) { FILE: src/main/java/io/mycat/server/handler/UseHandler.java class UseHandler (line 38) | public final class UseHandler { method handle (line 40) | public static void handle(String sql, ServerConnection c, int offset) { FILE: src/main/java/io/mycat/server/interceptor/SQLInterceptor.java type SQLInterceptor (line 7) | public interface SQLInterceptor { method interceptSQL (line 15) | String interceptSQL(String sql ,int sqlType); FILE: src/main/java/io/mycat/server/interceptor/impl/DefaultSqlInterceptor.java class DefaultSqlInterceptor (line 7) | public class DefaultSqlInterceptor implements SQLInterceptor { method processEscape (line 21) | public static String processEscape(String sql) { method interceptSQL (line 47) | @Override FILE: src/main/java/io/mycat/server/interceptor/impl/GlobalTableUtil.java class GlobalTableUtil (line 50) | public class GlobalTableUtil{ method getGlobalTableMap (line 65) | public static Map getGlobalTableMap() { method interceptSQL (line 73) | public static String interceptSQL(String sql, int sqlType){ method consistencyInterceptor (line 77) | public static String consistencyInterceptor(String sql, int sqlType){ method handleDDLSQL (line 116) | private static String handleDDLSQL(String sql){ method addColumnIfCreate (line 160) | static String addColumnIfCreate(String sql, SQLStatement statement) { method hasGlobalColumn (line 171) | private static boolean hasGlobalColumn(SQLStatement statement){ method getDDLTableSource (line 188) | private static SQLExprTableSource getDDLTableSource(SQLStatement state... method isCreate (line 199) | private static boolean isCreate(SQLStatement statement) { method convertInsertSQL (line 242) | private static String convertInsertSQL(String sql){ method main (line 339) | public static void main(String[] args){ method isInnerColExist (line 351) | private static boolean isInnerColExist(String tableName){ method appendValues (line 367) | private static StringBuilder appendValues(List valuse, String... method convertUpdateSQL (line 410) | public static String convertUpdateSQL(String sql){ method getGlobalTable (line 514) | private static void getGlobalTable(){ method reGetColumnsForTable (line 538) | private static void reGetColumnsForTable(String tableName){ method consistencyCheck (line 569) | public static void consistencyCheck() { method finished (line 639) | public static List>> method isGlobalTable (line 702) | private static boolean isGlobalTable(String tableName){ method getTableColumsMap (line 709) | public static Map getTableColumsMap() { FILE: src/main/java/io/mycat/server/interceptor/impl/StatSqlInterceptor.java class StatSqlInterceptor (line 5) | public class StatSqlInterceptor implements SQLInterceptor { method interceptSQL (line 7) | @Override FILE: src/main/java/io/mycat/server/interceptor/impl/StatisticsSqlInterceptor.java class StatisticsSqlInterceptor (line 20) | public class StatisticsSqlInterceptor implements SQLInterceptor { class StatisticsSqlRunner (line 22) | private final class StatisticsSqlRunner implements Runnable { method StatisticsSqlRunner (line 27) | public StatisticsSqlRunner(int sqltype, String sqls) { method run (line 32) | public void run() { method parseType (line 80) | public static int parseType(String type) { method appendFile (line 87) | private static synchronized void appendFile(String fileName, String co... method interceptSQL (line 130) | @Override FILE: src/main/java/io/mycat/server/parser/ServerParse.java class ServerParse (line 34) | public final class ServerParse { method parse (line 71) | public static int parse(String stmt) { method lCheck (line 143) | static int lCheck(String stmt, int offset) { method migrateCheck (line 161) | private static int migrateCheck(String stmt, int offset) { method tCheck (line 184) | private static int tCheck(String stmt, int offset) { method aCheck (line 209) | private static int aCheck(String stmt, int offset) { method createCheck (line 227) | private static int createCheck(String stmt, int offset) { method dropCheck (line 247) | private static int dropCheck(String stmt, int offset) { method deleteOrdCheck (line 263) | static int deleteOrdCheck(String stmt, int offset){ method helpCheck (line 280) | static int helpCheck(String stmt, int offset) { method explainCheck (line 294) | static int explainCheck(String stmt, int offset) { method killCheck (line 318) | static int killCheck(String stmt, int offset) { method killQueryCheck (line 348) | static int killQueryCheck(String stmt, int offset) { method beginCheck (line 376) | static int beginCheck(String stmt, int offset) { method commitCheck (line 395) | static int commitCheck(String stmt, int offset) { method callCheck (line 417) | static int callCheck(String stmt, int offset) { method commitOrCallCheckOrCreate (line 431) | static int commitOrCallCheckOrCreate(String stmt, int offset) { method dCheck (line 453) | static int dCheck(String stmt, int offset) { method describeCheck (line 479) | static int describeCheck(String stmt, int offset) { method insertCheck (line 510) | static int insertCheck(String stmt, int offset) { method rCheck (line 528) | static int rCheck(String stmt, int offset) { method replaceCheck (line 545) | static int replaceCheck(String stmt, int offset) { method rollabckCheck (line 564) | static int rollabckCheck(String stmt, int offset) { method sCheck (line 586) | static int sCheck(String stmt, int offset) { method savepointCheck (line 609) | static int savepointCheck(String stmt, int offset) { method seCheck (line 630) | static int seCheck(String stmt, int offset) { method selectCheck (line 666) | static int selectCheck(String stmt, int offset) { method showCheck (line 688) | static int showCheck(String stmt, int offset) { method startCheck (line 702) | static int startCheck(String stmt, int offset) { method uCheck (line 718) | static int uCheck(String stmt, int offset) { FILE: src/main/java/io/mycat/server/parser/ServerParseSelect.java class ServerParseSelect (line 32) | public final class ServerParseSelect { method parse (line 56) | public static int parse(String stmt, int offset) { method sessionVarCheck (line 97) | private static int sessionVarCheck(String stmt, int offset) { method versionCheck (line 119) | private static int versionCheck(String stmt, int offset) { method versionParenthesisCheck (line 149) | private static int versionParenthesisCheck(String stmt, int offset) { method skipAlias (line 184) | private static int skipAlias(String stmt, int offset) { method skipIdentifierEscape (line 215) | private static int skipIdentifierEscape(String stmt, int offset) { method skipString2 (line 233) | private static int skipString2(String stmt, int offset) { method skipString (line 276) | private static int skipString(String stmt, int offset) { method skipAs (line 319) | public static int skipAs(String stmt, int offset) { method indexAfterLastInsertIdFunc (line 341) | public static int indexAfterLastInsertIdFunc(String stmt, int offset) { method indexAfterIdentity (line 363) | public static int indexAfterIdentity(String stmt, int offset) { method lastInsertCheck (line 402) | static int lastInsertCheck(String stmt, int offset) { method identityCheck (line 423) | static int identityCheck(String stmt, int offset) { method select2Check (line 440) | static int select2Check(String stmt, int offset) { method databaseCheck (line 463) | static int databaseCheck(String stmt, int offset) { method userCheck (line 479) | static int userCheck(String stmt, int offset) { method currentUserCheck (line 502) | static int currentUserCheck(String stmt, int offset) { method versionCommentCheck (line 517) | static int versionCommentCheck(String stmt, int offset) { FILE: src/main/java/io/mycat/server/parser/ServerParseSet.java class ServerParseSet (line 31) | public final class ServerParseSet { method parse (line 51) | public static int parse(String stmt, int offset) { method xaFlag (line 93) | private static int xaFlag(String stmt, int offset) { method autocommit (line 123) | private static int autocommit(String stmt, int offset) { method autocommitValue (line 157) | private static int autocommitValue(String stmt, int offset) { method autocommitOn (line 192) | private static int autocommitOn(String stmt, int offset) { method autocommitOff (line 214) | private static int autocommitOff(String stmt, int offset) { method names (line 233) | private static int names(String stmt, int offset) { method characterSet (line 249) | private static int characterSet(String stmt, int offset, int depth) { method characterSetResults (line 288) | private static int characterSetResults(String stmt, int offset) { method characterSetC (line 329) | private static int characterSetC(String stmt, int offset) { method characterSetConnection (line 347) | private static int characterSetConnection(String stmt, int offset) { method characterSetClient (line 391) | private static int characterSetClient(String stmt, int offset) { method parseS (line 428) | private static int parseS(String stmt, int offset) { method sqlSelectLimit (line 443) | private static int sqlSelectLimit(String stmt, int offset) { method session (line 456) | private static int session(String stmt, int offset) { method transaction (line 491) | private static int transaction(String stmt, int offset) { method transactionRead (line 535) | private static int transactionRead(String stmt, int offset) { method transactionReadWrite (line 568) | private static int transactionReadWrite(String stmt, int offset) { method transactionReadOnly (line 587) | private static int transactionReadOnly(String stmt, int offset) { method isolation (line 605) | private static int isolation(String stmt, int offset) { method level (line 643) | private static int level(String stmt, int offset) { method serializable (line 678) | private static int serializable(String stmt, int offset) { method rCheck (line 711) | private static int rCheck(String stmt, int offset) { method eCheck (line 725) | private static int eCheck(String stmt, int offset) { method aCheck (line 742) | private static int aCheck(String stmt, int offset) { method committed (line 772) | private static int committed(String stmt, int offset) { method uncommitted (line 799) | private static int uncommitted(String stmt, int offset) { method pCheck (line 830) | private static int pCheck(String stmt, int offset) { method prCheck (line 866) | private static int prCheck(String stmt, int offset) { FILE: src/main/java/io/mycat/server/parser/ServerParseShow.java class ServerParseShow (line 33) | public final class ServerParseShow { method parse (line 46) | public static int parse(String stmt, int offset) { method mycatCheck (line 76) | static int mycatCheck(String stmt, int offset) { method showMyCatStatus (line 102) | static int showMyCatStatus(String stmt, int offset) { method showMyCatCluster (line 123) | static int showMyCatCluster(String stmt, int offset) { method dataCheck (line 146) | static int dataCheck(String stmt, int offset) { method fullTableCheck (line 168) | public static int fullTableCheck(String stmt, int offset) { method tableCheck (line 176) | public static int tableCheck(String stmt, int offset) { method showDatabases (line 184) | static int showDatabases(String stmt, int offset) { method showDataSources (line 203) | static int showDataSources(String stmt, int offset) { FILE: src/main/java/io/mycat/server/parser/ServerParseStart.java class ServerParseStart (line 31) | public final class ServerParseStart { method parse (line 36) | public static int parse(String stmt, int offset) { method transactionCheck (line 57) | static int transactionCheck(String stmt, int offset) { FILE: src/main/java/io/mycat/server/response/CharacterSet.java class CharacterSet (line 45) | public class CharacterSet { method response (line 49) | public static void response(String stmt, ServerConnection c, int rs) { method oneSetResponse (line 59) | private static void oneSetResponse(String stmt, ServerConnection c, in... method multiSetResponse (line 80) | private static void multiSetResponse(String stmt, ServerConnection c, ... method setCharset (line 147) | private static void setCharset(String charset, ServerConnection c) { FILE: src/main/java/io/mycat/server/response/ClientHeartbeatResponse.java class ClientHeartbeatResponse (line 41) | public class ClientHeartbeatResponse { method response (line 44) | public static void response(ServerConnection c) { method buildPacket (line 58) | private static byte[] buildPacket(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/Heartbeat.java class Heartbeat (line 39) | public class Heartbeat { method response (line 43) | public static void response(ServerConnection c, byte[] data) { method responseMessage (line 67) | private static String responseMessage(String action, ServerConnection ... FILE: src/main/java/io/mycat/server/response/InformationSchemaProfiling.java class InformationSchemaProfiling (line 13) | public class InformationSchemaProfiling method response (line 26) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/InformationSchemaProfilingSqlyog.java class InformationSchemaProfilingSqlyog (line 13) | public class InformationSchemaProfilingSqlyog method response (line 24) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/Ping.java class Ping (line 37) | public class Ping { method response (line 41) | public static void response(FrontendConnection c) { FILE: src/main/java/io/mycat/server/response/PreparedStmtResponse.java class PreparedStmtResponse (line 40) | public class PreparedStmtResponse { method response (line 42) | public static void response(PreparedStatement pstmt, FrontendConnectio... method responseCompleteMetaData (line 52) | private static void responseCompleteMetaData(PreparedStatement pstmt, ... method responseIncompleteMetaData (line 98) | private static void responseIncompleteMetaData(PreparedStatement pstmt... FILE: src/main/java/io/mycat/server/response/SelectConnnectID.java class SelectConnnectID (line 43) | public class SelectConnnectID { method response (line 59) | public static void response(ServerConnection c) { method getConnectID (line 81) | private static byte[] getConnectID(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/SelectDatabase.java class SelectDatabase (line 40) | public class SelectDatabase { method response (line 54) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/SelectIdentity.java class SelectIdentity (line 41) | public class SelectIdentity { method response (line 50) | public static void response(ServerConnection c, String stmt, int alias... FILE: src/main/java/io/mycat/server/response/SelectLastInsertId.java class SelectLastInsertId (line 41) | public class SelectLastInsertId { method response (line 51) | public static void response(ServerConnection c, String stmt, int alias... FILE: src/main/java/io/mycat/server/response/SelectTxReadOnly.java class SelectTxReadOnly (line 41) | public class SelectTxReadOnly { method response (line 57) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/SelectUser.java class SelectUser (line 42) | public class SelectUser { method response (line 58) | public static void response(ServerConnection c) { method getUser (line 80) | private static byte[] getUser(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/SelectVariables.java class SelectVariables (line 53) | public final class SelectVariables method execute (line 58) | public static void execute(ServerConnection c, String sql) { method convert (line 120) | private static List convert(List in) FILE: src/main/java/io/mycat/server/response/SelectVersion.java class SelectVersion (line 40) | public class SelectVersion { method response (line 55) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/SelectVersionComment.java class SelectVersionComment (line 39) | public class SelectVersionComment { method response (line 55) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/SessionIncrement.java class SessionIncrement (line 40) | public class SessionIncrement { method response (line 55) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/SessionIsolation.java class SessionIsolation (line 40) | public class SessionIsolation { method response (line 55) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/ShowCobarCluster.java class ShowCobarCluster (line 53) | public class ShowCobarCluster { method response (line 72) | public static void response(ServerConnection c) { method getRows (line 102) | private static List getRows(ServerConnection c) { method getRow (line 134) | private static RowDataPacket getRow(MycatNode node, String charset) { FILE: src/main/java/io/mycat/server/response/ShowCobarStatus.java class ShowCobarStatus (line 44) | public class ShowCobarStatus { method response (line 65) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/ShowDatabases.java class ShowDatabases (line 46) | public class ShowDatabases { method response (line 61) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/ShowFullTables.java class ShowFullTables (line 34) | public class ShowFullTables { method response (line 49) | public static void response(ServerConnection c,String stmt,int type) { method reponseLogicTable (line 72) | private static void reponseLogicTable(ServerConnection c, String stmt) { method getTableSet (line 118) | public static Set getTableSet(ServerConnection c, String stmt) { method getTableSet (line 124) | private static Set getTableSet(ServerConnection c, Map buildFields(ServerConnection c,Strin... FILE: src/main/java/io/mycat/server/response/ShowMyCATCluster.java class ShowMyCATCluster (line 53) | public class ShowMyCATCluster { method response (line 72) | public static void response(ServerConnection c) { method getRows (line 102) | private static List getRows(ServerConnection c) { method getRow (line 134) | private static RowDataPacket getRow(MycatNode node, String charset) { FILE: src/main/java/io/mycat/server/response/ShowMyCatStatus.java class ShowMyCatStatus (line 44) | public class ShowMyCatStatus { method response (line 65) | public static void response(ServerConnection c) { FILE: src/main/java/io/mycat/server/response/ShowTables.java class ShowTables (line 34) | public class ShowTables { method response (line 49) | public static void response(ServerConnection c,String stmt,int type) { method reponseLogicTable (line 70) | private static void reponseLogicTable(ServerConnection c, String stmt) { method getTableSet (line 113) | public static Set getTableSet(ServerConnection c, String stmt) { method getTableSet (line 119) | private static Set getTableSet(ServerConnection c, Map buildFields(ServerConnection c,Strin... FILE: src/main/java/io/mycat/server/sqlcmd/CommitCommand.java class CommitCommand (line 7) | public class CommitCommand implements SQLCtrlCommand { method sendCommand (line 9) | @Override method errorResponse (line 14) | @Override method okResponse (line 25) | @Override method releaseConOnErr (line 30) | @Override method relaseConOnOK (line 36) | @Override method isAutoClearSessionCons (line 41) | @Override FILE: src/main/java/io/mycat/server/sqlcmd/SQLCmdConstant.java class SQLCmdConstant (line 3) | public class SQLCmdConstant { method SQLCmdConstant (line 6) | private SQLCmdConstant() { FILE: src/main/java/io/mycat/server/sqlcmd/SQLCtrlCommand.java type SQLCtrlCommand (line 13) | public interface SQLCtrlCommand { method isAutoClearSessionCons (line 15) | boolean isAutoClearSessionCons(); method releaseConOnErr (line 16) | boolean releaseConOnErr(); method relaseConOnOK (line 18) | boolean relaseConOnOK(); method sendCommand (line 20) | void sendCommand(NonBlockingSession session, BackendConnection con); method errorResponse (line 25) | void errorResponse(NonBlockingSession session,byte[] err,int total,int... method okResponse (line 30) | void okResponse(NonBlockingSession session, byte[] ok); FILE: src/main/java/io/mycat/server/util/SchemaUtil.java class SchemaUtil (line 21) | public class SchemaUtil { method parseSchema (line 22) | public static SchemaInfo parseSchema(String sql) { method detectDefaultDb (line 31) | public static String detectDefaultDb(String sql, int type) { method getSchema (line 79) | public static String getSchema(Map schemaConfigM... method parseShowTableSchema (line 89) | public static String parseShowTableSchema(String sql) { method parseShowTable (line 114) | public static String[] parseShowTable(String sql) { method parseTables (line 164) | private static SchemaInfo parseTables(SQLStatement stmt, MycatSchemaSt... class SchemaInfo (line 188) | public static class SchemaInfo { method toString (line 192) | @Override method main (line 207) | public static void main(String[] args) { FILE: src/main/java/io/mycat/sqlengine/AllJobFinishedListener.java type AllJobFinishedListener (line 7) | public interface AllJobFinishedListener { method onAllJobFinished (line 9) | void onAllJobFinished(EngineCtx ctx); FILE: src/main/java/io/mycat/sqlengine/BatchSQLJob.java class BatchSQLJob (line 9) | public class BatchSQLJob { method addJob (line 18) | public void addJob(SQLJob newJob, boolean parallExecute) { method setNoMoreJobInput (line 34) | public void setNoMoreJobInput(boolean noMoreJobInput) { method runJob (line 38) | private void runJob(SQLJob newJob) { method jobFinished (line 45) | public boolean jobFinished(SQLJob sqlJob) { FILE: src/main/java/io/mycat/sqlengine/EngineCtx.java class EngineCtx (line 19) | public class EngineCtx { method EngineCtx (line 32) | public EngineCtx(NonBlockingSession session) { method getIsStreamOutputResult (line 37) | public boolean getIsStreamOutputResult(){ method setIsStreamOutputResult (line 40) | public void setIsStreamOutputResult(boolean isStreamOutputResult){ method incPackageId (line 43) | public byte incPackageId() { method executeNativeSQLSequnceJob (line 50) | public void executeNativeSQLSequnceJob(String[] dataNodes, String sql, method getWriteLock (line 60) | public ReentrantLock getWriteLock() { method setAllJobFinishedListener (line 66) | public void setAllJobFinishedListener( method executeNativeSQLParallJob (line 74) | public void executeNativeSQLParallJob(String[] dataNodes, String sql, method endJobInput (line 87) | public void endJobInput() { method writeHeader (line 92) | public void writeHeader(List afields, List bfields) { method writeHeader (line 127) | public void writeHeader(List afields) { method writeRow (line 157) | public void writeRow(RowDataPacket rowDataPkg) { method writeEof (line 171) | public void writeEof() { method getSession (line 181) | public NonBlockingSession getSession() { method onJobFinished (line 186) | public void onJobFinished(SQLJob sqlJob) { method isHasError (line 202) | public boolean isHasError() { method setHasError (line 206) | public void setHasError(boolean hasError) { FILE: src/main/java/io/mycat/sqlengine/MultiRowSQLQueryResultHandler.java class MultiRowSQLQueryResultHandler (line 14) | public class MultiRowSQLQueryResultHandler extends OneRawSQLQueryResultH... method MultiRowSQLQueryResultHandler (line 22) | public MultiRowSQLQueryResultHandler(String[] fetchCols, method onRowData (line 28) | @Override method finished (line 36) | @Override FILE: src/main/java/io/mycat/sqlengine/OneRawSQLQueryResultHandler.java class OneRawSQLQueryResultHandler (line 10) | public class OneRawSQLQueryResultHandler implements SQLJobHandler { method OneRawSQLQueryResultHandler (line 17) | public OneRawSQLQueryResultHandler(String[] fetchCols, method onHeader (line 25) | public void onHeader(String dataNode, byte[] header, List fiel... method onRowData (line 42) | @Override method finished (line 78) | @Override method getMark (line 85) | public String getMark() { method setMark (line 89) | public void setMark(String mark) { method getResult (line 94) | protected Map getResult() { FILE: src/main/java/io/mycat/sqlengine/SQLJob.java class SQLJob (line 24) | public class SQLJob implements ResponseHandler, Runnable { method SQLJob (line 37) | public SQLJob(int id, String sql, String dataNode, method SQLJob (line 48) | public SQLJob(String sql, String databaseName, SQLJobHandler jobHandler, method run (line 60) | public void run() { method teminate (line 78) | public void teminate(String reason) { method connectionAcquired (line 86) | @Override method isFinished (line 108) | public boolean isFinished() { method doFinished (line 112) | private void doFinished(boolean failed,String errorMsg) { method connectionError (line 123) | @Override method errorResponse (line 129) | @Override method okResponse (line 152) | @Override method fieldEofResponse (line 166) | @Override method rowResponse (line 173) | @Override method rowEofResponse (line 183) | @Override method writeQueueAvailable (line 189) | @Override method connectionClose (line 194) | @Override method getId (line 199) | public int getId() { method toString (line 203) | @Override FILE: src/main/java/io/mycat/sqlengine/SQLJobHandler.java type SQLJobHandler (line 7) | public interface SQLJobHandler { method onHeader (line 10) | public void onHeader(String dataNode, byte[] header, List fiel... method onRowData (line 12) | public boolean onRowData(String dataNode, byte[] rowData); method finished (line 14) | public void finished(String dataNode, boolean failed, String errorMsg); FILE: src/main/java/io/mycat/sqlengine/SQLQueryResult.java class SQLQueryResult (line 3) | public class SQLQueryResult { method SQLQueryResult (line 11) | public SQLQueryResult(T result, boolean success) { method SQLQueryResult (line 18) | public SQLQueryResult(T result, boolean success, String dataNode,Strin... method getErrMsg (line 26) | public String getErrMsg() { method setErrMsg (line 30) | public void setErrMsg(String errMsg) { method getResult (line 34) | public T getResult() { method isSuccess (line 37) | public boolean isSuccess() { method getDataNode (line 40) | public String getDataNode() { method getTableName (line 43) | public String getTableName() { method setTableName (line 46) | public void setTableName(String tableName) { FILE: src/main/java/io/mycat/sqlengine/SQLQueryResultListener.java type SQLQueryResultListener (line 4) | public interface SQLQueryResultListener { method onResult (line 6) | public void onResult(T result); FILE: src/main/java/io/mycat/sqlengine/mpp/AbstractDataNodeMerge.java class AbstractDataNodeMerge (line 21) | public abstract class AbstractDataNodeMerge implements Runnable{ method AbstractDataNodeMerge (line 60) | public AbstractDataNodeMerge(MultiNodeQueryHandler handler,RouteResult... method isStreamOutputResult (line 65) | public boolean isStreamOutputResult() { method setStreamOutputResult (line 69) | public void setStreamOutputResult(boolean streamOutputResult) { method addPack (line 81) | protected final boolean addPack(final PackWraper pack){ method onNewRecord (line 102) | public boolean onNewRecord(String dataNode, byte[] rowData) { method toColumnIndex (line 118) | protected static int[] toColumnIndex(String[] columns, Map columToIndx, i... method outputMergeResult (line 138) | public void outputMergeResult(NonBlockingSession session, byte[] eof) { method getRrs (line 142) | public RouteResultset getRrs() { method getResults (line 150) | public abstract List getResults(byte[] eof); method clear (line 151) | public abstract void clear(); FILE: src/main/java/io/mycat/sqlengine/mpp/ColMeta.java class ColMeta (line 28) | public class ColMeta implements Serializable{ method ColMeta (line 64) | public ColMeta(int colIndex, int colType) { method ColMeta (line 69) | public ColMeta(int avgSumIndex,int avgCountIndex, int colType) { method getColIndex (line 75) | public int getColIndex() { method setColIndex (line 79) | public void setColIndex(int colIndex) { method getColType (line 82) | public int getColType() { method toString (line 86) | @Override FILE: src/main/java/io/mycat/sqlengine/mpp/ColumnRoutePair.java class ColumnRoutePair (line 32) | public class ColumnRoutePair { method getSlot (line 39) | public int getSlot() { method setSlot (line 43) | public void setSlot(int slot) { method ColumnRoutePair (line 47) | public ColumnRoutePair(String colValue) { method ColumnRoutePair (line 53) | public ColumnRoutePair(RangeValue rangeValue) { method getNodeId (line 59) | public Integer getNodeId() { method setNodeId (line 63) | public void setNodeId(Integer nodeId) { method hashCode (line 67) | @Override method equals (line 79) | @Override method toString (line 117) | @Override FILE: src/main/java/io/mycat/sqlengine/mpp/DataMergeService.java class DataMergeService (line 57) | public class DataMergeService extends AbstractDataNodeMerge { method DataMergeService (line 64) | public DataMergeService(MultiNodeQueryHandler handler, RouteResultset ... method onRowMetaData (line 77) | public void onRowMetaData(Map columToIndx, int fieldC... method clear (line 184) | public void clear() { method run (line 190) | @Override method getResults (line 268) | public List getResults(byte[] eof) { FILE: src/main/java/io/mycat/sqlengine/mpp/DataNodeMergeManager.java class DataNodeMergeManager (line 36) | public class DataNodeMergeManager extends AbstractDataNodeMerge { method DataNodeMergeManager (line 78) | public DataNodeMergeManager(MultiNodeQueryHandler handler, RouteResult... method onRowMetaData (line 89) | public void onRowMetaData(Map columToIndx, int fieldC... method getPrefixComparator (line 296) | private PrefixComparator getPrefixComparator(OrderCol[] orderCols) { method getResults (line 337) | @Override method run (line 349) | @Override method clear (line 499) | public void clear() { class ClearStatusEnum (line 537) | class ClearStatusEnum { FILE: src/main/java/io/mycat/sqlengine/mpp/HavingCols.java class HavingCols (line 8) | public class HavingCols implements Serializable { method HavingCols (line 14) | public HavingCols(String left, String right, String operator) { method getLeft (line 20) | public String getLeft() { method setLeft (line 24) | public void setLeft(String left) { method getRight (line 28) | public String getRight() { method setRight (line 32) | public void setRight(String right) { method getOperator (line 36) | public String getOperator() { method setOperator (line 40) | public void setOperator(String operator) { method getColMeta (line 44) | public ColMeta getColMeta() { method setColMeta (line 48) | public void setColMeta(ColMeta colMeta) { FILE: src/main/java/io/mycat/sqlengine/mpp/LoadData.java class LoadData (line 9) | public class LoadData implements Serializable method getEscape (line 21) | public String getEscape() method setEscape (line 26) | public void setEscape(String escape) method isLocal (line 31) | public boolean isLocal() method setLocal (line 36) | public void setLocal(boolean isLocal) method getData (line 41) | public List getData() method setData (line 46) | public void setData(List data) method getFileName (line 51) | public String getFileName() method setFileName (line 56) | public void setFileName(String fileName) method getCharset (line 61) | public String getCharset() method setCharset (line 66) | public void setCharset(String charset) method getLineTerminatedBy (line 71) | public String getLineTerminatedBy() method setLineTerminatedBy (line 76) | public void setLineTerminatedBy(String lineTerminatedBy) method getFieldTerminatedBy (line 81) | public String getFieldTerminatedBy() method setFieldTerminatedBy (line 86) | public void setFieldTerminatedBy(String fieldTerminatedBy) method getEnclose (line 91) | public String getEnclose() method setEnclose (line 96) | public void setEnclose(String enclose) FILE: src/main/java/io/mycat/sqlengine/mpp/MergeCol.java class MergeCol (line 26) | public class MergeCol { method MergeCol (line 37) | public MergeCol(ColMeta colMeta, int mergeType) { method getMergeType (line 43) | public static int getMergeType(String mergeType) { method tryParseAggCol (line 62) | public static int tryParseAggCol(String column) { FILE: src/main/java/io/mycat/sqlengine/mpp/OrderCol.java class OrderCol (line 26) | public class OrderCol { method OrderCol (line 32) | public OrderCol(ColMeta colMeta, int orderType) { method getOrderType (line 38) | public int getOrderType() { method getColMeta (line 42) | public ColMeta getColMeta() { FILE: src/main/java/io/mycat/sqlengine/mpp/PackWraper.java class PackWraper (line 14) | public final class PackWraper { FILE: src/main/java/io/mycat/sqlengine/mpp/RangRowDataPacketSorter.java class RangRowDataPacketSorter (line 30) | public class RangRowDataPacketSorter extends RowDataSorter { method RangRowDataPacketSorter (line 31) | public RangRowDataPacketSorter(OrderCol[] orderCols) { method ascDesc (line 35) | public boolean ascDesc(int byColumnIndex) { method compareRowData (line 42) | public int compareRowData(RowDataPacket l, RowDataPacket r, int byColu... FILE: src/main/java/io/mycat/sqlengine/mpp/RangeValue.java class RangeValue (line 3) | public class RangeValue { method RangeValue (line 16) | public RangeValue(Object beginValue, Object endValue, Integer rangeTyp... method hashCode (line 23) | @Override method equals (line 32) | @Override FILE: src/main/java/io/mycat/sqlengine/mpp/RowDataPacketGrouper.java class RowDataPacketGrouper (line 49) | public class RowDataPacketGrouper { method RowDataPacketGrouper (line 59) | public RowDataPacketGrouper(int[] groupColumnIndexs, MergeCol[] mergCo... method getResult (line 74) | public List getResult() { method filterHaving (line 91) | private void filterHaving(){ method lt (line 148) | private boolean lt(byte[] l, byte[] r, final int colType) { method gt (line 153) | private boolean gt(byte[] l, byte[] r, final int colType) { method eq (line 158) | private boolean eq(byte[] l, byte[] r, final int colType) { method neq (line 163) | private boolean neq(byte[] l, byte[] r, final int colType) { method compareObject (line 172) | public static final int compareObject(byte[] left,byte[] right, final ... method addRow (line 204) | public void addRow(RowDataPacket rowDataPkg) { method aggregateRow (line 217) | private void aggregateRow(RowDataPacket toRow, RowDataPacket newRow) { method mergAvg (line 253) | private void mergAvg(RowDataPacket toRow) { method mertFields (line 286) | private byte[] mertFields(byte[] bs, byte[] bs2, int colType, int merg... method sameGropuColums (line 361) | private boolean sameGropuColums(RowDataPacket newRow, RowDataPacket ex... FILE: src/main/java/io/mycat/sqlengine/mpp/RowDataPacketSorter.java class RowDataPacketSorter (line 37) | public class RowDataPacketSorter { method RowDataPacketSorter (line 46) | public RowDataPacketSorter(OrderCol[] orderCols) { method addRow (line 51) | public boolean addRow(RowDataPacket row) { method getSortedResult (line 56) | public Collection getSortedResult() { method mergeSort (line 69) | private RowDataPacket[] mergeSort(RowDataPacket[] result) throws Excep... method mergeR (line 80) | private void mergeR(int startIndex, int endIndex) { method merge (line 92) | private void merge(int startIndex, int midIndex, int endIndex) { method compare (line 124) | private void compare(int byColumnIndex) { method compareObject (line 161) | public static final int compareObject(Object l, Object r, OrderCol ord... method compareObject (line 165) | public static final int compareObject(byte[] left,byte[] right, OrderC... FILE: src/main/java/io/mycat/sqlengine/mpp/UnsafeRowGrouper.java class UnsafeRowGrouper (line 61) | public class UnsafeRowGrouper { method UnsafeRowGrouper (line 84) | public UnsafeRowGrouper(Map columToIndx,String[] colum... method toSortColumnsByIndex (line 118) | private String[] toSortColumnsByIndex(String[] columns, Map getResult(@Nonnull UnsafeExternalRowSorter ... method processAvgFieldPrecision (line 300) | private void processAvgFieldPrecision() { method isAvgField (line 321) | private boolean isAvgField(String columnName) { method getAllBinaryRow (line 328) | public UnsafeRow getAllBinaryRow(UnsafeRow row) throws UnsupportedEnco... method insertValue (line 385) | private void insertValue(@Nonnull UnsafeExternalRowSorter sorter){ method filterHaving (line 398) | private void filterHaving(@Nonnull UnsafeExternalRowSorter sorter){ method lt (line 448) | private boolean lt(byte[] l, byte[] r) { method gt (line 452) | private boolean gt(byte[] l, byte[] r) { method eq (line 456) | private boolean eq(byte[] l, byte[] r) { method neq (line 460) | private boolean neq(byte[] l, byte[] r) { method getGroupKey (line 467) | private UnsafeRow getGroupKey(UnsafeRow row) throws UnsupportedEncodin... method getValue (line 545) | private UnsafeRow getValue(UnsafeRow row) throws UnsupportedEncodingEx... method addRow (line 613) | public void addRow(UnsafeRow rowDataPkg) throws UnsupportedEncodingExc... method isMergeAvg (line 628) | private boolean isMergeAvg(){ method aggregateRow (line 642) | private void aggregateRow(UnsafeRow key,UnsafeRow toRow, UnsafeRow new... method mergAvg (line 791) | private void mergAvg(UnsafeRow toRow) throws UnsupportedEncodingExcept... method mertFields (line 885) | private byte[] mertFields(byte[] bs, byte[] bs2, int colType, int merg... method free (line 952) | public void free(){ FILE: src/main/java/io/mycat/sqlengine/mpp/model/NodeRowDataPacket.java class NodeRowDataPacket (line 9) | public class NodeRowDataPacket { method NodeRowDataPacket (line 19) | public NodeRowDataPacket(RouteResultsetNode node, int trimSize) { method newRang (line 24) | public void newRang() { method loadTotal (line 29) | public long loadTotal() { method loadTrimTotal (line 33) | public long loadTrimTotal() { method loadNotTrimTotal (line 43) | public long loadNotTrimTotal() { method moveToTrim (line 51) | public void moveToTrim() { method moveHeadTail3ToTrim (line 61) | public void moveHeadTail3ToTrim() { method addTrimWithCombine (line 75) | private void addTrimWithCombine(RangRowDataPacket packet) { method moveAllToTrim (line 92) | public void moveAllToTrim() { method addPacket (line 103) | public void addPacket(RowDataPacket packet) { method getNode (line 108) | public RouteResultsetNode getNode() { method loadData (line 112) | public List loadData() { method loadHeadPacket (line 125) | public RangRowDataPacket loadHeadPacket() { method loadTailPacket (line 132) | public RangRowDataPacket loadTailPacket() { method loadTailPacket (line 136) | public RangRowDataPacket loadTailPacket(int tailIndex) { FILE: src/main/java/io/mycat/sqlengine/mpp/model/RangRowDataPacket.java class RangRowDataPacket (line 8) | public class RangRowDataPacket { method getTrimCount (line 15) | public int getTrimCount() { method appendPacket (line 19) | public void appendPacket(List packetList) { method appendPacket (line 23) | public void appendPacket(RowDataPacket packet) { method isTrim (line 27) | public boolean isTrim() { method leftHeadTail (line 31) | public void leftHeadTail() { method allSize (line 39) | public int allSize() { method combine (line 47) | public void combine(RangRowDataPacket rowData) { method getRowDataPacketList (line 70) | public List getRowDataPacketList() { method getHead (line 74) | public RowDataPacket getHead() { method getTail (line 81) | public RowDataPacket getTail() { FILE: src/main/java/io/mycat/statistic/CommandCount.java class CommandCount (line 29) | public class CommandCount { method CommandCount (line 44) | public CommandCount(){ method doInitDB (line 47) | public void doInitDB() { method initDBCount (line 51) | public long initDBCount() { method doQuery (line 55) | public void doQuery() { method queryCount (line 59) | public long queryCount() { method doStmtPrepare (line 63) | public void doStmtPrepare() { method stmtPrepareCount (line 67) | public long stmtPrepareCount() { method doStmtSendLongData (line 71) | public void doStmtSendLongData() { method stmtSendLongDataCount (line 75) | public long stmtSendLongDataCount() { method doStmtReset (line 79) | public void doStmtReset() { method stmtResetCount (line 83) | public long stmtResetCount() { method doStmtExecute (line 87) | public void doStmtExecute() { method stmtExecuteCount (line 91) | public long stmtExecuteCount() { method doStmtClose (line 95) | public void doStmtClose() { method stmtCloseCount (line 99) | public long stmtCloseCount() { method doPing (line 103) | public void doPing() { method pingCount (line 107) | public long pingCount() { method doKill (line 111) | public void doKill() { method killCount (line 115) | public long killCount() { method doQuit (line 119) | public void doQuit() { method quitCount (line 123) | public long quitCount() { method doOther (line 127) | public void doOther() { method heartbeat (line 131) | public long heartbeat() { method doHeartbeat (line 135) | public void doHeartbeat() { method doSetOption (line 139) | public void doSetOption() { method otherCount (line 143) | public long otherCount() { FILE: src/main/java/io/mycat/statistic/DataSourceSyncRecorder.java class DataSourceSyncRecorder (line 42) | public class ... method DataSourceSyncRecorder (line 55) | public DataSourceSyncRecorder() { method get (line 60) | public String get() { method set (line 64) | public void set(Map resultResult,int switchType) { method remove (line 97) | private void remove(long time) { method getSwitchType (line 109) | public int getSwitchType() { method setSwitchType (line 112) | public void setSwitchType(int switchType) { method getRecords (line 115) | public Map getRecords() { method getAsynRecords (line 118) | public List getAsynRecords() { method getSdf (line 121) | public static SimpleDateFormat getSdf() { class Record (line 128) | public static class Record { method Record (line 132) | Record(long time, Object value) { method getValue (line 136) | public Object getValue() { method setValue (line 139) | public void setValue(Object value) { method getTime (line 142) | public long getTime() { method setTime (line 145) | public void setTime(long time) { FILE: src/main/java/io/mycat/statistic/HeartbeatRecorder.java class HeartbeatRecorder (line 40) | public class HeartbeatRecorder { method HeartbeatRecorder (line 56) | public HeartbeatRecorder() { method get (line 61) | public String get() { method set (line 65) | public void set(long value) { method remove (line 93) | private void remove(long time) { method calculate (line 118) | private void calculate(long time) { method getRecordsAll (line 141) | public Queue getRecordsAll() { class Record (line 148) | public static class Record { method Record (line 152) | Record(long value, long time) { method getValue (line 156) | public long getValue() { method setValue (line 159) | public void setValue(long value) { method getTime (line 162) | public long getTime() { method setTime (line 165) | public void setTime(long time) { FILE: src/main/java/io/mycat/statistic/SQLRecord.java class SQLRecord (line 29) | public final class SQLRecord implements Comparable { method compareTo (line 39) | @Override method equals (line 47) | @Override method hashCode (line 52) | @Override FILE: src/main/java/io/mycat/statistic/SQLRecorder.java class SQLRecorder (line 36) | public final class SQLRecorder { method SQLRecorder (line 41) | public SQLRecorder(int count) { method getRecords (line 46) | public List getRecords() { method add (line 52) | public void add(SQLRecord record) { method clear (line 56) | public void clear() { method recycle (line 60) | public void recycle(){ FILE: src/main/java/io/mycat/statistic/stat/Histogram.java class Histogram (line 5) | public class Histogram { method Histogram (line 10) | public Histogram(long... ranges){ method reset (line 15) | public void reset() { method record (line 21) | public void record(long range) { method get (line 33) | public long get(int index) { method toArray (line 37) | public long[] toArray() { method toArrayAndReset (line 45) | public long[] toArrayAndReset() { method getRanges (line 54) | public long[] getRanges() { method getValue (line 58) | public long getValue(int index) { method getSum (line 62) | public long getSum() { method toString (line 70) | public String toString() { FILE: src/main/java/io/mycat/statistic/stat/HostStatAnalyzer.java class HostStatAnalyzer (line 9) | public class HostStatAnalyzer implements QueryResultListener { method onQueryResult (line 11) | @Override FILE: src/main/java/io/mycat/statistic/stat/QueryConditionAnalyzer.java class QueryConditionAnalyzer (line 40) | public class QueryConditionAnalyzer implements QueryResultListener { method QueryConditionAnalyzer (line 57) | private QueryConditionAnalyzer() {} method getInstance (line 59) | public static QueryConditionAnalyzer getInstance() { method onQueryResult (line 64) | @Override method setCf (line 101) | public boolean setCf(String cf) { method getKey (line 135) | public String getKey() { method getValues (line 139) | public List> getValues() { class SQLParser (line 146) | class SQLParser { method fixName (line 153) | private String fixName(String tableName) { method parseConditionValues (line 172) | public List parseConditionValues(String sql, String tableNam... FILE: src/main/java/io/mycat/statistic/stat/QueryResult.java class QueryResult (line 9) | public class QueryResult { method QueryResult (line 22) | public QueryResult(String schema, String user, int sqlType, String sql... method getUser (line 39) | public String getUser() { method getSqlType (line 43) | public int getSqlType() { method getSql (line 47) | public String getSql() { method getSqlRows (line 51) | public long getSqlRows() { method getNetInBytes (line 55) | public long getNetInBytes() { method getNetOutBytes (line 59) | public long getNetOutBytes() { method getStartTime (line 63) | public long getStartTime() { method getEndTime (line 67) | public long getEndTime() { method getResultSize (line 71) | public int getResultSize() { method getHost (line 75) | public String getHost() { method getSchema (line 79) | public String getSchema() { FILE: src/main/java/io/mycat/statistic/stat/QueryResultDispatcher.java class QueryResultDispatcher (line 17) | public class QueryResultDispatcher { method addListener (line 30) | public static void addListener(QueryResultListener listener) { method removeListener (line 37) | public static void removeListener(QueryResultListener listener) { method removeAllListener (line 41) | public static void removeAllListener() { method dispatchQuery (line 45) | public static void dispatchQuery(final QueryResult queryResult) { FILE: src/main/java/io/mycat/statistic/stat/QueryResultListener.java type QueryResultListener (line 3) | public interface QueryResultListener { method onQueryResult (line 5) | public void onQueryResult(QueryResult queryResult); FILE: src/main/java/io/mycat/statistic/stat/SqlFrequency.java class SqlFrequency (line 5) | public class SqlFrequency implements Comparable{ method getSql (line 16) | public String getSql() { method setSql (line 20) | public void setSql(String sql) { method getCount (line 24) | public long getCount() { method incCount (line 28) | public void incCount() { method getLastTime (line 32) | public long getLastTime() { method setLastTime (line 36) | public void setLastTime(long lastTime) { method getExecuteTime (line 40) | public long getExecuteTime() { method getMaxTime (line 44) | public long getMaxTime() { method getMinTime (line 48) | public long getMinTime() { method getAvgTime (line 52) | public long getAvgTime() { method setExecuteTime (line 56) | public void setExecuteTime(long execTime) { method compareTo (line 74) | @Override method equals (line 81) | @Override method getHost (line 90) | public String getHost() { method setHost (line 94) | public void setHost(String host) { FILE: src/main/java/io/mycat/statistic/stat/SqlResultSet.java class SqlResultSet (line 5) | public class SqlResultSet { method getSql (line 10) | public String getSql() { method setSql (line 13) | public void setSql(String sql) { method getResultSetSize (line 16) | public int getResultSetSize() { method setResultSetSize (line 19) | public void setResultSetSize(int resultSetSize) { method getCount (line 22) | public int getCount() { method count (line 25) | public void count() { FILE: src/main/java/io/mycat/statistic/stat/SqlResultSizeRecorder.java class SqlResultSizeRecorder (line 12) | public class SqlResultSizeRecorder { method addSql (line 18) | public void addSql(String sql,int resultSetSize ){ method getSqlResultSet (line 40) | public ConcurrentHashMap getSqlResultSet() { method clearSqlResultSet (line 46) | public void clearSqlResultSet() { class SqlParser (line 50) | class SqlParser { method fixSql (line 52) | public String fixSql(String sql) { method mergeSql (line 58) | public String mergeSql(String sql) { FILE: src/main/java/io/mycat/statistic/stat/TableStat.java class TableStat (line 19) | public class TableStat implements Comparable { method TableStat (line 40) | public TableStat(String table) { method reset (line 45) | public void reset() { method update (line 52) | public void update(int sqlType, String sql, long startTime, long endTi... method getTable (line 81) | public String getTable() { method getRCount (line 85) | public long getRCount() { method getWCount (line 89) | public long getWCount() { method getCount (line 93) | public int getCount() { method getRelaTables (line 97) | public List getRelaTables() { method getLastExecuteTime (line 103) | public long getLastExecuteTime() { method compareTo (line 107) | @Override method equals (line 114) | @Override class RelaTable (line 128) | public static class RelaTable { method RelaTable (line 133) | public RelaTable(String tableName, int count) { method getTableName (line 139) | public String getTableName() { method getCount (line 143) | public int getCount() { method incCount (line 147) | public void incCount() { FILE: src/main/java/io/mycat/statistic/stat/TableStatAnalyzer.java class TableStatAnalyzer (line 36) | public class TableStatAnalyzer implements QueryResultListener { method TableStatAnalyzer (line 48) | private TableStatAnalyzer() {} method getInstance (line 50) | public static TableStatAnalyzer getInstance() { method onQueryResult (line 54) | @Override method getTableStat (line 88) | private TableStat getTableStat(String tableName) { method getTableStatMap (line 107) | public Map getTableStatMap() { method getTableStats (line 116) | public List getTableStats(boolean isClear) { method ClearTable (line 122) | public void ClearTable() { class SQLParser (line 130) | private static class SQLParser { method parseStmt (line 132) | private SQLStatement parseStmt(String sql) { method fixName (line 143) | private String fixName(String tableName) { method parseTableNames (line 157) | public List parseTableNames(String sql) { FILE: src/main/java/io/mycat/statistic/stat/UserSqlHighStat.java class UserSqlHighStat (line 15) | public class UserSqlHighStat { method addSql (line 24) | public void addSql(String sql, long executeTime, long startTime, long ... method getSqlFrequency (line 46) | public List getSqlFrequency(boolean isClear) { method clearSqlFrequency (line 55) | private void clearSqlFrequency() { method recycle (line 59) | public void recycle() { class SqlParser (line 77) | private static class SqlParser { method fixSql (line 79) | public String fixSql(String sql) { method mergeSql (line 86) | public String mergeSql(String sql) { FILE: src/main/java/io/mycat/statistic/stat/UserSqlLargeStat.java class UserSqlLargeStat (line 8) | public class UserSqlLargeStat { method UserSqlLargeStat (line 13) | public UserSqlLargeStat(int count) { method getSqls (line 18) | public List getSqls() { method add (line 23) | public void add(String sql, long sqlRows, long executeTime, long start... method add (line 28) | public void add(SqlLarge sql) { method reset (line 32) | public void reset() { method clear (line 36) | public void clear() { method recycle (line 40) | public void recycle() { class SqlLarge (line 59) | public static class SqlLarge implements Comparable { method SqlLarge (line 68) | public SqlLarge(String sql, long sqlRows, long executeTime, long sta... method getSql (line 78) | public String getSql() { method getSqlRows (line 82) | public long getSqlRows() { method getStartTime (line 86) | public long getStartTime() { method getExecuteTime (line 90) | public long getExecuteTime() { method getEndTime (line 94) | public long getEndTime() { method compareTo (line 98) | @Override method equals (line 104) | @Override method hashCode (line 109) | @Override method getHost (line 114) | public String getHost() { FILE: src/main/java/io/mycat/statistic/stat/UserSqlLastStat.java class UserSqlLastStat (line 14) | public class UserSqlLastStat { method UserSqlLastStat (line 18) | public UserSqlLastStat(int count) { method getSqls (line 22) | public List getSqls() { method add (line 27) | public void add(String sql, long executeTime, long startTime, long en... method reset (line 32) | public void reset() { method clear (line 36) | public void clear() { method recycle (line 40) | public void recycle(){ class SqlLast (line 58) | public static class SqlLast implements Comparable{ method SqlLast (line 66) | public SqlLast(String sql, long executeTime, long startTime, long en... method getSql (line 75) | public String getSql() { method getStartTime (line 79) | public long getStartTime() { method getExecuteTime (line 83) | public long getExecuteTime() { method getEndTime (line 87) | public long getEndTime() { method compareTo (line 91) | @Override method equals (line 97) | @Override method getHost (line 106) | public String getHost() { FILE: src/main/java/io/mycat/statistic/stat/UserSqlRWStat.java class UserSqlRWStat (line 17) | public class UserSqlRWStat { method UserSqlRWStat (line 66) | public UserSqlRWStat() { method reset (line 70) | public void reset() { method add (line 82) | public void add(int sqlType, String sql, long executeTime, long netInB... method getLastExecuteTime (line 138) | public long getLastExecuteTime() { method getNetInBytes (line 142) | public long getNetInBytes() { method getNetOutBytes (line 146) | public long getNetOutBytes() { method getConcurrentMax (line 150) | public int getConcurrentMax() { method setConcurrentMax (line 154) | public void setConcurrentMax(int concurrentMax) { method getQps (line 158) | public int getQps() { method setQps (line 162) | public void setQps(int qps) { method getRCount (line 166) | public long getRCount() { method getWCount (line 170) | public long getWCount() { method getTimeHistogram (line 174) | public Histogram getTimeHistogram() { method getExecuteHistogram (line 178) | public Histogram getExecuteHistogram() { FILE: src/main/java/io/mycat/statistic/stat/UserStat.java class UserStat (line 16) | public class UserStat { method UserStat (line 63) | public UserStat(String user) { method getUser (line 77) | public String getUser() { method getSqlRecorder (line 81) | public SQLRecorder getSqlRecorder() { method getRWStat (line 85) | public UserSqlRWStat getRWStat() { method getSqlLastStat (line 89) | public UserSqlLastStat getSqlLastStat() { method getSqlLargeRowStat (line 93) | public UserSqlLargeStat getSqlLargeRowStat() { method getSqlHigh (line 97) | public UserSqlHighStat getSqlHigh(){ method getSqlResultSizeRecorder (line 101) | public SqlResultSizeRecorder getSqlResultSizeRecorder() { method setSlowTime (line 106) | public void setSlowTime(long time) { method clearSql (line 111) | public void clearSql() { method clearSqlslow (line 115) | public void clearSqlslow() { method clearRwStat (line 119) | public void clearRwStat() { method reset (line 123) | public void reset() { method update (line 140) | public void update(String schema, int sqlType, String sql, long sqlRows, FILE: src/main/java/io/mycat/statistic/stat/UserStatAnalyzer.java class UserStatAnalyzer (line 22) | public class UserStatAnalyzer implements QueryResultListener { method UserStatAnalyzer (line 30) | private UserStatAnalyzer() { method getInstance (line 33) | public static UserStatAnalyzer getInstance() { method onQueryResult (line 37) | @Override method getUserStatMap (line 75) | public Map getUserStatMap() { FILE: src/main/java/io/mycat/util/ByteBufferUtil.java class ByteBufferUtil (line 77) | public class ByteBufferUtil method compareUnsigned (line 82) | public static int compareUnsigned(ByteBuffer o1, ByteBuffer o2) method compare (line 88) | public static int compare(byte[] o1, ByteBuffer o2) method compare (line 94) | public static int compare(ByteBuffer o1, byte[] o2) method string (line 106) | public static String string(ByteBuffer buffer) throws CharacterCodingE... method string (line 120) | public static String string(ByteBuffer buffer, int position, int lengt... method string (line 134) | public static String string(ByteBuffer buffer, int position, int lengt... method string (line 149) | public static String string(ByteBuffer buffer, Charset charset) throws... method getArray (line 157) | public static byte[] getArray(ByteBuffer buffer) method lastIndexOf (line 182) | public static int lastIndexOf(ByteBuffer buffer, byte valueToFind, int... method bytes (line 211) | public static ByteBuffer bytes(String s) method bytes (line 223) | public static ByteBuffer bytes(String s, Charset charset) method clone (line 233) | public static ByteBuffer clone(ByteBuffer buffer) method arrayCopy (line 256) | public static void arrayCopy(ByteBuffer src, int srcPos, byte[] dst, i... method arrayCopy (line 271) | public static void arrayCopy(ByteBuffer src, int srcPos, ByteBuffer ds... method writeWithLength (line 278) | public static void writeWithLength(byte[] bytes, DataOutput out) throw... method readShortLength (line 289) | public static int readShortLength(DataInput in) throws IOException method readBytes (line 299) | public static byte[] readBytes(DataInput in, int length) throws IOExce... method toInt (line 314) | public static int toInt(ByteBuffer bytes) method toLong (line 319) | public static long toLong(ByteBuffer bytes) method toFloat (line 324) | public static float toFloat(ByteBuffer bytes) method toDouble (line 329) | public static double toDouble(ByteBuffer bytes) method bytes (line 334) | public static ByteBuffer bytes(int i) method bytes (line 339) | public static ByteBuffer bytes(long n) method bytes (line 344) | public static ByteBuffer bytes(float f) method bytes (line 349) | public static ByteBuffer bytes(double d) method inputStream (line 354) | public static InputStream inputStream(ByteBuffer bytes) method compareSubArrays (line 403) | public static int compareSubArrays(ByteBuffer bytes1, int offset1, Byt... method bytes (line 428) | public static ByteBuffer bytes(InetAddress address) method isPrefix (line 436) | public static boolean isPrefix(ByteBuffer prefix, ByteBuffer value) method minimalBufferFor (line 447) | public static ByteBuffer minimalBufferFor(ByteBuffer buf) method getShortLength (line 453) | public static int getShortLength(ByteBuffer bb, int position) method readShortLength (line 460) | public static int readShortLength(ByteBuffer bb) method writeShortLength (line 467) | public static void writeShortLength(ByteBuffer bb, int length) method readBytes (line 474) | public static ByteBuffer readBytes(ByteBuffer bb, int length) method readBytesWithShortLength (line 483) | public static ByteBuffer readBytesWithShortLength(ByteBuffer bb) FILE: src/main/java/io/mycat/util/ByteUtil.java class ByteUtil (line 29) | public class ByteUtil { method compareNumberByte (line 39) | public static int compareNumberByte(byte[] b1, byte[] b2) { method compareNumberArray2 (line 81) | public static byte[] compareNumberArray2(byte[] b1, byte[] b2, int ord... method getBytes (line 102) | public static byte[] getBytes(short data) { method getBytes (line 109) | public static byte[] getBytes(char data) { method getBytes (line 116) | public static byte[] getBytes(int data) { method getBytes (line 125) | public static byte[] getBytes(long data) { method getBytes (line 138) | public static byte[] getBytes(float data) { method getBytes (line 143) | public static byte[] getBytes(double data) { method getBytes (line 148) | public static byte[] getBytes(String data, String charsetName) { method getBytes (line 153) | public static byte[] getBytes(String data) { method getShort (line 157) | public static short getShort(byte[] bytes) { method getChar (line 162) | public static char getChar(byte[] bytes) { method getInt (line 166) | public static int getInt(byte[] bytes) { method getLong (line 172) | public static long getLong(byte[] bytes) { method getDouble (line 182) | public static double getDouble(byte[] bytes) { method getFloat (line 186) | public static float getFloat(byte[] bytes) { method getString (line 190) | public static String getString(byte[] bytes, String charsetName) { method getString (line 194) | public static String getString(byte[] bytes) { method getDate (line 198) | public static String getDate(byte[] bytes) { method getTime (line 202) | public static String getTime(byte[] bytes) { method getTimestmap (line 206) | public static String getTimestmap(byte[] bytes) { method getBytes (line 210) | public static byte[] getBytes(Date date, boolean isTime) { method convertUnsignedShort2Binary (line 223) | public static byte[] convertUnsignedShort2Binary(byte[] bytes) { method getBytesFromTime (line 230) | private static byte[] getBytesFromTime(Date date) { method getBytesFromDate (line 275) | private static byte[] getBytesFromDate(Date date) { method dump (line 332) | public static String dump(byte[] data, int offset, int length) { method print (line 356) | public static char print(byte b) { method getDot (line 364) | public static int getDot(byte[] array) { method hasE (line 375) | public static boolean hasE(byte[] array) { method compareNumberByte (line 387) | public static int compareNumberByte(byte[] b1, int b1End, byte[] b2, i... method compareDouble (line 440) | public static int compareDouble(byte[] b1, byte[] b2) { FILE: src/main/java/io/mycat/util/CircularArrayList.java class CircularArrayList (line 32) | public class CircularArrayList method CircularArrayList (line 40) | public CircularArrayList(int capacity) { method capacity (line 45) | public int capacity() { method wrapIndex (line 49) | private int wrapIndex(int i) { method shiftBlock (line 59) | private void shiftBlock(int startIndex, int endIndex) { method size (line 66) | @Override method get (line 71) | @Override method set (line 79) | @Override method add (line 87) | @Override method remove (line 105) | @Override FILE: src/main/java/io/mycat/util/CollectionUtil.java class CollectionUtil (line 35) | public class CollectionUtil { method intersectSet (line 40) | public static Set intersectSet(Set... method isEmpty (line 55) | public static boolean isEmpty(Collection collection){ method isEmpty (line 58) | public static boolean isEmpty(Map map){ FILE: src/main/java/io/mycat/util/CompareUtil.java class CompareUtil (line 29) | public class CompareUtil { method compareInt (line 31) | public static int compareInt(int l,int r){ method compareDouble (line 43) | public static int compareDouble(double l,double r){ method compareFloat (line 54) | public static int compareFloat(float l,float r){ method compareLong (line 66) | public static int compareLong(long l,long r){ method compareString (line 78) | public static int compareString(String l,String r){ method compareChar (line 89) | public static int compareChar(char l,char r){ method compareUtilDate (line 101) | public static int compareUtilDate(Object left,Object right){ method compareSqlDate (line 110) | public static int compareSqlDate(Object left,Object right){ method compareStringForChinese (line 120) | private static int compareStringForChinese(String s1, String s2) { method getCharCode (line 137) | private static int getCharCode(String s){ method chineseCompareTo (line 155) | private static int chineseCompareTo(String s1, String s2){ FILE: src/main/java/io/mycat/util/CompressUtil.java class CompressUtil (line 42) | public class CompressUtil { method compressMysqlPacket (line 55) | public static ByteBuffer compressMysqlPacket(ByteBuffer input, Abstrac... method compressMysqlPacket (line 73) | private static ByteBuffer compressMysqlPacket(byte[] data, AbstractCon... method decompressMysqlPacket (line 131) | public static List decompressMysqlPacket(byte[] data, method splitPack (line 165) | private static List splitPack(byte[] in, ConcurrentLinkedQueue... method mergeBytes (line 202) | private static byte[] mergeBytes(byte[] in, ConcurrentLinkedQueue... method getName (line 43) | public String getName() { FILE: src/main/java/io/mycat/util/NameableThreadFactory.java class NameableThreadFactory (line 6) | public class NameableThreadFactory implements ThreadFactory { method NameableThreadFactory (line 12) | public NameableThreadFactory(String name, boolean isDaemon) { method newThread (line 21) | public Thread newThread(Runnable r) { FILE: src/main/java/io/mycat/util/ObjectUtil.java class ObjectUtil (line 46) | public final class ObjectUtil { method getStaticFieldValue (line 50) | public static Object getStaticFieldValue(String className,String field... method copyObject (line 74) | public static Object copyObject(Object object) { method equals (line 102) | public static boolean equals(Object array1, Object array2) { method copyProperties (line 261) | public static void copyProperties(Object fromObj, Object toObj) { FILE: src/main/java/io/mycat/util/ProcessUtil.java class ProcessUtil (line 12) | public class ProcessUtil method exec (line 18) | public static int exec(String cmd) { method execReturnString (line 35) | public static String execReturnString(List cmd) { method execReturnString (line 57) | public static String execReturnString(String cmd) { method exec (line 76) | public static int exec(String cmd,File dir) { method main (line 95) | public static void main(String[] args) { FILE: src/main/java/io/mycat/util/RandomUtil.java class RandomUtil (line 29) | public class RandomUtil { method randomBytes (line 47) | public static final byte[] randomBytes(int size) { method randomByte (line 56) | private static byte randomByte(byte[] b) { method next (line 61) | private static long next() { method getNRandom (line 78) | public static int[] getNRandom(int min, int max, int n){ FILE: src/main/java/io/mycat/util/ResultSetUtil.java class ResultSetUtil (line 17) | public class ResultSetUtil { method toFlag (line 19) | public static int toFlag(ResultSetMetaData metaData, int column) method resultSetToFieldPacket (line 38) | public static void resultSetToFieldPacket(String charset, method parseRowData (line 75) | public static RowDataPacket parseRowData(byte[] row, method getColumnValAsString (line 82) | public static String getColumnValAsString(byte[] row, method getColumnVal (line 91) | public static byte[] getColumnVal(byte[] row, List fieldValues, method fromHex (line 99) | public static byte[] fromHex(String hexString) { method main (line 109) | public static void main(String[] args) throws Exception { FILE: src/main/java/io/mycat/util/SelectorUtil.java class SelectorUtil (line 16) | public class SelectorUtil { method rebuildSelector (line 23) | public static Selector rebuildSelector(final Selector oldSelector) thr... FILE: src/main/java/io/mycat/util/SetIgnoreUtil.java class SetIgnoreUtil (line 16) | public class SetIgnoreUtil { method isIgnoreStmt (line 35) | public static boolean isIgnoreStmt(String stmt) { FILE: src/main/java/io/mycat/util/SmallSet.java class SmallSet (line 38) | public final class SmallSet extends AbstractSet implements Set,... method SmallSet (line 47) | public SmallSet() { method SmallSet (line 51) | public SmallSet(int initSize) { method add (line 55) | @Override method isEquals (line 84) | private boolean isEquals(E e1, E e2) { method clone (line 91) | @Override method iterator (line 96) | @Override method size (line 159) | @Override FILE: src/main/java/io/mycat/util/SplitUtil.java class SplitUtil (line 33) | public class SplitUtil { method split2 (line 41) | public static String[] split2(String src, char c1, char c2) { method split (line 64) | public static String[] split(String src) { method split (line 68) | public static String[] split(String src, char separatorChar) { method split (line 98) | public static String[] split(String src, char separatorChar, boolean t... method split (line 136) | public static String[] split(String str, String separatorChars) { method split (line 140) | public static String[] split(String src, String separatorChars, int ma... method split (line 218) | public static String[] split(String src, char c1, char c2, char c3, ch... method split (line 251) | public static String[] split(String src, char fi, char se, char th) { method split (line 255) | public static String[] split(String src, char fi, char se, char th, ch... method splitByByteSize (line 271) | public static String[] splitByByteSize(String string, int size) { FILE: src/main/java/io/mycat/util/StreamGobble.java class StreamGobble (line 12) | public class StreamGobble extends Thread { method getResult (line 17) | public String getResult() { method StreamGobble (line 23) | StreamGobble(InputStream is, String type) { method run (line 28) | public void run() { FILE: src/main/java/io/mycat/util/StringUtil.java class StringUtil (line 40) | public class StringUtil { method hash (line 63) | public static long hash(String s, int start, int end) { method encode (line 77) | public static byte[] encode(String src, String charset) { method decode (line 88) | public static String decode(byte[] src, String charset) { method decode (line 92) | public static String decode(byte[] src, int offset, int length, method getRandomString (line 101) | public static String getRandomString(int size) { method safeToString (line 111) | public static String safeToString(Object object) { method isEmpty (line 120) | public static boolean isEmpty(String str) { method hexString2Bytes (line 124) | public static byte[] hexString2Bytes(char[] hexString, int offset, method dumpAsHex (line 266) | public static String dumpAsHex(byte[] src, int length) { method escapeEasternUnicodeByteStream (line 317) | public static byte[] escapeEasternUnicodeByteStream(byte[] src, method toString (line 371) | public static String toString(byte[] bytes) { method equalsIgnoreCase (line 382) | public static boolean equalsIgnoreCase(String str1, String str2) { method countChar (line 389) | public static int countChar(String str, char c) { method replaceOnce (line 403) | public static String replaceOnce(String text, String repl, String with) { method replace (line 407) | public static String replace(String text, String repl, String with) { method replace (line 411) | public static String replace(String text, String repl, String with, in... method replaceChars (line 430) | public static String replaceChars(String str, String searchChars, method replaceChars (line 434) | public static String replaceChars(String str, String searchChars, method getTableName (line 479) | public static String getTableName(String oriSql) { method removeBackquote (line 553) | public static String removeBackquote(String str) { method makeString (line 570) | public static String makeString(Object... args) { method isNull (line 578) | public static boolean isNull(String src) { method sha1 (line 585) | public static String sha1(String data) throws NoSuchAlgorithmException { method main (line 599) | public static void main(String[] args) { FILE: src/main/java/io/mycat/util/TimeUtil.java class TimeUtil (line 31) | public class TimeUtil { method currentTimeMillis (line 34) | public static final long currentTimeMillis() { method currentTimeNanos (line 37) | public static final long currentTimeNanos() { method update (line 41) | public static final void update() { FILE: src/main/java/io/mycat/util/ZKUtils.java class ZKUtils (line 29) | public class ZKUtils { method run (line 37) | @Override method getZKBasePath (line 46) | public static String getZKBasePath() { method getConnection (line 52) | public static CuratorFramework getConnection() { method createConnection (line 56) | private static CuratorFramework createConnection() { method closeWatch (line 78) | public static void closeWatch(List watchs) { method closeWatch (line 84) | public static void closeWatch(String path) { method addChildPathCache (line 95) | public static void addChildPathCache(String path, PathChildrenCacheLis... method writeProperty (line 114) | public static boolean writeProperty( String path, Map ... method createPath (line 155) | public static void createPath(String path, String data) { method getDnIndexPath (line 170) | public static String getDnIndexPath(){ FILE: src/main/java/io/mycat/util/cmd/CmdArgs.java class CmdArgs (line 12) | public class CmdArgs { method CmdArgs (line 17) | private CmdArgs(){ method getInstance (line 22) | public static CmdArgs getInstance(String[] args){ method getString (line 32) | public String getString(String name){ method getInt (line 35) | public int getInt(String name){ method getLong (line 38) | public long getLong(String name){ method getBoolean (line 41) | public boolean getBoolean(String name){ FILE: src/main/java/io/mycat/util/dataMigrator/ConfigComparer.java class ConfigComparer (line 32) | public class ConfigComparer { method ConfigComparer (line 65) | public ConfigComparer(boolean isAwaysUseMaster) throws Exception{ method getMigratorTables (line 72) | public List getMigratorTables(){ method loadOldConfig (line 76) | private void loadOldConfig(){ method loadNewConfig (line 88) | private void loadNewConfig(){ method loadTablesFile (line 101) | private void loadTablesFile() throws Exception{ method getTables (line 120) | private String[] getTables(String tables){ method loadMigratorTables (line 131) | private void loadMigratorTables(String schemaName,String[] tables){ method loadMigratorTable (line 166) | private void loadMigratorTable(TableConfig oldTable,TableConfig newTab... method isNeedMigrate (line 205) | private boolean isNeedMigrate(List oldDN,List newDN){ method getDataNodes (line 213) | private List getDataNodes(TableConfig tableConfig,Map map,TableMigrateInfo table){ method createTempParentDir (line 263) | private void createTempParentDir(String dir){ method createTableTempFiles (line 272) | private void createTableTempFiles(TableMigrateInfo table) { FILE: src/main/java/io/mycat/util/dataMigrator/DataMigratorArgs.java class DataMigratorArgs (line 16) | public class DataMigratorArgs { method DataMigratorArgs (line 59) | public DataMigratorArgs(String[] args){ method getString (line 63) | public String getString(String name){ method getMysqlBin (line 67) | public String getMysqlBin(){ method getTempFileDir (line 78) | public String getTempFileDir(){ method getThreadCount (line 86) | public int getThreadCount(){ method getDelThreadCount (line 94) | public int getDelThreadCount(){ method isAwaysUseMaster (line 102) | public boolean isAwaysUseMaster(){ method getCmdLength (line 110) | public int getCmdLength(){ method getQueryPageSize (line 126) | public int getQueryPageSize(){ method getCharSet (line 134) | public String getCharSet(){ method isGtidPurged (line 142) | public boolean isGtidPurged(){ method isDeleteTempDir (line 150) | public boolean isDeleteTempDir(){ FILE: src/main/java/io/mycat/util/dataMigrator/DataMigratorUtil.java class DataMigratorUtil (line 23) | public class DataMigratorUtil { method appendDataToFile (line 41) | public static void appendDataToFile(File file, String content) throws ... method readDataFromFile (line 65) | public static String readDataFromFile(File file,long offset,int length... method readData (line 95) | public static String readData(File file,long start,int length) throws... method mergeFiles (line 106) | public static void mergeFiles(File outFile, File f) throws IOException { method countLine (line 147) | public static long countLine(File file) throws IOException{ method deleteDir (line 180) | public static boolean deleteDir(File dir) { method paramsAssignment (line 195) | public static String paramsAssignment(String cmd,String mark,Object..... method getMysqlConnection (line 203) | public static Connection getMysqlConnection(DataNode dn) throws SQLExc... method executeQuery (line 209) | public static List> executeQuery(Connection conn, ... method querySize (line 214) | public static long querySize(DataNode dn,String tableName) throws SQLE... method createTable (line 230) | public static void createTable(DataNode dn,String table) throws SQLExc... method printMigrateInfo (line 254) | public static String printMigrateInfo(String title,Map... method isKeyExistIgnoreCase (line 357) | public static boolean isKeyExistIgnoreCase(Map map,Stri... method getValueIgnoreCase (line 361) | public static T getValueIgnoreCase(Map map,String key){ method exeCmdByOs (line 372) | public static Process exeCmdByOs(String cmd) throws IOException{ method getValues (line 387) | private static String[] getValues(String value, int maxValueLength) { FILE: src/main/java/io/mycat/util/dataMigrator/DataNode.java class DataNode (line 8) | public class DataNode{ method DataNode (line 19) | public DataNode(String name,String ip, int port, String userName, Stri... method getIp (line 31) | public String getIp() { method setIp (line 35) | public void setIp(String ip) { method getPort (line 39) | public int getPort() { method setPort (line 43) | public void setPort(int port) { method getUserName (line 47) | public String getUserName() { method setUserName (line 51) | public void setUserName(String userName) { method getPwd (line 55) | public String getPwd() { method setPwd (line 59) | public void setPwd(String pwd) { method getDb (line 63) | public String getDb() { method setDb (line 67) | public void setDb(String db) { method getDbType (line 71) | public String getDbType() { method setDbType (line 75) | public void setDbType(String dbType) { method getName (line 79) | public String getName() { method setName (line 83) | public void setName(String name) { method getUrl (line 88) | public String getUrl(){ method getIndex (line 92) | public int getIndex() { method setIndex (line 96) | public void setIndex(int index) { method toString (line 100) | @Override method equals (line 105) | @Override method hashCode (line 123) | @Override FILE: src/main/java/io/mycat/util/dataMigrator/DataNodeClearGroup.java class DataNodeClearGroup (line 12) | public class DataNodeClearGroup { method DataNodeClearGroup (line 18) | public DataNodeClearGroup(String ip, TableMigrateInfo tableInfo) { method getIp (line 23) | public String getIp() { method setIp (line 26) | public void setIp(String ip) { method getTempFiles (line 29) | public Map getTempFiles() { method setTempFiles (line 32) | public void setTempFiles(Map tempFiles) { method getTableInfo (line 35) | public TableMigrateInfo getTableInfo() { method setTableInfo (line 38) | public void setTableInfo(TableMigrateInfo tableInfo) { FILE: src/main/java/io/mycat/util/dataMigrator/DataNodeMigrateInfo.java class DataNodeMigrateInfo (line 10) | public class DataNodeMigrateInfo { method DataNodeMigrateInfo (line 18) | public DataNodeMigrateInfo(TableMigrateInfo table, DataNode src, DataN... method getTable (line 27) | public TableMigrateInfo getTable() { method setTable (line 31) | public void setTable(TableMigrateInfo table) { method getSrc (line 35) | public DataNode getSrc() { method setSrc (line 38) | public void setSrc(DataNode src) { method getTarget (line 41) | public DataNode getTarget() { method setTarget (line 44) | public void setTarget(DataNode target) { method getTempFile (line 47) | public File getTempFile() { method setTempFile (line 50) | public void setTempFile(File tempFile) { method getSize (line 53) | public long getSize() { method setSize (line 56) | public void setSize(long size) { FILE: src/main/java/io/mycat/util/dataMigrator/MigratorConditonFilesMaker.java class MigratorConditonFilesMaker (line 24) | public class MigratorConditonFilesMaker implements Runnable{ method MigratorConditonFilesMaker (line 41) | public MigratorConditonFilesMaker(TableMigrateInfo tableInfo,DataNode ... method run (line 53) | @Override method createTempFiles (line 115) | private void createTempFiles() throws IOException{ method createTempFile (line 127) | private void createTempFile(File parentFile, DataNode dn) throws IOExc... method statisticalData (line 137) | private void statisticalData(int total, long[] count){ method flushData (line 161) | private void flushData(boolean isForce) throws IOException { method createDirIfNotExist (line 180) | private File createDirIfNotExist() { FILE: src/main/java/io/mycat/util/dataMigrator/TableMigrateInfo.java class TableMigrateInfo (line 25) | public class TableMigrateInfo { method TableMigrateInfo (line 48) | public TableMigrateInfo(String schemaName, String tableName, List getRemovedDataNodes(){ method getNewAddDataNodes (line 97) | public List getNewAddDataNodes(){ method createTableToNewDataNodes (line 105) | public void createTableToNewDataNodes() throws SQLException{ method printMigrateInfo (line 115) | @SuppressWarnings({ "unchecked", "rawtypes" }) method printMigrateSchedule (line 126) | public void printMigrateSchedule(){ method isExpantion (line 135) | public boolean isExpantion(){ method getDataNodesDetail (line 139) | public List getDataNodesDetail() { method setDataNodesDetail (line 143) | public void setDataNodesDetail(List dataNodesDeta... method getSchemaName (line 147) | public String getSchemaName() { method setSchemaName (line 151) | public void setSchemaName(String schemaName) { method getTableName (line 155) | public String getTableName() { method setTableName (line 159) | public void setTableName(String tableName) { method getOldDataNodes (line 163) | public List getOldDataNodes() { method setOldDataNodes (line 167) | public void setOldDataNodes(List oldDataNodes) { method getNewDataNodes (line 171) | public List getNewDataNodes() { method setNewDataNodes (line 175) | public void setNewDataNodes(List newDataNodes) { method getNewRuleAlgorithm (line 179) | public AbstractPartitionAlgorithm getNewRuleAlgorithm() { method setNewRuleAlgorithm (line 183) | public void setNewRuleAlgorithm(AbstractPartitionAlgorithm newRuleAlgo... method getColumn (line 187) | public String getColumn() { method setColumn (line 191) | public void setColumn(String column) { method getSchemaAndTableName (line 195) | public String getSchemaAndTableName(){ method getErrMessage (line 199) | public StringBuffer getErrMessage() { method setErrMessage (line 203) | public void setErrMessage(String errMessage) { method getSize (line 207) | public AtomicLong getSize() { method setSize (line 211) | public void setSize(long size){ method isError (line 215) | public boolean isError() { method setError (line 219) | public void setError(boolean isError) { method getTableStructure (line 223) | public String getTableStructure() { method setTableStructure (line 227) | public void setTableStructure(String tableStructure) { method setSize (line 231) | public void setSize(AtomicLong size) { method getDnMigrateSize (line 235) | public Map getDnMigrateSize() { method setDnMigrateSize (line 239) | public void setDnMigrateSize(Map dnMigrateSize) { FILE: src/main/java/io/mycat/util/dataMigrator/dataIOImpl/MysqlDataIO.java class MysqlDataIO (line 24) | public class MysqlDataIO implements DataIO{ method MysqlDataIO (line 33) | public MysqlDataIO(){ method isWindows (line 40) | public boolean isWindows() { method importData (line 49) | @Override method exportData (line 78) | @Override FILE: src/main/java/io/mycat/util/exception/DataMigratorException.java class DataMigratorException (line 7) | public class DataMigratorException extends RuntimeException{ method DataMigratorException (line 11) | public DataMigratorException() { method DataMigratorException (line 16) | public DataMigratorException(String message, Throwable cause, method DataMigratorException (line 22) | public DataMigratorException(String message, Throwable cause) { method DataMigratorException (line 27) | public DataMigratorException(String message) { method DataMigratorException (line 32) | public DataMigratorException(Throwable cause) { FILE: src/main/java/io/mycat/util/exception/ErrorPacketException.java class ErrorPacketException (line 29) | public class ErrorPacketException extends RuntimeException { method ErrorPacketException (line 32) | public ErrorPacketException() { method ErrorPacketException (line 36) | public ErrorPacketException(String message, Throwable cause) { method ErrorPacketException (line 40) | public ErrorPacketException(String message) { method ErrorPacketException (line 44) | public ErrorPacketException(Throwable cause) { FILE: src/main/java/io/mycat/util/exception/HeartbeatException.java class HeartbeatException (line 29) | public class HeartbeatException extends RuntimeException { method HeartbeatException (line 32) | public HeartbeatException() { method HeartbeatException (line 36) | public HeartbeatException(String message, Throwable cause) { method HeartbeatException (line 40) | public HeartbeatException(String message) { method HeartbeatException (line 44) | public HeartbeatException(Throwable cause) { FILE: src/main/java/io/mycat/util/exception/MurmurHashException.java class MurmurHashException (line 3) | public class MurmurHashException extends RuntimeException{ method MurmurHashException (line 10) | public MurmurHashException() { method MurmurHashException (line 15) | public MurmurHashException(String message, Throwable cause, method MurmurHashException (line 21) | public MurmurHashException(String message, Throwable cause) { method MurmurHashException (line 26) | public MurmurHashException(String message) { method MurmurHashException (line 31) | public MurmurHashException(Throwable cause) { FILE: src/main/java/io/mycat/util/exception/RehashException.java class RehashException (line 3) | public class RehashException extends RuntimeException{ method RehashException (line 10) | public RehashException() { method RehashException (line 15) | public RehashException(String message, Throwable cause, method RehashException (line 21) | public RehashException(String message, Throwable cause) { method RehashException (line 26) | public RehashException(String message) { method RehashException (line 31) | public RehashException(Throwable cause) { FILE: src/main/java/io/mycat/util/exception/UnknownCharsetException.java class UnknownCharsetException (line 31) | public class UnknownCharsetException extends RuntimeException { method UnknownCharsetException (line 34) | public UnknownCharsetException() { method UnknownCharsetException (line 38) | public UnknownCharsetException(String message, Throwable cause) { method UnknownCharsetException (line 42) | public UnknownCharsetException(String message) { method UnknownCharsetException (line 46) | public UnknownCharsetException(Throwable cause) { FILE: src/main/java/io/mycat/util/exception/UnknownDataNodeException.java class UnknownDataNodeException (line 29) | public class UnknownDataNodeException extends RuntimeException { method UnknownDataNodeException (line 32) | public UnknownDataNodeException() { method UnknownDataNodeException (line 36) | public UnknownDataNodeException(String message, Throwable cause) { method UnknownDataNodeException (line 40) | public UnknownDataNodeException(String message) { method UnknownDataNodeException (line 44) | public UnknownDataNodeException(Throwable cause) { FILE: src/main/java/io/mycat/util/exception/UnknownPacketException.java class UnknownPacketException (line 31) | public class UnknownPacketException extends RuntimeException { method UnknownPacketException (line 34) | public UnknownPacketException() { method UnknownPacketException (line 38) | public UnknownPacketException(String message, Throwable cause) { method UnknownPacketException (line 42) | public UnknownPacketException(String message) { method UnknownPacketException (line 46) | public UnknownPacketException(Throwable cause) { FILE: src/main/java/io/mycat/util/exception/UnknownTxIsolationException.java class UnknownTxIsolationException (line 31) | public class UnknownTxIsolationException extends RuntimeException { method UnknownTxIsolationException (line 34) | public UnknownTxIsolationException() { method UnknownTxIsolationException (line 38) | public UnknownTxIsolationException(String message, Throwable cause) { method UnknownTxIsolationException (line 42) | public UnknownTxIsolationException(String message) { method UnknownTxIsolationException (line 46) | public UnknownTxIsolationException(Throwable cause) { FILE: src/main/java/io/mycat/util/rehasher/HashType.java type HashType (line 3) | public enum HashType { FILE: src/main/java/io/mycat/util/rehasher/RehashCmdArgs.java class RehashCmdArgs (line 13) | public class RehashCmdArgs { method RehashCmdArgs (line 32) | public RehashCmdArgs(String[] args){ method getString (line 36) | public String getString(String name){ method getJdbcDriver (line 40) | public String getJdbcDriver(){ method getJdbcUrl (line 43) | public String getJdbcUrl(){ method getHost (line 50) | public String getHost(){ method getHostName (line 53) | public String getHostName(){ method getHostPort (line 57) | public int getHostPort(){ method getDatabase (line 61) | public String getDatabase(){ method getHostWithDatabase (line 64) | public String getHostWithDatabase(){ method getUser (line 67) | public String getUser(){ method getPassword (line 70) | public String getPassword(){ method getTablesFile (line 74) | public String getTablesFile(){ method getTables (line 77) | public String[] getTables() throws IOException{ method getShardingField (line 81) | public String getShardingField(){ method getRehashHostsFile (line 85) | public String getRehashHostsFile(){ method getRehashHosts (line 88) | public String[] getRehashHosts() throws IOException{ method getHashType (line 92) | public HashType getHashType(){ method getMurmurHashSeed (line 96) | public int getMurmurHashSeed(){ method getMurmurHashVirtualBucketTimes (line 99) | public int getMurmurHashVirtualBucketTimes(){ method getMurmurWeightMapFile (line 102) | public String getMurmurWeightMapFile(){ method getRehashNodeDir (line 106) | public String getRehashNodeDir(){ method getIntWithDefaultValue (line 110) | private int getIntWithDefaultValue(String name,int defaultValue){ method readStringArrayFromFile (line 119) | private String[] readStringArrayFromFile(String file) throws IOException{ FILE: src/main/java/io/mycat/util/rehasher/RehashLauncher.java class RehashLauncher (line 30) | public class RehashLauncher { class RehashRunner (line 31) | private final class RehashRunner implements Runnable { method RehashRunner (line 35) | private RehashRunner(File output, String table) { method run (line 40) | public void run(){ method RehashLauncher (line 90) | private RehashLauncher(String[] args) throws IOException{ method initHashAlg (line 98) | private void initHashAlg() throws IOException{ method initDataSource (line 115) | private void initDataSource(){ method execute (line 131) | private RehashLauncher execute() throws IOException{ method shutdown (line 155) | private void shutdown(){ method execute (line 170) | private static void execute(String[] args) throws IOException{ method main (line 184) | public static void main(String[] args) throws IOException { FILE: src/main/resources/dbseq - utf8mb4.sql type MYCAT_SEQUENCE (line 8) | CREATE TABLE MYCAT_SEQUENCE ( name VARCHAR(64) NOT NULL, current_value... function `mycat_seq_currval` (line 15) | CREATE FUNCTION `mycat_seq_currval`(seq_name VARCHAR(64)) RETURNS varcha... function `mycat_seq_nextval` (line 31) | CREATE FUNCTION `mycat_seq_nextval`(seq_name VARCHAR(64)) RETURNS varcha... function `mycat_seq_nextvals` (line 60) | CREATE FUNCTION `mycat_seq_nextvals`(seq_name VARCHAR(64), count INT) RE... function `mycat_seq_setval` (line 87) | CREATE FUNCTION `mycat_seq_setval`(seq_name VARCHAR(64), value BIGINT) R... FILE: src/main/resources/dbseq.sql type MYCAT_SEQUENCE (line 2) | CREATE TABLE MYCAT_SEQUENCE ( name VARCHAR(64) NOT NULL, current_value... function `mycat_seq_currval` (line 9) | CREATE FUNCTION `mycat_seq_currval`(seq_name VARCHAR(64)) RETURNS varcha... function `mycat_seq_nextval` (line 25) | CREATE FUNCTION `mycat_seq_nextval`(seq_name VARCHAR(64)) RETURNS varcha... function `mycat_seq_nextvals` (line 54) | CREATE FUNCTION `mycat_seq_nextvals`(seq_name VARCHAR(64), count INT) RE... function `mycat_seq_setval` (line 81) | CREATE FUNCTION `mycat_seq_setval`(seq_name VARCHAR(64), value BIGINT) R... FILE: src/test/java/demo/catlets/MyHellowJoin.java class MyHellowJoin (line 20) | public class MyHellowJoin implements Catlet { method processSQL (line 22) | public void processSQL(String sql, EngineCtx ctx) { method route (line 37) | @Override class DirectDBJoinHandler (line 46) | class DirectDBJoinHandler implements SQLJobHandler { method DirectDBJoinHandler (line 50) | public DirectDBJoinHandler(EngineCtx ctx) { method onHeader (line 58) | @Override method createQryJob (line 64) | private void createQryJob(int batchSize) { method onRowData (line 86) | @Override method finished (line 103) | @Override class MyRowOutPutDataHandler (line 114) | class MyRowOutPutDataHandler implements SQLJobHandler { method MyRowOutPutDataHandler (line 120) | public MyRowOutPutDataHandler(List afields, EngineCtx ctx, method onHeader (line 128) | @Override method onRowData (line 134) | @Override method finished (line 151) | @Override FILE: src/test/java/demo/test/ByteArrayToHexArray.java class ByteArrayToHexArray (line 5) | public class ByteArrayToHexArray { method buqi (line 6) | public static String buqi(String hexStr){ method main (line 12) | public static void main(String[] args) { FILE: src/test/java/demo/test/TestClass1.java class TestClass1 (line 14) | public class TestClass1 { method main (line 16) | public static void main( String args[] ) throws SQLException , ClassNo... method print (line 29) | static void print( String name , ResultSet res ) FILE: src/test/java/io/mycat/BufferPerformanceMain.java class BufferPerformanceMain (line 31) | public class BufferPerformanceMain { method getAllocate (line 33) | public void getAllocate() { method getAllocateDirect (line 49) | public void getAllocateDirect() { method putAllocate (line 65) | public void putAllocate() { method putAllocateDirect (line 81) | public void putAllocateDirect() { method copyArrayDirect (line 97) | public void copyArrayDirect() { method copyArray (line 115) | public void copyArray() { method main (line 133) | public static void main(String[] args) { FILE: src/test/java/io/mycat/ConfigInitializerTest.java class ConfigInitializerTest (line 33) | public class ConfigInitializerTest { method testConfigLoader (line 34) | @Test FILE: src/test/java/io/mycat/EchoBioServer.java class EchoBioServer (line 35) | public class EchoBioServer implements Runnable { method EchoBioServer (line 41) | public EchoBioServer(int port) throws IOException { method run (line 45) | @Override class BioConnection (line 58) | private class BioConnection implements Runnable { method BioConnection (line 66) | private BioConnection(Socket socket) throws IOException { method run (line 74) | @Override method main (line 99) | public static void main(String[] args) throws Exception { FILE: src/test/java/io/mycat/ExecutorTestMain.java class ExecutorTestMain (line 34) | public class ExecutorTestMain { method main (line 36) | public static void main(String[] args) { FILE: src/test/java/io/mycat/SimpleCachePool.java class SimpleCachePool (line 33) | public class SimpleCachePool implements LayerCachePool { method SimpleCachePool (line 36) | public SimpleCachePool() { method putIfAbsent (line 47) | @Override method get (line 52) | @Override method clearCache (line 57) | @Override method getCacheStatic (line 63) | @Override method putIfAbsent (line 68) | @Override method get (line 74) | @Override method getAllCacheStatic (line 79) | @Override method clearCache (line 85) | @Override method getMaxSize (line 92) | @Override FILE: src/test/java/io/mycat/VolatileTest.java class VolatileTest (line 31) | public class VolatileTest { method testNoop (line 32) | @Test class VolatileObject (line 36) | static class VolatileObject { method main (line 40) | public static void main(String[] args) { FILE: src/test/java/io/mycat/backend/jdbc/mongodb/MongoClientPropertyHelperTest.java class MongoClientPropertyHelperTest (line 11) | public class MongoClientPropertyHelperTest { method testFormatProperties (line 12) | @Test FILE: src/test/java/io/mycat/backend/jdbc/mongodb/MongoEmbeddedObjectProcessorTest.java class MongoEmbeddedObjectProcessorTest (line 17) | public class MongoEmbeddedObjectProcessorTest { method testValueMapperWithObjectId (line 18) | @Test method testValueMapperWithEmbeddedObject (line 28) | @Test method testValueMapperWithDeepEmbeddedObject (line 47) | @Test class TestObject (line 82) | class TestObject { method get_id (line 95) | public ObjectId get_id() { method set_id (line 99) | public void set_id(ObjectId _id) { method getStr (line 103) | public String getStr() { method setStr (line 107) | public void setStr(String str) { method getInte (line 111) | public Integer getInte() { method setInte (line 115) | public void setInte(Integer inte) { method getDate (line 119) | public Date getDate() { method setDate (line 123) | public void setDate(Date date) { method getLon (line 127) | public Long getLon() { method setLon (line 131) | public void setLon(Long lon) { method getBool (line 135) | public Boolean getBool() { method setBool (line 139) | public void setBool(Boolean bool) { method getStrs (line 143) | public String[] getStrs() { method setStrs (line 147) | public void setStrs(String[] strs) { method getIntes (line 151) | public Integer[] getIntes() { method setIntes (line 155) | public void setIntes(Integer[] intes) { method getBytes (line 159) | public byte[] getBytes() { method setBytes (line 163) | public void setBytes(byte[] bytes) { method getB (line 167) | public Byte getB() { method setB (line 171) | public void setB(Byte b) { method getEmbeddedObject (line 175) | public EmbeddedObject getEmbeddedObject() { method setEmbeddedObject (line 179) | public void setEmbeddedObject(EmbeddedObject embeddedObject) { class EmbeddedObject (line 184) | class EmbeddedObject { method getEmbeddedStr (line 189) | public String getEmbeddedStr() { method setEmbeddedStr (line 193) | public void setEmbeddedStr(String embeddedStr) { method getTestObjectList (line 197) | public List getTestObjectList() { method setTestObjectList (line 201) | public void setTestObjectList(List testObjectList) { method getSomeCodeSet (line 205) | public Set getSomeCodeSet() { method setSomeCodeSet (line 209) | public void setSomeCodeSet(Set someCodeSet) { FILE: src/test/java/io/mycat/buffer/TestByteBufferArena.java class TestByteBufferArena (line 22) | public class TestByteBufferArena { method testAllocate (line 26) | @Test method testAllocateDirect (line 48) | @Test method testExpansion (line 71) | @Test method testAllocateWithDifferentAddress (line 83) | @Test method testAllocateNullWhenOutOfMemory (line 120) | @Test FILE: src/test/java/io/mycat/buffer/TestDirectByteBufferPool.java class TestDirectByteBufferPool (line 14) | public class TestDirectByteBufferPool { method testAllocate (line 16) | @Test method testAllocateWithDifferentAddress (line 39) | @Test method testAllocateNullWhenOutOfMemory (line 77) | @Test method testAllocateSign (line 101) | @Test method testExpandBuffer (line 125) | @Test FILE: src/test/java/io/mycat/buffer/TestMycatMemoryAlloctor.java class TestMycatMemoryAlloctor (line 19) | public class TestMycatMemoryAlloctor { method testMemAlloc (line 23) | @Test method getBuffer (line 38) | public ByteBuffer getBuffer(int len) method free (line 46) | public void free(ByteBuffer byteBuffer) method getString (line 54) | public static String getString(ByteBuffer buffer) { method getByteBuffer (line 69) | public static ByteBuffer getByteBuffer(String str) FILE: src/test/java/io/mycat/cache/DefaultLayedCachePoolTest.java class DefaultLayedCachePoolTest (line 34) | public class DefaultLayedCachePoolTest { method testBasic (line 43) | @Test FILE: src/test/java/io/mycat/cache/EnCachePoolTest.java class EnCachePoolTest (line 37) | public class EnCachePoolTest { method testBasic (line 49) | @Test FILE: src/test/java/io/mycat/cache/TestCachePoolPerformance.java class TestCachePoolPerformance (line 39) | public class TestCachePoolPerformance { method createEnCachePool (line 43) | public static CachePool createEnCachePool() { method createMapDBCachePool (line 54) | public static CachePool createMapDBCachePool() { method test (line 60) | public void test() { method testSwarm (line 66) | private void testSwarm() { method testSelectSpeed (line 77) | private void testSelectSpeed() { method GC (line 91) | private void GC() { method testInsertSpeed (line 97) | private void testInsertSpeed() { method main (line 121) | public static void main(String[] args) { FILE: src/test/java/io/mycat/classload/TestDynClassLoad.java class TestDynClassLoad (line 8) | public class TestDynClassLoad { method testLoadClass (line 10) | @Test FILE: src/test/java/io/mycat/config/ConfigTest.java class ConfigTest (line 25) | public class ConfigTest { method ConfigTest (line 32) | public ConfigTest() { method testTempReadHostAvailable (line 50) | @Test method testReadUserBenchmark (line 60) | @Test method testReadHostWeight (line 73) | @Test method testDynamicYYYYMMTable (line 90) | @Test method initDataHosts (line 97) | private Map initDataHosts(ConfigLoader configL... method createDataSource (line 108) | private PhysicalDatasource[] createDataSource(DataHostConfig conf, method getPhysicalDBPool (line 133) | private PhysicalDBPool getPhysicalDBPool(DataHostConfig conf, FILE: src/test/java/io/mycat/heartbeat/HeartbeatConfigForTest.java class HeartbeatConfigForTest (line 31) | public class HeartbeatConfigForTest { method testNoop (line 32) | @Test FILE: src/test/java/io/mycat/heartbeat/HeartbeatContext.java class HeartbeatContext (line 29) | public class HeartbeatContext { FILE: src/test/java/io/mycat/heartbeat/HeartbeatStartup.java class HeartbeatStartup (line 29) | public class HeartbeatStartup { FILE: src/test/java/io/mycat/memory/unsafe/PlatformUtilSuite.java class PlatformUtilSuite (line 23) | public class PlatformUtilSuite { method overlappingCopyMemory (line 25) | @Test FILE: src/test/java/io/mycat/memory/unsafe/array/LongArraySuite.java class LongArraySuite (line 25) | public class LongArraySuite { method basicTest (line 27) | @Test FILE: src/test/java/io/mycat/memory/unsafe/hash/Murmur3_x86_32Suite.java class Murmur3_x86_32Suite (line 34) | public class Murmur3_x86_32Suite { method testKnownIntegerInputs (line 38) | @Test method testKnownLongInputs (line 47) | @Test method randomizedStressTest (line 56) | @Test method randomizedStressTestBytes (line 76) | @Test method randomizedStressTestPaddedStrings (line 100) | @Test FILE: src/test/java/io/mycat/memory/unsafe/map/AbstractBytesToBytesMapSuite.java class AbstractBytesToBytesMapSuite (line 46) | public abstract class AbstractBytesToBytesMapSuite { method setup (line 76) | @Before method tearDown (line 80) | @After method useOffHeapMemoryAllocator (line 93) | protected abstract boolean useOffHeapMemoryAllocator(); method getByteArray (line 95) | private static byte[] getByteArray(Object base, long offset, int size) { method getRandomByteArray (line 101) | private byte[] getRandomByteArray(int numWords) { method arrayEquals (line 113) | private static boolean arrayEquals( method emptyMap (line 127) | @Test method setAndRetrieveAKey (line 142) | @Test method iteratorTestBase (line 198) | private void iteratorTestBase(boolean destructive) throws Exception { method iteratorTest (line 267) | @Test method destructiveIteratorTest (line 272) | @Test method iteratingOverDataPagesWithWastedSpace (line 277) | @Test method randomizedStressTest (line 348) | @Test method randomizedTestWithRecordsLargerThanPageSize (line 406) | @Test method failureToAllocateFirstPage (line 461) | @Test method failureToGrow (line 478) | @Test method spillInIterator (line 503) | @Test method multipleValuesForSameKey (line 542) | @Test method initialCapacityBoundsChecking (line 580) | @Test method testPeakMemoryUsed (line 600) | @Test FILE: src/test/java/io/mycat/memory/unsafe/map/BytesToBytesMapOffHeapSuite.java class BytesToBytesMapOffHeapSuite (line 20) | public class BytesToBytesMapOffHeapSuite extends AbstractBytesToBytesMap... method useOffHeapMemoryAllocator (line 22) | @Override FILE: src/test/java/io/mycat/memory/unsafe/map/BytesToBytesMapOnHeapSuite.java class BytesToBytesMapOnHeapSuite (line 20) | public class BytesToBytesMapOnHeapSuite extends AbstractBytesToBytesMapS... method useOffHeapMemoryAllocator (line 22) | @Override FILE: src/test/java/io/mycat/memory/unsafe/map/MapSorterByValueTest.java class MapSorterByValueTest (line 10) | public class MapSorterByValueTest { method testMapSorterByValue (line 11) | @Test method mapSorterByValue (line 26) | private Map mapSorterByValue(Map map) { FILE: src/test/java/io/mycat/memory/unsafe/map/UnsafeFixedWidthAggregationMapSuite.java class UnsafeFixedWidthAggregationMapSuite (line 42) | public class UnsafeFixedWidthAggregationMapSuite { method testAggregateMap (line 51) | @Test method testWithMemoryLeakDetection (line 199) | @Test method getRandomByteArray (line 306) | private byte[] getRandomByteArray(int numWords) { FILE: src/test/java/io/mycat/memory/unsafe/memory/MemoryManagerSuite.java type MemoryManagerSuite (line 6) | public interface MemoryManagerSuite { FILE: src/test/java/io/mycat/memory/unsafe/memory/MycatMemoryTest.java class MycatMemoryTest (line 11) | public class MycatMemoryTest { method testMycatMemory (line 16) | @Test FILE: src/test/java/io/mycat/memory/unsafe/memory/TaskMemoryManagerSuite.java class TaskMemoryManagerSuite (line 27) | public class TaskMemoryManagerSuite { method leakedPageMemoryIsDetected (line 29) | @Test method encodePageNumberAndOffsetOffHeap (line 44) | @Test method encodePageNumberAndOffsetOnHeap (line 59) | @Test method cooperativeSpilling (line 69) | @Test method offHeapConfigurationBackwardsCompatibility (line 111) | @Test FILE: src/test/java/io/mycat/memory/unsafe/memory/TestMemoryConsumer.java class TestMemoryConsumer (line 25) | public class TestMemoryConsumer extends MemoryConsumer { method TestMemoryConsumer (line 26) | public TestMemoryConsumer(DataNodeMemoryManager memoryManager) { method spill (line 30) | @Override method use (line 37) | void use(long size) throws InterruptedException { method free (line 45) | void free(long size) { FILE: src/test/java/io/mycat/memory/unsafe/memory/TestMemoryManager.java class TestMemoryManager (line 10) | public class TestMemoryManager extends MemoryManager { method TestMemoryManager (line 12) | public TestMemoryManager(MycatPropertyConf conf){ method acquireExecutionMemory (line 21) | @Override method releaseExecutionMemory (line 39) | @Override method markExecutionAsOutOfMemoryOnce (line 48) | public void markExecutionAsOutOfMemoryOnce(){ method limit (line 52) | public void limit(long avail){ FILE: src/test/java/io/mycat/memory/unsafe/row/UnsafeRowListTest.java class UnsafeRowListTest (line 12) | public class UnsafeRowListTest { method testUnsafeRowList (line 13) | @Test FILE: src/test/java/io/mycat/memory/unsafe/row/UnsafeRowSuite.java class UnsafeRowSuite (line 15) | public class UnsafeRowSuite { method testUnsafeRowSingle (line 18) | @Test method testUnsafeRowWithDecimal (line 42) | public void testUnsafeRowWithDecimal() { FILE: src/test/java/io/mycat/memory/unsafe/sort/HashPartitioner.java class HashPartitioner (line 9) | public class HashPartitioner { method HashPartitioner (line 11) | public HashPartitioner(int i) { method getPartition (line 14) | public int getPartition(String key){ FILE: src/test/java/io/mycat/memory/unsafe/sort/TestTimSort.java class TestTimSort (line 35) | public class TestTimSort { method getTimSortBugTestSet (line 42) | public static int[] getTimSortBugTestSet(int length) { method minRunLength (line 48) | private static int minRunLength(int n) { method createArray (line 57) | private static int[] createArray(List runs, int length) { method runsJDKWorstCase (line 80) | private static List runsJDKWorstCase(int minRun, int length) { method generateJDKWrongElem (line 114) | private static void generateJDKWrongElem(List runs, int minRun, ... FILE: src/test/java/io/mycat/memory/unsafe/sort/UnsafeExternalRowSorterTest.java class UnsafeExternalRowSorterTest (line 38) | public class UnsafeExternalRowSorterTest { method testUnsafeExternalRowSorter (line 48) | @Test method getRandomString (line 159) | public static String getRandomString(int length) { //length表示生成字符串的长度 FILE: src/test/java/io/mycat/memory/unsafe/sort/UnsafeExternalSorterRadixSortSuite.java class UnsafeExternalSorterRadixSortSuite (line 20) | public class UnsafeExternalSorterRadixSortSuite extends UnsafeExternalSo... method shouldUseRadixSort (line 21) | @Override FILE: src/test/java/io/mycat/memory/unsafe/sort/UnsafeExternalSorterSuite.java class UnsafeExternalSorterSuite (line 46) | public class UnsafeExternalSorterSuite { method compare (line 64) | @Override method shouldUseRadixSort (line 84) | protected boolean shouldUseRadixSort() { return false; } method setUp (line 89) | @Before method tearDown (line 94) | @After method assertSpillFilesWereCleanedUp (line 104) | private void assertSpillFilesWereCleanedUp() { method insertNumber (line 108) | private static void insertNumber(UnsafeExternalSorter sorter, int valu... method insertRecord (line 115) | private static void insertRecord( method newSorter (line 123) | private UnsafeExternalSorter newSorter() throws IOException { method testSortingOnlyByPrefix (line 135) | @Test method testSortingEmptyArrays (line 159) | @Test method testSortTimeMetric (line 182) | @Test method spillingOccursInResponseToMemoryPressure (line 201) | @Test method testFillingPage (line 231) | @Test method sortingRecordsThatExceedPageSize (line 242) | @Test method forcedSpillingWithReadIterator (line 288) | @Test method forcedSpillingWithNotReadIterator (line 320) | @Test method forcedSpillingWithoutComparator (line 344) | @Test method testPeakMemoryUsed (line 376) | @Test FILE: src/test/java/io/mycat/memory/unsafe/sort/UnsafeInMemorySorterRadixSortSuite.java class UnsafeInMemorySorterRadixSortSuite (line 20) | public class UnsafeInMemorySorterRadixSortSuite extends UnsafeInMemorySo... method shouldUseRadixSort (line 21) | @Override FILE: src/test/java/io/mycat/memory/unsafe/sort/UnsafeInMemorySorterSuite.java class UnsafeInMemorySorterSuite (line 39) | public class UnsafeInMemorySorterSuite { method shouldUseRadixSort (line 41) | protected boolean shouldUseRadixSort() { return true; } method getStringFromDataPage (line 43) | private static String getStringFromDataPage(Object baseObject,long bas... method testSortingEmptyInput (line 49) | @Test method testSortingOnlyByIntegerPrefix (line 64) | @Test FILE: src/test/java/io/mycat/memory/unsafe/storage/BlockManagerTest.java class BlockManagerTest (line 15) | public class BlockManagerTest { method testNewDiskBlockManager (line 18) | @Test method testNewDiskBlockWriter (line 102) | @Test FILE: src/test/java/io/mycat/memory/unsafe/storage/SerializerManagerTest.java class SerializerManagerTest (line 13) | public class SerializerManagerTest { method testNewSerializerManager (line 14) | @Test FILE: src/test/java/io/mycat/memory/unsafe/types/CalendarIntervalSuite.java class CalendarIntervalSuite (line 24) | public class CalendarIntervalSuite { method equalsTest (line 26) | @Test method toStringTest (line 39) | @Test method fromStringTest (line 59) | @Test method fromYearMonthStringTest (line 103) | @Test method fromDayTimeStringTest (line 125) | @Test method fromSingleUnitStringTest (line 160) | @Test method addTest (line 194) | @Test method subtractTest (line 213) | @Test method testSingleUnit (line 232) | private static void testSingleUnit(String unit, int number, int months... FILE: src/test/java/io/mycat/memory/unsafe/types/UTF8StringSuite.java class UTF8StringSuite (line 31) | public class UTF8StringSuite { method checkBasic (line 33) | private static void checkBasic(String str, int len) throws Unsupported... method basicTest (line 53) | @Test method emptyStringTest (line 60) | @Test method prefix (line 68) | @Test method compareTo (line 86) | @Test method testUpperandLower (line 101) | protected static void testUpperandLower(String upper, String lower) { method upperAndLower (line 110) | @Test method titleCase (line 119) | @Test method concatTest (line 127) | @Test method concatWsTest (line 141) | @Test method contains (line 175) | @Test method startsWith (line 186) | @Test method endsWith (line 197) | @Test method substring (line 208) | @Test method trims (line 218) | @Test method indexOf (line 237) | @Test method substring_index (line 253) | @Test method reverse (line 291) | @Test method repeat (line 299) | @Test method pad (line 306) | @Test method substringSQL (line 353) | @Test method split (line 372) | @Test method levenshteinDistance (line 382) | @Test method translate (line 396) | @Test method createBlankString (line 425) | @Test method findInSet (line 433) | @Test method soundex (line 445) | @Test FILE: src/test/java/io/mycat/migrate/MigrateUtilsTest.java class MigrateUtilsTest (line 17) | public class MigrateUtilsTest { method balanceExpand (line 18) | @Test method balanceExpand1 (line 131) | @Test method modifyRuleData (line 186) | private void modifyRuleData( Properties prop ,MigrateTask task ,List... method removeRangesRemain (line 208) | private String removeRangesRemain(String ori,List rangeList){ method pringList (line 214) | private void pringList(String comm,Map> integerLi... method listToString (line 223) | private String listToString(List rangeList) method removeAndGetRemain (line 234) | @Test method removeAndGetRemain1 (line 251) | @Test FILE: src/test/java/io/mycat/model/M1.java class M1 (line 33) | public class M1 { method M1 (line 39) | public M1() { method getCount (line 44) | public long getCount() { method getX (line 48) | public BlockingQueue getX() { method getY (line 52) | public BlockingQueue getY() { method start (line 56) | public void start() { class A (line 62) | private final class A implements Runnable { method run (line 63) | @Override class B (line 77) | private final class B implements Runnable { method run (line 78) | @Override class C (line 93) | private final class C implements Runnable { method run (line 94) | @Override FILE: src/test/java/io/mycat/model/M1Main.java class M1Main (line 29) | public class M1Main { method main (line 31) | public static void main(String[] args) { FILE: src/test/java/io/mycat/model/M2.java class M2 (line 35) | public class M2 { method M2 (line 40) | public M2() { method getCount (line 45) | public long getCount() { method getX (line 49) | public ThreadPoolExecutor getX() { method getY (line 53) | public BlockingQueue getY() { method start (line 57) | public void start() { class A (line 62) | private final class A implements Runnable { method run (line 63) | @Override class C (line 84) | private final class C implements Runnable { method run (line 85) | @Override FILE: src/test/java/io/mycat/model/M2Main.java class M2Main (line 29) | public class M2Main { method main (line 31) | public static void main(String[] args) { FILE: src/test/java/io/mycat/model/TransferObject.java class TransferObject (line 29) | public class TransferObject { method handle (line 33) | public void handle() { method compelete (line 37) | public void compelete() { FILE: src/test/java/io/mycat/mpp/TestSorter.java class TestSorter (line 31) | public class TestSorter { method testDecimal (line 33) | @Test method testNumberCompare (line 52) | @Test FILE: src/test/java/io/mycat/mysql/MySQLMessageTest.java class MySQLMessageTest (line 34) | public class MySQLMessageTest { method testReadBytesWithNull (line 36) | @Test method testReadBytesWithNull2 (line 45) | @Test method testReadBytesWithNull3 (line 54) | @Test FILE: src/test/java/io/mycat/mysql/ResultSetPacketParse.java class ResultSetPacketParse (line 32) | public class ResultSetPacketParse { method parse (line 34) | public static String parse(String src) { method main (line 57) | public static void main(String[] args) { FILE: src/test/java/io/mycat/parser/ManagerParserTest.java class ManagerParserTest (line 39) | public class ManagerParserTest { method testIsSelect (line 41) | @Test method testIsSet (line 48) | @Test method testIsShow (line 55) | @Test method testShowCommand (line 62) | @Test method testShowConnection (line 69) | @Test method testShowConnectionSQL (line 76) | @Test method testShowDatabase (line 83) | @Test method testShowDataNode (line 90) | @Test method testShowDataSource (line 104) | @Test method testShowHelp (line 120) | @Test method testShowHeartbeat (line 127) | @Test method testShowParser (line 134) | @Test method testShowProcessor (line 141) | @Test method testShowRouter (line 148) | @Test method testShowServer (line 155) | @Test method testShowThreadPool (line 162) | @Test method testShowBackend (line 169) | @Test method testShowTimeCurrent (line 176) | @Test method testShowTimeStartUp (line 183) | @Test method testShowVersion (line 190) | @Test method testShowSQL (line 197) | @Test method testShowSQLDetail (line 206) | @Test method testShowSQLExecute (line 220) | @Test method testShowSQLSlow (line 227) | @Test method testShowVariables (line 234) | @Test method testShowCollation (line 241) | @Test method testSwitchPool (line 248) | @Test method testComment (line 255) | @Test method testShowWhitComment (line 262) | @Test method testStop (line 272) | @Test method testStopHeartBeat (line 278) | @Test method testReload (line 285) | @Test method testReloadConfig (line 291) | @Test method testReloadRoute (line 298) | @Test method testReloadUser (line 305) | @Test method testRollback (line 312) | @Test method testOnOff (line 318) | @Test method testRollbackConfig (line 330) | @Test method testRollbackUser (line 337) | @Test method testRollbackRoute (line 344) | @Test method testGetWhere (line 351) | @Test method testShowSlowSchema (line 358) | @Test method testShowSlowDataNode (line 368) | @Test method testclearSlowSchema (line 378) | @Test method testclearSlowDataNode (line 388) | @Test method testHeartBearDetail (line 397) | @Test method testSynStatus (line 402) | @Test method testSynDetail (line 407) | @Test FILE: src/test/java/io/mycat/parser/ManagerParserTestPerf.java class ManagerParserTestPerf (line 31) | public class ManagerParserTestPerf { method testPerformance (line 33) | public void testPerformance() { method testPerformanceWhere (line 42) | public void testPerformanceWhere() { FILE: src/test/java/io/mycat/parser/Performance.java type Performance (line 29) | public interface Performance { FILE: src/test/java/io/mycat/parser/ServerParseTest.java class ServerParseTest (line 9) | public class ServerParseTest { method testDesc (line 35) | @Test method testDescribe (line 43) | @Test method testDelete (line 51) | @Test method testInsert (line 59) | @Test method testReplace (line 67) | @Test method testSet (line 75) | @Test method testShow (line 83) | @Test method testStart (line 91) | @Test method testUpdate (line 99) | @Test method testKill (line 107) | @Test method testSavePoint (line 115) | @Test method testUse (line 123) | @Test method testExplain (line 131) | @Test method testKillQuery (line 139) | @Test method testHelp (line 147) | @Test method testMysqlCmdComment (line 155) | @Test method testMysqlComment (line 160) | @Test method testCall (line 165) | @Test method testRollback (line 173) | @Test method testSelect (line 181) | @Test method testBegin (line 189) | @Test method testCommit (line 197) | @Test FILE: src/test/java/io/mycat/parser/ServerParserTest.java class ServerParserTest (line 38) | public class ServerParserTest { method testIsBegin (line 40) | @Test method testIsCommit (line 47) | @Test method testComment (line 55) | @Test method testMycatComment (line 66) | @Test method testOldMycatComment (line 73) | @Test method testIsDelete (line 80) | @Test method testIsInsert (line 87) | @Test method testIsReplace (line 94) | @Test method testIsRollback (line 101) | @Test method testIsSelect (line 108) | @Test method testIsSet (line 115) | @Test method testIsShow (line 122) | @Test method testIsStart (line 129) | @Test method testIsUpdate (line 136) | @Test method testIsShowDatabases (line 143) | @Test method testIsShowDataSources (line 150) | @Test method testShowMycatStatus (line 157) | @Test method testShowMycatCluster (line 167) | @Test method testIsShowOther (line 177) | @Test method testIsSetAutocommitOn (line 184) | @Test method testIsSetAutocommitOn2 (line 191) | @Test method testIsSetAutocommitOff (line 195) | @Test method testIsSetAutocommitOff2 (line 203) | @Test method testIsSetNames (line 208) | @Test method testIsCharacterSetResults (line 215) | @Test method testIsSetOther (line 229) | @Test method testIsKill (line 236) | @Test method testIsKillQuery (line 243) | @Test method testIsSavepoint (line 250) | @Test method testIsUse (line 257) | @Test method testIsStartTransaction (line 264) | @Test method testIsSelectVersionComment (line 271) | @Test method testIsSelectVersion (line 280) | @Test method testIsSelectDatabase (line 287) | @Test method testIsSelectUser (line 294) | @Test method testTxReadUncommitted (line 301) | @Test method testTxReadCommitted (line 311) | @Test method testTxReadOnly (line 321) | @Test method testSqlSelectLimit (line 331) | @Test method testTxReadWrite (line 341) | @Test method testTxRepeatedRead (line 351) | @Test method testTxSerializable (line 361) | @Test method testIdentity (line 371) | @Test method testLastInsertId (line 399) | @Test method testLockTable (line 509) | @Test method testUnlockTable (line 516) | @Test method testSetXAOn (line 522) | @Test method testSetXAOff (line 529) | @Test FILE: src/test/java/io/mycat/parser/ServerParserTestPerf.java class ServerParserTestPerf (line 31) | public final class ServerParserTestPerf { method parseSetPerf (line 33) | private static void parseSetPerf() { method main (line 42) | public static void main(String[] args) { FILE: src/test/java/io/mycat/parser/TestEscapeProcess.java class TestEscapeProcess (line 25) | public class TestEscapeProcess { method testEscapeProcess (line 40) | @Test FILE: src/test/java/io/mycat/parser/druid/DruidSelectParserTest.java class DruidSelectParserTest (line 22) | public class DruidSelectParserTest { method testGroupByWithAlias (line 34) | @Test method testGroupByWithViewAlias (line 48) | @Test method invokeGroupBy (line 55) | public Object invokeGroupBy(String functionColumn) throws NoSuchMethod... FILE: src/test/java/io/mycat/parser/druid/DruidSequenceHandlerTest.java class DruidSequenceHandlerTest (line 16) | public class DruidSequenceHandlerTest { method test (line 18) | @Test method test2 (line 40) | @Test method main (line 49) | public static void main(String[] args) FILE: src/test/java/io/mycat/parser/druid/DruidUpdateParserTest.java class DruidUpdateParserTest (line 32) | public class DruidUpdateParserTest { method testUpdateShardColumn (line 37) | @Test method testAliasUpdateShardColumn (line 64) | @Test method throwExceptionParse (line 82) | public void throwExceptionParse(String sql, boolean throwException) th... method printWhereClauseAST (line 138) | public static void printWhereClauseAST(SQLExpr sqlExpr) { FILE: src/test/java/io/mycat/parser/druid/MycatSchemaStatVisitorTest.java class MycatSchemaStatVisitorTest (line 24) | public class MycatSchemaStatVisitorTest { method test4 (line 29) | @Test method test1 (line 44) | @Test method test2 (line 82) | @Test method test3 (line 107) | @Test method test5 (line 245) | @Test method getSchema (line 252) | private String getSchema(String sql) { method getConditionList (line 271) | private List> getConditionList(String sql) { FILE: src/test/java/io/mycat/parser/primitive/TestFunctionParser.java class TestFunctionParser (line 15) | public class TestFunctionParser { method testMultiFunctions (line 17) | @Test method testFunctionParse (line 25) | public String testFunctionParse(String function) throws SQLNonTransien... FILE: src/test/java/io/mycat/parser/util/PairUtilTest.java class PairUtilTest (line 37) | public class PairUtilTest extends TestCase { method testSequenceSlicing (line 39) | @Test method splitIndexTest (line 49) | @Test FILE: src/test/java/io/mycat/performance/AbstractMultiTreadBatchTester.java class AbstractMultiTreadBatchTester (line 38) | public abstract class AbstractMultiTreadBatchTester { method parseArgs (line 52) | public boolean parseArgs(String[] args) { method run (line 76) | public void run(String[] args) throws Exception { method addFinshed (line 84) | public void addFinshed(int count) { method createJobs (line 88) | public ArrayList createJobs(SimpleConPool conPool, long minId, method createJob (line 112) | public abstract Runnable createJob(SimpleConPool conPool2, long myCount, method createAllJobs (line 116) | @SuppressWarnings("unchecked") method createSQLTemplateJobs (line 144) | private ArrayList[] createSQLTemplateJobs(long total, method addFailed (line 165) | public void addFailed(int count) { method getConPool (line 169) | public SimpleConPool getConPool() throws SQLException, method startTest (line 178) | @SuppressWarnings("unchecked") method runAndReport (line 211) | public void runAndReport() throws InterruptedException { method parseLong (line 240) | private static long parseLong(String val) { FILE: src/test/java/io/mycat/performance/GoodsInsertJob.java class GoodsInsertJob (line 38) | public class GoodsInsertJob implements Runnable { method GoodsInsertJob (line 49) | public GoodsInsertJob(SimpleConPool conPool, long totalRecords, method insert (line 61) | private int insert(Connection con,List> list) thro... method getNextBatch (line 79) | private List> getNextBatch() { method getRandomDay (line 106) | private String getRandomDay(long i) { method run (line 116) | @Override FILE: src/test/java/io/mycat/performance/RandomDataValueUtil.java class RandomDataValueUtil (line 27) | public class RandomDataValueUtil { method parselRandVarTemplateString (line 44) | public static LinkedList parselRandVarTemplateString( method loadFromPropertyFile (line 102) | public static Properties loadFromPropertyFile(String sqlFile) method evalRandValueString (line 112) | public static String evalRandValueString(LinkedList items) { method main (line 120) | public static void main(String[] args) throws Exception { class StringItemFactory (line 135) | class StringItemFactory { method parseVarPattern (line 146) | public static StringItem parseVarPattern(String content) class PhoneVarItem (line 161) | class PhoneVarItem extends StringItem { method initString (line 166) | public void initString(String content) { method patchLenth (line 175) | public static String patchLenth(String origin, int patchlen) { method getValue (line 184) | public String getValue() { method toString (line 189) | @Override class EnumVarItem (line 196) | class EnumVarItem extends StringItem { method initString (line 200) | public void initString(String content) { method getValue (line 209) | public String getValue() { method toString (line 213) | @Override class CharVarItem (line 220) | class CharVarItem extends StringItem { method initString (line 226) | public void initString(String content) { method getValue (line 253) | public String getValue() { method toString (line 268) | @Override class StringItem (line 276) | class StringItem { method StringItem (line 280) | public StringItem() { method getValue (line 284) | public String getValue() { method initString (line 288) | public void initString(String content) { method toString (line 292) | @Override class IntVarItem (line 298) | class IntVarItem extends StringItem { method initString (line 303) | public void initString(String content) { method getValue (line 323) | public String getValue() { method toString (line 332) | @Override class DateVarItem (line 339) | class DateVarItem extends StringItem { method DateVarItem (line 349) | public DateVarItem() { method initString (line 353) | public void initString(String content) { method getRangeofPattern (line 391) | private static final int[] getRangeofPattern(String theString, int end... method getValue (line 402) | public String getValue() { method toString (line 436) | @Override FILE: src/test/java/io/mycat/performance/SimpleConPool.java class SimpleConPool (line 31) | public class SimpleConPool { method SimpleConPool (line 37) | public SimpleConPool(String url, String user, String password, int max... method close (line 49) | public void close() { method getCon (line 62) | private Connection getCon() throws SQLException { method returnCon (line 67) | public void returnCon(Connection con) { method getConnection (line 81) | public Connection getConnection() throws SQLException { FILE: src/test/java/io/mycat/performance/TestGlobalTableInsertPerf.java class TestGlobalTableInsertPerf (line 32) | public class TestGlobalTableInsertPerf extends AbstractMultiTreadBatchT... method parseArgs (line 33) | public boolean parseArgs(String[] args) { method main (line 47) | public static void main(String[] args) throws Exception { method createJob (line 52) | @Override FILE: src/test/java/io/mycat/performance/TestInsertGlobalSeqPerf.java class TestInsertGlobalSeqPerf (line 32) | public class TestInsertGlobalSeqPerf extends AbstractMultiTreadBatchTest... method main (line 34) | public static void main(String[] args) throws Exception { method createJob (line 40) | @Override FILE: src/test/java/io/mycat/performance/TestInsertPerf.java class TestInsertPerf (line 32) | public class TestInsertPerf extends AbstractMultiTreadBatchTester { method main (line 34) | public static void main(String[] args) throws Exception { method createJob (line 40) | @Override FILE: src/test/java/io/mycat/performance/TestMaxConnection.java class TestMaxConnection (line 28) | public class TestMaxConnection { method main (line 29) | public static void main(String[] args) { FILE: src/test/java/io/mycat/performance/TestMergeSelectPerf.java class TestMergeSelectPerf (line 38) | public class TestMergeSelectPerf { method addFinshed (line 43) | public static void addFinshed(int count) { method addFailed (line 47) | public static void addFailed(int count) { method getCon (line 51) | private static Connection getCon(String url, String user, String passwd) method main (line 57) | public static void main(String[] args) throws Exception { method report (line 113) | public static void report(ArrayList jobs) { FILE: src/test/java/io/mycat/performance/TestRandomDataUtil.java class TestRandomDataUtil (line 10) | public class TestRandomDataUtil { method testParselRandVarTemplateString (line 12) | @Test FILE: src/test/java/io/mycat/performance/TestSelectPerf.java class TestSelectPerf (line 39) | public class TestSelectPerf { method addFinshed (line 48) | public static void addFinshed(int count) { method addFailed (line 52) | public static void addFailed(int count) { method getCon (line 56) | private static Connection getCon(String url, String user, String passwd) method createQueryJob (line 62) | private static SelectJob createQueryJob(Connection con) { method doTest (line 74) | private static void doTest(String url, String user, String password, method main (line 128) | public static void main(String[] args) throws Exception { method report (line 181) | public static void report(CopyOnWriteArrayList jobs) { type SelectJob (line 209) | interface SelectJob { method getTPS (line 211) | double getTPS(); method getValidTTLSum (line 213) | long getValidTTLSum(); method getValidTTLCount (line 215) | long getValidTTLCount(); method getMinTTL (line 217) | long getMinTTL(); method getMaxTTL (line 219) | long getMaxTTL(); FILE: src/test/java/io/mycat/performance/TestUpdatePerf.java class TestUpdatePerf (line 32) | public class TestUpdatePerf extends AbstractMultiTreadBatchTester { method TestUpdatePerf (line 35) | public TestUpdatePerf(int repearts) { method main (line 42) | public static void main(String[] args) throws Exception { method createJob (line 53) | @Override FILE: src/test/java/io/mycat/performance/TravelRecordGlobalSeqInsertJob.java class TravelRecordGlobalSeqInsertJob (line 39) | public class TravelRecordGlobalSeqInsertJob implements Runnable { method TravelRecordGlobalSeqInsertJob (line 49) | public TravelRecordGlobalSeqInsertJob(SimpleConPool conPool, long tota... method insert (line 61) | private int insert(Connection con, List> list) method getNextBatch (line 83) | private List> getNextBatch() { method getRandomDay (line 109) | private String getRandomDay(long i) { method run (line 119) | @Override FILE: src/test/java/io/mycat/performance/TravelRecordInsertJob.java class TravelRecordInsertJob (line 36) | public class TravelRecordInsertJob implements Runnable { method TravelRecordInsertJob (line 45) | public TravelRecordInsertJob(SimpleConPool conPool, long totalRecords, method insert (line 57) | private long insert(Connection con, List> list) method getNextBatch (line 78) | private List> getNextBatch() { method getRandomDay (line 104) | private String getRandomDay(long i) { method run (line 112) | @Override FILE: src/test/java/io/mycat/performance/TravelRecordMergeJob.java class TravelRecordMergeJob (line 35) | public class TravelRecordMergeJob implements Runnable { method TravelRecordMergeJob (line 46) | public TravelRecordMergeJob(Connection con, int executeTimes, method select (line 55) | private void select() { method run (line 80) | @Override method getUsedTime (line 95) | public long getUsedTime() { method getTPS (line 99) | public int getTPS() FILE: src/test/java/io/mycat/performance/TravelRecordSelectJob.java class TravelRecordSelectJob (line 32) | public class TravelRecordSelectJob implements Runnable ,SelectJob{ method TravelRecordSelectJob (line 47) | public TravelRecordSelectJob(Connection con, long minId, long maxId, method select (line 59) | private long select() { method run (line 90) | @Override method getUsedTime (line 124) | public long getUsedTime() { method getTPS (line 128) | public double getTPS() { method getMaxTTL (line 138) | public long getMaxTTL() { method getMinTTL (line 142) | public long getMinTTL() { method getValidTTLSum (line 146) | public long getValidTTLSum() { method getValidTTLCount (line 150) | public long getValidTTLCount() { method main (line 154) | public static void main(String[] args) { FILE: src/test/java/io/mycat/performance/TravelRecordUpdateJob.java class TravelRecordUpdateJob (line 39) | public class TravelRecordUpdateJob implements Runnable { method TravelRecordUpdateJob (line 49) | public TravelRecordUpdateJob(SimpleConPool conPool, long totalRecords, method update (line 61) | private int update(Connection con, List> list) method getNextBatch (line 81) | private List> getNextBatch() { method getRandomDay (line 106) | private String getRandomDay(long i) { method run (line 116) | @Override FILE: src/test/java/io/mycat/performance/UserTableInsertJob.java class UserTableInsertJob (line 12) | public class UserTableInsertJob implements Runnable { method UserTableInsertJob (line 23) | public UserTableInsertJob(SimpleConPool conPool, long totalRecords, method insert (line 36) | private long insert(Connection con, List list) throws SQLExcep... method getNextBatch (line 50) | private List getNextBatch() { method run (line 65) | @Override FILE: src/test/java/io/mycat/performance/UserTableSelectJob.java class UserTableSelectJob (line 33) | public class UserTableSelectJob implements Runnable, SelectJob { method UserTableSelectJob (line 48) | public UserTableSelectJob(Connection con, method select (line 59) | private long select() { method run (line 89) | @Override method getUsedTime (line 128) | public long getUsedTime() { method getTPS (line 132) | public double getTPS() { method getMaxTTL (line 140) | public long getMaxTTL() { method getMinTTL (line 144) | public long getMinTTL() { method getValidTTLSum (line 148) | public long getValidTTLSum() { method getValidTTLCount (line 152) | public long getValidTTLCount() { method main (line 156) | public static void main(String[] args) { FILE: src/test/java/io/mycat/postgres/PostgresTest.java class PostgresTest (line 31) | public class PostgresTest { method testNothing (line 33) | @Test FILE: src/test/java/io/mycat/queue/FixedQueue.java class FixedQueue (line 33) | public final class FixedQueue { method FixedQueue (line 41) | @SuppressWarnings("unchecked") method size (line 50) | public int size() { method offer (line 60) | public boolean offer(E e) { method poll (line 78) | public E poll() { method clear (line 91) | public void clear() { method insert (line 110) | private void insert(E x) { method extract (line 116) | private E extract() { method inc (line 126) | private int inc(int i) { FILE: src/test/java/io/mycat/queue/Queue.java class Queue (line 29) | public final class Queue { method Queue (line 38) | public Queue(int suggestedSize) { method Queue (line 43) | public Queue() { method clear (line 47) | public synchronized void clear() { method hasElements (line 53) | public synchronized boolean hasElements() { method size (line 57) | public synchronized int size() { method prepend (line 61) | public synchronized void prepend(T item) { method append (line 77) | public synchronized void append(T item) { method appendSilent (line 81) | public synchronized void appendSilent(T item) { method appendLoud (line 85) | public synchronized void appendLoud(T item) { method getNonBlocking (line 89) | public synchronized T getNonBlocking() { method waitForItem (line 101) | public synchronized void waitForItem() { method get (line 110) | public synchronized T get(long maxwait) { method get (line 123) | public synchronized T get() { method append0 (line 146) | private void append0(T item, boolean notify) { method makeMoreRoom (line 158) | private void makeMoreRoom() { method shrink (line 169) | private void shrink() { method newArray (line 185) | @SuppressWarnings("unchecked") method toString (line 190) | @Override FILE: src/test/java/io/mycat/queue/QueuePerfMain.java class QueuePerfMain (line 37) | public class QueuePerfMain { method tArrayQueue (line 47) | public static void tArrayQueue() { method tFixedQueue (line 82) | public static void tFixedQueue() { method tQueue (line 117) | public static void tQueue() { method tLinkedQueue (line 152) | public static void tLinkedQueue() { method tTransferQueue (line 187) | public static void tTransferQueue() { method main (line 222) | public static void main(String[] args) { FILE: src/test/java/io/mycat/queue/QueueSimpleMain.java class QueueSimpleMain (line 31) | public class QueueSimpleMain { method main (line 36) | public static void main(String[] args) { FILE: src/test/java/io/mycat/route/DDLRouteTest.java class DDLRouteTest (line 26) | public class DDLRouteTest { method DDLRouteTest (line 31) | public DDLRouteTest() { method testSpecialCharDDL (line 43) | @Test method testDDL (line 74) | @Test method testDDLDefaultNode (line 161) | @Test FILE: src/test/java/io/mycat/route/DQLRouteTest.java class DQLRouteTest (line 30) | public class DQLRouteTest { method DQLRouteTest (line 39) | public DQLRouteTest() { method test (line 49) | @Test method visitorParse (line 76) | @SuppressWarnings("unchecked") FILE: src/test/java/io/mycat/route/DeleteSqlParseTest.java class DeleteSqlParseTest (line 24) | public class DeleteSqlParseTest { method DeleteSqlParseTest (line 29) | public DeleteSqlParseTest() { method testDeleteToRoute (line 39) | @Test FILE: src/test/java/io/mycat/route/DruidDb2SqlParserTest.java class DruidDb2SqlParserTest (line 18) | public class DruidDb2SqlParserTest method DruidDb2SqlParserTest (line 24) | public DruidDb2SqlParserTest() { method testLimitToDb2Page (line 34) | @Test method testDb2PageSQL (line 70) | @Test FILE: src/test/java/io/mycat/route/DruidMysqlCreateTableTest.java class DruidMysqlCreateTableTest (line 30) | public class DruidMysqlCreateTableTest method DruidMysqlCreateTableTest (line 44) | public DruidMysqlCreateTableTest() { method testCreate (line 54) | @Test method testInsert (line 72) | public void testInsert() throws SQLNonTransientException { method isInsertHasSlot (line 87) | private boolean isInsertHasSlot(String sql) method parseSql (line 99) | public boolean parseSql(String sql) { method hasColumn (line 105) | private static boolean hasColumn(SQLStatement statement){ FILE: src/test/java/io/mycat/route/DruidMysqlHavingTest.java class DruidMysqlHavingTest (line 18) | public class DruidMysqlHavingTest method DruidMysqlHavingTest (line 24) | public DruidMysqlHavingTest() { method testHaving (line 34) | @Test FILE: src/test/java/io/mycat/route/DruidMysqlRouteStrategyTest.java class DruidMysqlRouteStrategyTest (line 28) | public class DruidMysqlRouteStrategyTest extends TestCase { method DruidMysqlRouteStrategyTest (line 33) | public DruidMysqlRouteStrategyTest() { method setUp (line 43) | protected void setUp() throws Exception { method testRouteInsertShort (line 57) | public void testRouteInsertShort() throws Exception { method testGlobalTableroute (line 116) | public void testGlobalTableroute() throws Exception { method testMoreGlobalTableroute (line 162) | public void testMoreGlobalTableroute() throws Exception { method testRouteMultiTables (line 175) | public void testRouteMultiTables() throws Exception { method testRouteCache (line 189) | public void testRouteCache() throws Exception { method getNodeMap (line 228) | private static Map getNodeMap( type NodeNameDeconstructor (line 242) | private static interface NodeNameDeconstructor { method getNodeIndex (line 243) | public int getNodeIndex(String name); class NodeNameAsserter (line 246) | private static class NodeNameAsserter implements NodeNameDeconstructor { method NodeNameAsserter (line 249) | public NodeNameAsserter() { method NodeNameAsserter (line 252) | public NodeNameAsserter(String... expectNames) { method setNames (line 257) | protected void setNames(String[] expectNames) { method assertRouteNodeNames (line 262) | public void assertRouteNodeNames(Collection nodeNames) { method getNodeIndex (line 270) | @Override class IndexedNodeNameAsserter (line 282) | private static class IndexedNodeNameAsserter extends NodeNameAsserter { method IndexedNodeNameAsserter (line 287) | public IndexedNodeNameAsserter(String prefix, int from, int to) { class RouteNodeAsserter (line 297) | private static class RouteNodeAsserter { method RouteNodeAsserter (line 301) | public RouteNodeAsserter(NodeNameDeconstructor deconstructor, method assertNode (line 307) | public void assertNode(RouteResultsetNode node) throws Exception { type SQLAsserter (line 313) | private static interface SQLAsserter { method assertSQL (line 314) | public void assertSQL(String sql, int nodeIndex) throws Exception; class SimpleSQLAsserter (line 317) | private static class SimpleSQLAsserter implements SQLAsserter { method addExpectSQL (line 320) | public SimpleSQLAsserter addExpectSQL(int nodeIndex, String sql) { method assertSQL (line 330) | @Override method testroute (line 337) | public void testroute() throws Exception { method testERroute (line 379) | public void testERroute() throws Exception { method testDuplicatePartitionKey (line 442) | public void testDuplicatePartitionKey() throws Exception { method testAddLimitToSQL (line 479) | public void testAddLimitToSQL() throws Exception { method testModifySQLLimit (line 528) | public void testModifySQLLimit() throws Exception { method testGroupLimit (line 562) | public void testGroupLimit() throws Exception { method testConfigSchema (line 735) | public void testConfigSchema() throws Exception { method testIgnoreSchema (line 760) | public void testIgnoreSchema() throws Exception { method testGlobalTableSingleNodeLimit (line 842) | public void testGlobalTableSingleNodeLimit() throws Exception { method testSelectNoTable (line 857) | public void testSelectNoTable() throws Exception { method testBatchInsert (line 878) | public void testBatchInsert() throws Exception { method testInsertOnDuplicateKey (line 919) | public void testInsertOnDuplicateKey() throws Exception { method testAggregateExpr (line 955) | @Test method testBetweenExpr (line 976) | @Test method testOr (line 1016) | @Test method testERRouteMutiNode (line 1057) | @Test method testMultiLevelOr (line 1072) | @Test method testGlobalTableOr (line 1103) | @Test method testAlias (line 1118) | public void testAlias() throws Exception { method testSchemaTable (line 1149) | public void testSchemaTable() throws Exception { method formatSql (line 1184) | private String formatSql(String sql) { FILE: src/test/java/io/mycat/route/DruidMysqlSqlParserTest.java class DruidMysqlSqlParserTest (line 19) | public class DruidMysqlSqlParserTest method DruidMysqlSqlParserTest (line 25) | public DruidMysqlSqlParserTest() { method testLimitPage (line 35) | @Test method testLockTableSql (line 79) | @Test FILE: src/test/java/io/mycat/route/DruidMysqlSqlSubqueriesParserTest.java class DruidMysqlSqlSubqueriesParserTest (line 18) | @SuppressWarnings("deprecation") method DruidMysqlSqlSubqueriesParserTest (line 25) | public DruidMysqlSqlSubqueriesParserTest() { method testSubQueries (line 36) | @Test FILE: src/test/java/io/mycat/route/DruidOracleSqlParserTest.java class DruidOracleSqlParserTest (line 19) | public class DruidOracleSqlParserTest method DruidOracleSqlParserTest (line 25) | public DruidOracleSqlParserTest() { method testInsertUpdate (line 35) | @Test method testLimitToOraclePage (line 63) | @Test method testOraclePageSQL (line 99) | @Test FILE: src/test/java/io/mycat/route/DruidPostgresqlSqlParserTest.java class DruidPostgresqlSqlParserTest (line 18) | public class DruidPostgresqlSqlParserTest method DruidPostgresqlSqlParserTest (line 24) | public DruidPostgresqlSqlParserTest() { method testLimitToPgPage (line 34) | @Test method testPGPageSQL (line 66) | @Test FILE: src/test/java/io/mycat/route/DruidSqlServerSqlParserTest.java class DruidSqlServerSqlParserTest (line 18) | public class DruidSqlServerSqlParserTest method DruidSqlServerSqlParserTest (line 24) | public DruidSqlServerSqlParserTest() { method testLimitToSqlServerPage (line 34) | @Test method testSqlServerPageSQL (line 71) | @Test method testTopPageSQL (line 135) | @Test FILE: src/test/java/io/mycat/route/HintDBTypeTest.java class HintDBTypeTest (line 20) | public class HintDBTypeTest { method HintDBTypeTest (line 25) | public HintDBTypeTest() { method testHint (line 39) | @Test FILE: src/test/java/io/mycat/route/HintTest.java class HintTest (line 23) | public class HintTest { method HintTest (line 28) | public HintTest() { method testHint (line 42) | @Test FILE: src/test/java/io/mycat/route/TestSelectBetweenSqlParser.java class TestSelectBetweenSqlParser (line 27) | public class TestSelectBetweenSqlParser { method TestSelectBetweenSqlParser (line 31) | public TestSelectBetweenSqlParser() { method testBetweenSqlRoute (line 40) | @Test FILE: src/test/java/io/mycat/route/function/AutoPartitionByLongTest.java class AutoPartitionByLongTest (line 30) | public class AutoPartitionByLongTest { method test (line 32) | @Test FILE: src/test/java/io/mycat/route/function/PartitionByCRC32PreSlotTest.java class PartitionByCRC32PreSlotTest (line 34) | public class PartitionByCRC32PreSlotTest { method genTableConfig (line 36) | static TableConfig genTableConfig(int count) { method test (line 44) | @Test method main (line 91) | public static void main(String[] args) { FILE: src/test/java/io/mycat/route/function/PartitionByDateTest.java class PartitionByDateTest (line 29) | public class PartitionByDateTest { method test (line 31) | @Test FILE: src/test/java/io/mycat/route/function/PartitionByHashModTest.java class PartitionByHashModTest (line 14) | public class PartitionByHashModTest { method test (line 16) | @Test class Task (line 29) | private class Task extends Thread{ method Task (line 33) | public Task(CountDownLatch countDownLatch,int count) { method run (line 38) | @Override FILE: src/test/java/io/mycat/route/function/PartitionByHotDateTest.java class PartitionByHotDateTest (line 33) | public class PartitionByHotDateTest { method test (line 35) | @Test FILE: src/test/java/io/mycat/route/function/PartitionByJumpConsistentHashTest.java class PartitionByJumpConsistentHashTest (line 13) | public class PartitionByJumpConsistentHashTest { method test (line 15) | @Test FILE: src/test/java/io/mycat/route/function/PartitionByMonthTest.java class PartitionByMonthTest (line 31) | public class PartitionByMonthTest { method test (line 33) | @Test method sence1CalculateRangeContrastTest (line 94) | @Test method sence1 (line 121) | @Test FILE: src/test/java/io/mycat/route/function/PartitionByPatternTest.java class PartitionByPatternTest (line 31) | public class PartitionByPatternTest { method test (line 33) | @Test FILE: src/test/java/io/mycat/route/function/PartitionByPrefixPatternTest.java class PartitionByPrefixPatternTest (line 30) | public class PartitionByPrefixPatternTest { method test (line 32) | @Test FILE: src/test/java/io/mycat/route/function/PartitionByRangeDateHashTest.java class PartitionByRangeDateHashTest (line 27) | public class PartitionByRangeDateHashTest method test (line 30) | @Test method PartitionByRangeDateHashTest (line 75) | public PartitionByRangeDateHashTest() { method testRange (line 85) | @Test method hash (line 106) | public static int hash(long str,int size) method main (line 111) | public static void main(String[] args) throws ParseException FILE: src/test/java/io/mycat/route/function/PartitionByRangeModTest.java class PartitionByRangeModTest (line 44) | public class PartitionByRangeModTest method test (line 47) | @Test method mod (line 79) | private static int mod(long v, int size) method PartitionByRangeModTest (line 89) | public PartitionByRangeModTest() { method testRange (line 99) | @Test FILE: src/test/java/io/mycat/route/function/PartitionByStringTest.java class PartitionByStringTest (line 31) | public class PartitionByStringTest { method test (line 33) | @Test FILE: src/test/java/io/mycat/route/function/RuleFunctionSuitTableTest.java class RuleFunctionSuitTableTest (line 18) | public class RuleFunctionSuitTableTest { method testAutoPartitionByLong (line 20) | @Test method testPartitionByDate (line 68) | @Test method testPartitionByHashMod (line 108) | @Test method testPartitionByRangeMod (line 133) | @Test method testPartitionByPattern (line 161) | @Test method testPartitionByPrefixPattern (line 184) | @Test FILE: src/test/java/io/mycat/route/function/TestLatestMonthPartion.java class TestLatestMonthPartion (line 7) | public class TestLatestMonthPartion { method testSetDataNodes (line 9) | @Test FILE: src/test/java/io/mycat/route/function/TestNumberParseUtil.java class TestNumberParseUtil (line 31) | public class TestNumberParseUtil { method test (line 33) | @Test FILE: src/test/java/io/mycat/route/parser/druid/impl/DefaultDruidParserTest.java class DefaultDruidParserTest (line 26) | public class DefaultDruidParserTest { method setUp (line 30) | @Before method testParser (line 36) | @Test method getParseTables (line 51) | private Object[] getParseTables(String sql) throws Exception{ method getArr (line 67) | private Object[] getArr(String...strings){ FILE: src/test/java/io/mycat/route/perf/NoShardingSpace.java class NoShardingSpace (line 39) | public class NoShardingSpace { method NoShardingSpace (line 43) | public NoShardingSpace() { method testDefaultSpace (line 50) | public void testDefaultSpace() throws SQLNonTransientException { method main (line 58) | public static void main(String[] args) throws SQLNonTransientException { FILE: src/test/java/io/mycat/route/perf/ShardingDefaultSpace.java class ShardingDefaultSpace (line 39) | public class ShardingDefaultSpace { method ShardingDefaultSpace (line 43) | public ShardingDefaultSpace() throws InterruptedException { method testDefaultSpace (line 53) | public void testDefaultSpace() throws SQLNonTransientException { method getSchema (line 61) | protected SchemaConfig getSchema() { method main (line 65) | public static void main(String[] args) throws Exception { FILE: src/test/java/io/mycat/route/perf/ShardingMultiTableSpace.java class ShardingMultiTableSpace (line 39) | public class ShardingMultiTableSpace { method ShardingMultiTableSpace (line 43) | public ShardingMultiTableSpace() throws InterruptedException { method testTableSpace (line 55) | public void testTableSpace() throws SQLNonTransientException { method getSchema (line 63) | protected SchemaConfig getSchema() { method main (line 67) | public static void main(String[] args) throws Exception { FILE: src/test/java/io/mycat/route/util/PartitionForSingle.java class PartitionForSingle (line 31) | public final class PartitionForSingle { method PartitionForSingle (line 53) | public PartitionForSingle(int[] count, int[] length) { method partition (line 81) | public int partition(long h) { method partition (line 85) | public int partition(String key) { method hash (line 89) | private static long hash(String s) { method main (line 99) | public static void main(String[] args) { FILE: src/test/java/io/mycat/route/util/PartitionUtilTest.java class PartitionUtilTest (line 34) | public class PartitionUtilTest { method testPartition (line 36) | @Test FILE: src/test/java/io/mycat/route/util/RouterUtilTest.java class RouterUtilTest (line 19) | public class RouterUtilTest { method main (line 21) | public static void main(String[] args) { method testBatchInsert (line 27) | @Test method testParseSqlValueArrayAndSuffixStr (line 37) | @Test method testRemoveSchema (line 53) | @Test method testRemoveSchemaSelect (line 62) | @Test method testRemoveSchemaSelect2 (line 71) | @Test method testRemoveSchema2 (line 80) | @Test method testRemoveSchema3 (line 88) | @Test method testRemoveSchema4 (line 96) | @Test method testGetCreateTableStmtTableName (line 108) | @Test method testRemoveSchemaWithHypha (line 128) | @Test FILE: src/test/java/io/mycat/sequence/DistributedSequenceHandlerTest.java class DistributedSequenceHandlerTest (line 23) | public class DistributedSequenceHandlerTest { method initialize (line 27) | @Before method testUniqueInstanceID (line 45) | @Test method testUniqueID (line 59) | @Test method testFailOver (line 93) | @Test method failLeader (line 147) | private int failLeader(int p) { FILE: src/test/java/io/mycat/sequence/IncrSequenceZKHandlerTest.java class IncrSequenceZKHandlerTest (line 24) | public class IncrSequenceZKHandlerTest { method initialize (line 32) | @Before method testCorrectnessAndEfficiency (line 40) | @Test FILE: src/test/java/io/mycat/sequence/SequenceHandlerTest.java class SequenceHandlerTest (line 40) | public class SequenceHandlerTest { method testPropSequence (line 43) | public void testPropSequence() { method main (line 51) | public static void main(String[] args) { FILE: src/test/java/io/mycat/sequence/SequenceTest.java class SequenceTest (line 19) | public class SequenceTest { method initialize (line 24) | @Before method testUUID (line 38) | @Test method testRandom (line 46) | @Test method testRandom2 (line 52) | @Test method testXAXID (line 60) | @Test method end (line 67) | @After FILE: src/test/java/io/mycat/server/handler/ServerHandlerTest.java class ServerHandlerTest (line 3) | public class ServerHandlerTest { FILE: src/test/java/io/mycat/server/interceptor/impl/GlobalTableUtilTest.java class GlobalTableUtilTest (line 10) | public class GlobalTableUtilTest { method addColumnIfCreate (line 29) | @Test method parseSql (line 40) | public String parseSql(String sql) { FILE: src/test/java/io/mycat/sqlexecute/BaseSQLExeTest.java class BaseSQLExeTest (line 40) | public class BaseSQLExeTest { method getCon (line 44) | public static Connection getCon(String url, String user, String passwd) method testMultiNodeNormalSQL (line 50) | private static void testMultiNodeNormalSQL(Connection theCon) method testMultiNodeLargeResultset (line 74) | private static void testMultiNodeLargeResultset(Connection theCon) method testSingleNodeNormalSQL (line 95) | private static void testSingleNodeNormalSQL(Connection theCon) method testBadSQL (line 119) | private static void testBadSQL(Connection theCon) throws SQLException { method testTransaction (line 145) | private static void testTransaction(Connection theCon) throws SQLExcep... method closeCon (line 170) | public static void closeCon(Connection theCon) { method getCon (line 178) | public static Connection getCon(String[] args) throws Exception { method main (line 196) | public static void main(String[] args) throws Exception { FILE: src/test/java/io/mycat/sqlexecute/MultiThreadSelectTest.java class MultiThreadSelectTest (line 11) | public class MultiThreadSelectTest { method testSequnce (line 12) | private static void testSequnce(Connection theCon) throws SQLException { method getCon (line 40) | private static Connection getCon(String url, String user, String passw... method main (line 45) | public static void main(String[] args) { FILE: src/test/java/io/mycat/sqlexecute/MultiThreadSequnceTest.java class MultiThreadSequnceTest (line 11) | public class MultiThreadSequnceTest { method testSequnce (line 12) | private static void testSequnce(Connection theCon) throws SQLException { method getCon (line 33) | private static Connection getCon(String url, String user, String passwd) method main (line 39) | public static void main(String[] args) { FILE: src/test/java/io/mycat/sqlexecute/MycatMulitJdbcVersionTest.java class MycatMulitJdbcVersionTest (line 36) | public class MycatMulitJdbcVersionTest { method dynamicLoadJdbc (line 45) | private static void dynamicLoadJdbc(String mysqlJdbcFile) throws Excep... method dynamicUnLoadJdbc (line 56) | private static void dynamicUnLoadJdbc(String mysqlJdbcFile) throws SQL... method testOneVersion (line 61) | private static void testOneVersion(String mysqlJdbcFile) { method main (line 107) | public static void main(String[] args) { class DriverShim (line 128) | class DriverShim implements Driver { method DriverShim (line 130) | DriverShim(Driver d) { this.driver = d; } method acceptsURL (line 131) | public boolean acceptsURL(String u) throws SQLException { method connect (line 134) | public Connection connect(String u, Properties p) throws SQLException { method getPropertyInfo (line 137) | @Override method getMajorVersion (line 141) | @Override method getMinorVersion (line 145) | @Override method jdbcCompliant (line 149) | @Override method getParentLogger (line 153) | @Override FILE: src/test/java/io/mycat/sqlexecute/RollbackTest.java class RollbackTest (line 7) | public class RollbackTest { method getCon (line 8) | private static Connection getCon(String url, String user, String passwd) method main (line 13) | public static void main(String[] args) { FILE: src/test/java/io/mycat/sqlexecute/ServerPrepareTest.java class ServerPrepareTest (line 18) | public class ServerPrepareTest { method testComStmtSendLondData (line 52) | public static void testComStmtSendLondData() throws IOException { method getBytes (line 125) | private static byte[] getBytes(InputStream in) throws IOException { method testComStmtRest (line 140) | public static void testComStmtRest() { method simpleTest (line 171) | public static void simpleTest() { method main (line 227) | public static void main(String[] args) { method print (line 238) | static void print( String name , ResultSet res ) FILE: src/test/java/io/mycat/sqlexecute/StandBatchInsertTest.java class StandBatchInsertTest (line 7) | public class StandBatchInsertTest { method testJDBCBatchInsert (line 9) | public static void testJDBCBatchInsert(Connection theCon) method main (line 24) | public static void main(String[] args) throws Exception { FILE: src/test/java/io/mycat/sqlexecute/TestJdbc.java class TestJdbc (line 12) | public class TestJdbc { method main (line 13) | public static void main(String[] args) throws SQLException { FILE: src/test/java/io/mycat/sqlexecute/TestPrepareSql.java class TestPrepareSql (line 8) | public class TestPrepareSql { method main (line 24) | public static void main(String[] args) { method testServerPrepareInsertWithBingParam (line 31) | public static void testServerPrepareInsertWithBingParam() { FILE: src/test/java/io/mycat/statistic/SQLStatisticsMain.java class SQLStatisticsMain (line 32) | public class SQLStatisticsMain { FILE: src/test/java/io/mycat/statistic/TestConcurrentSafety.java class TestConcurrentSafety (line 43) | public class TestConcurrentSafety { method testQueryConditionAnalyzer (line 77) | @Test @Ignore method testUserSqlHighStat (line 139) | @Test @Ignore FILE: src/test/java/io/mycat/util/ArrayPerformanceMain.java class ArrayPerformanceMain (line 32) | public class ArrayPerformanceMain { method tArray (line 34) | public void tArray() { method tList (line 48) | public void tList() { FILE: src/test/java/io/mycat/util/BitTest.java class BitTest (line 31) | public class BitTest { method testNoop (line 32) | @Test method main (line 36) | public static void main(String[] args) { FILE: src/test/java/io/mycat/util/ConcurrentHashMapMain.java class ConcurrentHashMapMain (line 32) | public class ConcurrentHashMapMain { method ConcurrentHashMapMain (line 36) | public ConcurrentHashMapMain() { method tGet (line 41) | public void tGet() { method tGetNone (line 47) | public void tGetNone() { method tEmpty (line 53) | public void tEmpty() { method tRemove (line 59) | public void tRemove() { FILE: src/test/java/io/mycat/util/HashMapMain.java class HashMapMain (line 32) | public class HashMapMain { method t (line 34) | public void t() { FILE: src/test/java/io/mycat/util/HexFormatUtilMain.java class HexFormatUtilMain (line 34) | public class HexFormatUtilMain { method main (line 36) | public static void main(String[] args) { FILE: src/test/java/io/mycat/util/HexFormatUtilTest.java class HexFormatUtilTest (line 12) | public class HexFormatUtilTest { method testBytesToString (line 14) | @Test FILE: src/test/java/io/mycat/util/LockPerfMain.java class LockPerfMain (line 32) | public class LockPerfMain { method tReentrantLock (line 34) | public void tReentrantLock() { method tAtomicBoolean (line 53) | public void tAtomicBoolean() { FILE: src/test/java/io/mycat/util/MapPerfMain.java class MapPerfMain (line 37) | public class MapPerfMain { method t1 (line 39) | public void t1() { method t2 (line 48) | public void t2() { method remove1 (line 57) | void remove1(Map m) { method remove2 (line 65) | void remove2(Map m) { FILE: src/test/java/io/mycat/util/SchemaUtilTest.java class SchemaUtilTest (line 10) | public class SchemaUtilTest { method parseShowTableTest (line 11) | @Test method parseShowTableTest1 (line 25) | @Test method parseShowTableTest2 (line 32) | @Test method parseShowTableTest3 (line 44) | @Test method parseShowTableTest4 (line 50) | @Test FILE: src/test/java/io/mycat/util/SmallSetTest.java class SmallSetTest (line 36) | public class SmallSetTest extends TestCase { method assertListEquals (line 38) | public void assertListEquals(Collection col, Object.... method testSet (line 49) | public void testSet() throws Exception { FILE: src/test/java/io/mycat/util/SplitUtilTest.java class SplitUtilTest (line 35) | public class SplitUtilTest { method test (line 37) | @Test method test1 (line 49) | @Test method test2 (line 58) | @Test method test3 (line 66) | @Test method test4 (line 74) | @Test method test5 (line 85) | @Test method test6 (line 94) | @Test method test7 (line 108) | @Test method test8 (line 117) | @Test FILE: src/test/java/io/mycat/util/StringHashPerfMain.java class StringHashPerfMain (line 31) | public class StringHashPerfMain { method main (line 33) | public static void main(String[] args) { FILE: src/test/java/io/mycat/util/StringUtilTest.java class StringUtilTest (line 38) | public class StringUtilTest { method test (line 40) | @Test method test1 (line 47) | @Test method test2 (line 54) | @Test method test3 (line 61) | @Test method test4 (line 68) | @Test method test5 (line 75) | @Test method test6 (line 82) | @Test method test7 (line 89) | @Test method test8 (line 96) | @Test method test9 (line 103) | @Test method test10 (line 110) | @Test method test11 (line 117) | @Test method test12 (line 123) | @Test method test13 (line 134) | @Test FILE: src/test/java/io/mycat/util/SyncPerfMain.java class SyncPerfMain (line 31) | public class SyncPerfMain { method tLockA (line 38) | final void tLockA() { method tLockB (line 45) | final void tLockB() { method main (line 55) | public static void main(String[] args) { FILE: test-output/testng-reports.js function installMethodHandlers (line 39) | function installMethodHandlers(name, hide) { function getHashForMethod (line 83) | function getHashForMethod(element) { function getPanelName (line 87) | function getPanelName(element) { function showPanel (line 91) | function showPanel(panelName) { function showMethod (line 97) | function showMethod(element) { function drawTable (line 108) | function drawTable() {