Code example for ResultSet

Methods: getBytesgetLonggetString

0
	 
	public BootstrapEventProcessResult onEvent(ResultSet rs, DbusEventsStatisticsCollector statsCollector) throws BootstrapProcessingException
	{	 
	  try 
	  { 
		  rIds.add(rs.getLong(1));
		  sequences.add(rs.getLong(2));
		  srcKeys.add(rs.getString(3));
		  values.add(rs.getBytes(4));
	  } catch (Exception ex) {
		  throw new BootstrapProcessingException(ex);
	  } 
	   
	  return new BootstrapEventProcessResult(1, false, false); 
	} 
	 
	 
	public void reset() 
	{ 
		rIds.clear();
Contextual code suggestions in your IDE  Get Codota for Java