Package com.snowflake.ingest.streaming
Class OpenChannelResult
- java.lang.Object
-
- com.snowflake.ingest.streaming.OpenChannelResult
-
public class OpenChannelResult extends java.lang.Object
Result of opening a channel which contains the channel and its status
-
-
Constructor Summary
Constructors Constructor Description OpenChannelResult(SnowflakeStreamingIngestChannel channel, ChannelStatus channelStatus)
OpenChannelResult constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnowflakeStreamingIngestChannel
getChannel()
Get the channelChannelStatus
getChannelStatus()
Get the channel status
-
-
-
Constructor Detail
-
OpenChannelResult
public OpenChannelResult(SnowflakeStreamingIngestChannel channel, ChannelStatus channelStatus)
OpenChannelResult constructor- Parameters:
channel
- the channelchannelStatus
- the channel status
-
-
Method Detail
-
getChannel
public SnowflakeStreamingIngestChannel getChannel()
Get the channel- Returns:
- the channel
-
getChannelStatus
public ChannelStatus getChannelStatus()
Get the channel status- Returns:
- the channel status
-
-