@Test public void testRemoveTempStatement() throws IOException { TempStatementManager manager = TempStatementManager.getInstance(getTestConfig()); manager.removeTempStatement("temp_table1"); Assert.assertEquals(1, manager.reloadAllTempStatement().size()); }
public void removeTempStatement(String statementId) throws IOException { removeTempStatement(TempStatementEntity.DEFAULT_SESSION_ID, statementId); }
TempStatementManager { public void removeTempStatement(String statementId) throws IOException { removeTempStatement(TempStatementEntity.DEFAULT_SESSION_ID, statementId); } }
TempStatementManager { public void removeTempStatement(String statementId) throws IOException { removeTempStatement(TempStatementEntity.DEFAULT_SESSION_ID, statementId); } private  TempStatementManager(KylinConfig cfg); }
TempStatementManager { public void removeTempStatement(String statementId) throws IOException { removeTempStatement(TempStatementEntity.DEFAULT_SESSION_ID, statementId); } private  TempStatementManager(KylinConfig cfg); static TempStatementManager getInstance(KylinConfig config); String getTempStatement(String statementId); String getTempStatement(String sessionId, String statementId); TempStatementEntity getTempStatEntity(String sessionId, String statementId); void updateTempStatement(String statementId, String statement); void updateTempStatement(String sessionId, String statementId, String statement); void removeTempStatement(String statementId); void removeTempStatement(String session, String statementId); }
TempStatementManager { public void removeTempStatement(String statementId) throws IOException { removeTempStatement(TempStatementEntity.DEFAULT_SESSION_ID, statementId); } private  TempStatementManager(KylinConfig cfg); static TempStatementManager getInstance(KylinConfig config); String getTempStatement(String statementId); String getTempStatement(String sessionId, String statementId); TempStatementEntity getTempStatEntity(String sessionId, String statementId); void updateTempStatement(String statementId, String statement); void updateTempStatement(String sessionId, String statementId, String statement); void removeTempStatement(String statementId); void removeTempStatement(String session, String statementId);  }