@Override protected void appendFields(final StringBuilder sb) { super.appendFields(sb); sb.append(";table=").append(this.table).append(";start=") .append(this.start).append(";increment=").append(this.increment); } }
@Override protected void executeFunction(boolean enableStreaming) throws StandardException, SQLException { Set<DistributedMember> members = getMembers(); if (members == null) { members = getAllGfxdServers(); } final InternalDistributedSystem sys = Misc.getDistributedSystem(); // Misc will return a DS with non-null DM final DM dm = sys.getDM(); // remove all the failed nodes if (this.failedNodes != null) { members.removeAll(this.failedNodes); } executeOnMembers(sys, dm, members, enableStreaming); postExecutionCallback(); }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); }
@Override public void toData(final DataOutput out) throws IOException { super.toData(out); }
@Override public void reset() { super.reset(); this.pvsData = null; this.pvsTypes = null; } }
@Override protected void executeFunction(boolean enableStreaming) throws StandardException, SQLException { try { super.executeFunction(enableStreaming); } catch (RuntimeException re) { throw LeadNodeExecutorMsg.handleLeadNodeRuntimeException(re); } }
@Override public void toData(final DataOutput out) throws IOException { super.toData(out); DataSerializer.writeObject(ctx, out); }
@Override public void reset() { super.reset(); if (this.hostedBuckets != null) { this.hostedBuckets.clear(); } }
@Override protected void executeFunction(boolean enableStreaming) throws StandardException, SQLException { try { super.executeFunction(enableStreaming); } catch (RuntimeException re) { throw LeadNodeExecutorMsg.handleLeadNodeRuntimeException(re); } }
@Override protected final void executeFunction(boolean enableStreaming) throws StandardException, SQLException { Set<DistributedMember> members = getMembers(); if (members == null) { members = getAllGfxdServers(); } final InternalDistributedSystem sys = Misc.getDistributedSystem(); // Misc will return a DS with non-null DM final DM dm = sys.getDM(); // remove all the failed nodes if (this.failedNodes != null) { members.removeAll(this.failedNodes); } executeOnMembers(sys, dm, members, enableStreaming); postExecutionCallback(); }
@Override public void toData(final DataOutput out) throws IOException { super.toData(out); GemFireXDUtils.writeCompressedHighLow(out, this.connectionId); GemFireXDUtils.writeCompressedHighLow(out, this.statementId); }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.ctx = DataSerializer.readObject(in); }
@Override protected void appendFields(final StringBuilder sb) { super.appendFields(sb); sb.append(";op=").append(this.configOp).append(";arg=").append(this.opArg) .append(";useAllMembers=").append(this.useAllMembers) .append(";members=").append(this.members); }
@Override public void reset() { super.reset(); if (this.hostedBuckets != null) { this.hostedBuckets.clear(); } }
@Override protected void executeFunction(boolean enableStreaming) throws StandardException, SQLException { try { super.executeFunction(enableStreaming); } catch (RuntimeException re) { throw handleLeadNodeRuntimeException(re); } }
@Override protected final void executeFunction(boolean enableStreaming) throws StandardException, SQLException { Set<DistributedMember> members = getMembers(); if (members == null) { members = getAllGfxdServers(); } final InternalDistributedSystem sys = Misc.getDistributedSystem(); // Misc will return a DS with non-null DM final DM dm = sys.getDM(); // remove all the failed nodes if (this.failedNodes != null) { members.removeAll(this.failedNodes); } executeOnMembers(sys, dm, members, enableStreaming); postExecutionCallback(); }
@Override public void toData(final DataOutput out) throws IOException { super.toData(out); GemFireXDUtils.writeCompressedHighLow(out, this.connectionId); GemFireXDUtils.writeCompressedHighLow(out, this.statementId); }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.connectionId = GemFireXDUtils.readCompressedHighLow(in); this.statementId = GemFireXDUtils.readCompressedHighLow(in); } }
@Override protected void appendFields(final StringBuilder sb) { super.appendFields(sb); sb.append(";table=").append(this.table).append(";start=") .append(this.start).append(";increment=").append(this.increment); } }
@Override public void reset() { super.reset(); if (this.hostedBuckets != null) { this.hostedBuckets.clear(); } }