use of org.apache.asterix.event.schema.pattern.Delay in project asterixdb by apache.
the class PatternCreator method addInitialDelay.
private void addInitialDelay(Pattern p, int delay, String unit) {
Delay d = new Delay(new Value(null, Integer.toString(delay)), unit);
p.setDelay(d);
}