Class IngestionRun
- java.lang.Object
-
- com.snowflake.connectors.application.observability.IngestionRun
-
public class IngestionRun extends Object
Representation of an ingestion run.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIngestionRun.IngestionStatusIngestion run status.
-
Constructor Summary
Constructors Constructor Description IngestionRun(String id, String ingestionDefinitionId, String ingestionConfigurationId, IngestionRun.IngestionStatus status, Instant startedAt, Instant completedAt, long ingestedRows, Instant updatedAt, String ingestionProcessId, Variant metadata)Creates a newIngestionRun.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)InstantgetCompletedAt()Returns the timestamp of the ingestion run end.StringgetId()Returns the id of this ingestion run.LonggetIngestedRows()Returns the number of ingested rows.StringgetIngestionConfigurationId()Returns the ingestion configuration id.StringgetIngestionDefinitionId()Returns the resource ingestion definition id.StringgetIngestionProcessId()Returns the ingestion process id.VariantgetMetadata()Returns the ingestion run metadata.InstantgetStartedAt()Returns the timestamp of the ingestion run start.IngestionRun.IngestionStatusgetStatus()Returns the ingestion status.InstantgetUpdatedAt()Returns the timestamp of the last ingestion run update.inthashCode()
-
-
-
Constructor Detail
-
IngestionRun
public IngestionRun(String id, String ingestionDefinitionId, String ingestionConfigurationId, IngestionRun.IngestionStatus status, Instant startedAt, Instant completedAt, long ingestedRows, Instant updatedAt, String ingestionProcessId, Variant metadata)
Creates a newIngestionRun.- Parameters:
id- ingestion run idingestionDefinitionId- resource ingestion definition idingestionConfigurationId- ingestion configuration idstatus- ingestion statusstartedAt- timestamp of the ingestion run startcompletedAt- timestamp of the ingestion run endingestedRows- number of ingested rowsupdatedAt- timestamp of the last ingestion run updateingestionProcessId- ingestion process idmetadata- ingestion run metadata
-
-
Method Detail
-
getId
public String getId()
Returns the id of this ingestion run.- Returns:
- id of this ingestion run
-
getIngestionDefinitionId
public String getIngestionDefinitionId()
Returns the resource ingestion definition id.- Returns:
- resource ingestion definition id
-
getIngestionConfigurationId
public String getIngestionConfigurationId()
Returns the ingestion configuration id.- Returns:
- ingestion configuration id
-
getStatus
public IngestionRun.IngestionStatus getStatus()
Returns the ingestion status.- Returns:
- ingestion status
-
getStartedAt
public Instant getStartedAt()
Returns the timestamp of the ingestion run start.- Returns:
- timestamp of the ingestion run start
-
getCompletedAt
public Instant getCompletedAt()
Returns the timestamp of the ingestion run end.- Returns:
- timestamp of the ingestion run end
-
getIngestedRows
public Long getIngestedRows()
Returns the number of ingested rows.- Returns:
- number of ingested rows
-
getUpdatedAt
public Instant getUpdatedAt()
Returns the timestamp of the last ingestion run update.- Returns:
- timestamp of the last ingestion run update
-
getIngestionProcessId
public String getIngestionProcessId()
Returns the ingestion process id.- Returns:
- ingestion process id
-
getMetadata
public Variant getMetadata()
Returns the ingestion run metadata.- Returns:
- ingestion run metadata
-
-