@Override public JoinBolt withTimestampExtractor(TimestampExtractor timestampExtractor) { return (JoinBolt) super.withTimestampExtractor(timestampExtractor); }
/** * {@inheritDoc} */ @Override public BaseStatefulWindowedBolt<T> withTimestampExtractor(TimestampExtractor timestampExtractor) { super.withTimestampExtractor(timestampExtractor); return this; }
/** * Specify a field in the tuple that represents the timestamp as a long value. If this field is not present in the incoming tuple, an * {@link IllegalArgumentException} will be thrown. The field MUST contain a timestamp in milliseconds * * @param fieldName the name of the field that contains the timestamp */ public BaseWindowedBolt withTimestampField(String fieldName) { return withTimestampExtractor(TupleFieldTimestampExtractor.of(fieldName)); }
/** * {@inheritDoc} */ @Override public BaseStatefulWindowedBolt<T> withTimestampExtractor(TimestampExtractor timestampExtractor) { super.withTimestampExtractor(timestampExtractor); return this; }
@Override public JoinBolt withTimestampExtractor(TimestampExtractor timestampExtractor) { return (JoinBolt) super.withTimestampExtractor(timestampExtractor); }
/** * Specify a field in the tuple that represents the timestamp as a long value. If this * field is not present in the incoming tuple, an {@link IllegalArgumentException} will be thrown. * * @param fieldName the name of the field that contains the timestamp */ public BaseWindowedBolt withTimestampField(String fieldName) { return withTimestampExtractor(TupleFieldTimestampExtractor.of(fieldName)); }
/** * Specify a field in the tuple that represents the timestamp as a long value. If this * field is not present in the incoming tuple, an {@link IllegalArgumentException} will be thrown. * * @param fieldName the name of the field that contains the timestamp */ public BaseWindowedBolt withTimestampField(String fieldName) { return withTimestampExtractor(TupleFieldTimestampExtractor.of(fieldName)); }