sow-historical-filter
Including the basic AMPS library:
import com.crankuptheamps.client.*;
import com.crankuptheamps.client.exception.*;
Constructing the command:
Command cmd = new Command(Message.Command.SOW)
.setTopic(topic)
.setFilter(filter)
// AMPS bookmark or time specifier
.setBookmark(point_in_time_specifier)
;
The command can now be used in execute or executeAsync.