Package com.snowflake.ingest.streaming
Class ChannelStatus
- java.lang.Object
-
- com.snowflake.ingest.streaming.ChannelStatus
-
public class ChannelStatus extends java.lang.Object
ChannelStatus the channel status returned to the customer.
-
-
Constructor Summary
Constructors Constructor Description ChannelStatus()
ChannelStatus default constructorChannelStatus(java.lang.String channelName, java.lang.String statusCode, java.lang.String latestOffsetToken)
ChannelStatus constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getChannelName()
Get the channel name of the channel statusjava.lang.String
getLatestOffsetToken()
Get the latest offset token for the channel with channel name in the snowflake server side.java.lang.String
getStatusCode()
Get the status code for the channel with channel name in the snowflake server side.
-
-
-
Constructor Detail
-
ChannelStatus
public ChannelStatus()
ChannelStatus default constructor
-
ChannelStatus
public ChannelStatus(java.lang.String channelName, java.lang.String statusCode, java.lang.String latestOffsetToken)
ChannelStatus constructor- Parameters:
channelName
- the channel name of the channel statusstatusCode
- the status code for the channel with channel name in the snowflake serverlatestOffsetToken
- the latest offset token for the channel with channel name in the snowflake server side
-
-
Method Detail
-
getChannelName
public java.lang.String getChannelName()
Get the channel name of the channel status- Returns:
- the channel name of the channel status
-
getLatestOffsetToken
public java.lang.String getLatestOffsetToken()
Get the latest offset token for the channel with channel name in the snowflake server side.- Returns:
- the latest offset token
-
getStatusCode
public java.lang.String getStatusCode()
Get the status code for the channel with channel name in the snowflake server side.- Returns:
- the status code
-
-