@Override public void getState(String stateId, OutputStream ostream) { try { ObjectOutputStream oos = new ObjectOutputStream(ostream); sendTable(stateId, oos, false); oos.close(); } catch (IOException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30220, e); } catch (TeiidComponentException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30221, e); } }
@Override public void getState(String stateId, OutputStream ostream) { try { ObjectOutputStream oos = new ObjectOutputStream(ostream); sendTable(stateId, oos, false); oos.close(); } catch (IOException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30220, e); } catch (TeiidComponentException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30221, e); } }
@Override public void getState(String stateId, OutputStream ostream) { try { ObjectOutputStream oos = new ObjectOutputStream(ostream); sendTable(stateId, oos, false); oos.close(); } catch (IOException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30220, e); } catch (TeiidComponentException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30221, e); } }
@Override public void getState(OutputStream ostream) { try { ObjectOutputStream oos = new ObjectOutputStream(ostream); for (Map.Entry<String, TempTable> entry : tableStore.getTempTables().entrySet()) { sendTable(entry.getKey(), oos, true); } oos.writeObject(null); oos.close(); } catch (IOException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30217, e); } catch (TeiidComponentException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30218, e); } }
@Override public void getState(OutputStream ostream) { try { ObjectOutputStream oos = new ObjectOutputStream(ostream); for (Map.Entry<String, TempTable> entry : tableStore.getTempTables().entrySet()) { sendTable(entry.getKey(), oos, true); } oos.writeObject(null); oos.close(); } catch (IOException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30217, e); } catch (TeiidComponentException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30218, e); } }
@Override public void getState(OutputStream ostream) { try { ObjectOutputStream oos = new ObjectOutputStream(ostream); for (Map.Entry<String, TempTable> entry : tableStore.getTempTables().entrySet()) { sendTable(entry.getKey(), oos, true); } oos.writeObject(null); oos.close(); } catch (IOException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30217, e); } catch (TeiidComponentException e) { throw new TeiidRuntimeException(QueryPlugin.Event.TEIID30218, e); } }