Package dev.frostlake.metastore.model
Class Pipe
java.lang.Object
dev.frostlake.metastore.SqlObject
dev.frostlake.metastore.model.Pipe
- All Implemented Interfaces:
Taggable
Represents a Snowflake PIPE for continuous data loading
-
Field Summary
Fields inherited from class dev.frostlake.metastore.SqlObject
comment, createdTime, name, owner -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the type of this SQL object (e.g., "TABLE", "VIEW", "DATABASE") Subclasses should override to provide their specific typeThe JSON returned bySYSTEM$PIPE_STATUS— reflects the pipe's actual execution state (RUNNING vs PAUSED) and notification channel, matching Snowflake's shape.booleanbooleanisPaused()voidsetAwsSnsTopicArn(String awsSnsTopicArn) voidsetErrorIntegration(String errorIntegration) voidsetIntegration(String integration) voidsetLastLoadedFileCount(int lastLoadedFileCount) voidsetLastLoadedTime(String lastLoadedTime) voidsetPaused(boolean paused) toString()Methods inherited from class dev.frostlake.metastore.SqlObject
equals, getComment, getCreatedTime, getName, getOwner, getTagValue, getTagValues, hashCode, rename, setComment, setName, setOwner, setTag, unsetTag, withoutTrailingSemicolon
-
Constructor Details
-
Pipe
-
Pipe
-
-
Method Details
-
getCopyStatement
-
isAutoIngest
public boolean isAutoIngest() -
getNotificationChannel
-
isPaused
public boolean isPaused() -
setPaused
public void setPaused(boolean paused) -
getErrorIntegration
-
setErrorIntegration
-
getAwsSnsTopicArn
-
setAwsSnsTopicArn
-
getIntegration
-
setIntegration
-
getLastLoadedFileCount
public int getLastLoadedFileCount() -
setLastLoadedFileCount
public void setLastLoadedFileCount(int lastLoadedFileCount) -
getLastLoadedTime
-
setLastLoadedTime
-
getStatus
-
getStatusJson
The JSON returned bySYSTEM$PIPE_STATUS— reflects the pipe's actual execution state (RUNNING vs PAUSED) and notification channel, matching Snowflake's shape. -
getObjectType
Description copied from class:SqlObjectGet the type of this SQL object (e.g., "TABLE", "VIEW", "DATABASE") Subclasses should override to provide their specific type- Specified by:
getObjectTypein classSqlObject- Returns:
- The object type as a string
-
toString
-