I want to pass a mock context to an ITupleParserFactory in order to use a
different frame size. The ITupleParserFactory interface is currently defined as
public interface ITupleParserFactory extends Serializable {
public ITupleParser createTupleParser(IHyracksTaskContext ctx);
}
so I must pass an IHyracksTaskContext, which is a difficult interface to
implement because it extends four interfaces.
Since it doesn't look like any of the existing ITupleParserFactory
implementations require the other interfaces' methods, perhaps
IHyracksTaskContext could be changed to IHyracksCommonContext. Are there any
use cases where the additional methods of IHyracksTaskContext are required by
ITupleParserFactory?
Original issue reported on code.google.com by rosenville@gmail.com on 5 Dec 2011 at 5:30
Original issue reported on code.google.com by
rosenville@gmail.com
on 5 Dec 2011 at 5:30