Class Pipe

java.lang.Object
dev.frostlake.metastore.SqlObject
dev.frostlake.metastore.model.Pipe
All Implemented Interfaces:
Taggable

public class Pipe extends SqlObject
Represents a Snowflake PIPE for continuous data loading
  • Constructor Details

    • Pipe

      public Pipe(String name, String copyStatement, boolean autoIngest)
    • Pipe

      public Pipe(String name, String copyStatement, boolean autoIngest, String notificationChannel)
  • Method Details

    • getCopyStatement

      public String getCopyStatement()
    • isAutoIngest

      public boolean isAutoIngest()
    • getNotificationChannel

      public String getNotificationChannel()
    • isPaused

      public boolean isPaused()
    • setPaused

      public void setPaused(boolean paused)
    • getErrorIntegration

      public String getErrorIntegration()
    • setErrorIntegration

      public void setErrorIntegration(String errorIntegration)
    • getAwsSnsTopicArn

      public String getAwsSnsTopicArn()
    • setAwsSnsTopicArn

      public void setAwsSnsTopicArn(String awsSnsTopicArn)
    • getIntegration

      public String getIntegration()
    • setIntegration

      public void setIntegration(String integration)
    • getLastLoadedFileCount

      public int getLastLoadedFileCount()
    • setLastLoadedFileCount

      public void setLastLoadedFileCount(int lastLoadedFileCount)
    • getLastLoadedTime

      public String getLastLoadedTime()
    • setLastLoadedTime

      public void setLastLoadedTime(String lastLoadedTime)
    • getStatus

      public String getStatus()
    • getStatusJson

      public String getStatusJson()
      The JSON returned by SYSTEM$PIPE_STATUS — reflects the pipe's actual execution state (RUNNING vs PAUSED) and notification channel, matching Snowflake's shape.
    • getObjectType

      public String getObjectType()
      Description copied from class: SqlObject
      Get the type of this SQL object (e.g., "TABLE", "VIEW", "DATABASE") Subclasses should override to provide their specific type
      Specified by:
      getObjectType in class SqlObject
      Returns:
      The object type as a string
    • toString

      public String toString()
      Overrides:
      toString in class SqlObject