public class CollectTransformFeedFrameWriter extends Object implements IFeedOperatorOutputSideHandler
IFeedOperatorOutputSideHandler.Type| Constructor and Description |
|---|
CollectTransformFeedFrameWriter(org.apache.hyracks.api.context.IHyracksTaskContext ctx,
org.apache.hyracks.api.comm.IFrameWriter downstreamWriter,
ISubscribableRuntime sourceRuntime,
org.apache.hyracks.api.dataflow.value.RecordDescriptor outputRecordDescriptor,
FeedConnectionId connectionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
fail() |
FeedConnectionId |
getConnectionId() |
org.apache.hyracks.api.comm.IFrameWriter |
getDownstreamWriter() |
FeedId |
getFeedId() |
IFeedOperatorOutputSideHandler.Type |
getType() |
void |
nextFrame(ByteBuffer buffer) |
void |
open() |
void |
reset(org.apache.hyracks.api.comm.IFrameWriter writer) |
public CollectTransformFeedFrameWriter(org.apache.hyracks.api.context.IHyracksTaskContext ctx,
org.apache.hyracks.api.comm.IFrameWriter downstreamWriter,
ISubscribableRuntime sourceRuntime,
org.apache.hyracks.api.dataflow.value.RecordDescriptor outputRecordDescriptor,
FeedConnectionId connectionId)
throws org.apache.hyracks.api.exceptions.HyracksDataException
org.apache.hyracks.api.exceptions.HyracksDataExceptionpublic void open()
throws org.apache.hyracks.api.exceptions.HyracksDataException
open in interface org.apache.hyracks.api.comm.IFrameWriterorg.apache.hyracks.api.exceptions.HyracksDataExceptionpublic void nextFrame(ByteBuffer buffer) throws org.apache.hyracks.api.exceptions.HyracksDataException
nextFrame in interface org.apache.hyracks.api.comm.IFrameWriterorg.apache.hyracks.api.exceptions.HyracksDataExceptionpublic void fail()
throws org.apache.hyracks.api.exceptions.HyracksDataException
fail in interface org.apache.hyracks.api.comm.IFrameWriterorg.apache.hyracks.api.exceptions.HyracksDataExceptionpublic void close()
throws org.apache.hyracks.api.exceptions.HyracksDataException
close in interface org.apache.hyracks.api.comm.IFrameWriterorg.apache.hyracks.api.exceptions.HyracksDataExceptionpublic FeedId getFeedId()
getFeedId in interface IFeedOperatorOutputSideHandlerpublic IFeedOperatorOutputSideHandler.Type getType()
getType in interface IFeedOperatorOutputSideHandlerpublic org.apache.hyracks.api.comm.IFrameWriter getDownstreamWriter()
public FeedConnectionId getConnectionId()
public void reset(org.apache.hyracks.api.comm.IFrameWriter writer)
Copyright © 2016 The Apache Software Foundation. All rights reserved.