Package net.snowflake.ingest.connection
Class HistoryResponse
- java.lang.Object
-
- net.snowflake.ingest.connection.HistoryResponse
-
public class HistoryResponse extends Object
HistoryResponse - an object containing a response we've received from the history endpoint- Author:
- obabarinsa
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HistoryResponse.FileEntry
FileEntry - a pojo containing all of the data about a file reported back from the service
-
Field Summary
Fields Modifier and Type Field Description List<HistoryResponse.FileEntry>
files
the list of file status objects
-
Constructor Summary
Constructors Constructor Description HistoryResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNextBeginMark()
beginMark to use on the next request to avoid seeing duplicate records.String
getPipe()
fully qualified pipe namenet.snowflake.ingest.connection.HistoryResponse.HistoryStats
getStatistics()
the statistics reported back by the serviceBoolean
isCompleteResult()
False if an event was missed between the supplied beginMark and the first event in this report history.void
setCompleteResult(Boolean completeResult)
False if an event was missed between the supplied beginMark and the first event in this report history.void
setNextBeginMark(String nextBeginMark)
beginMark to use on the next request to avoid seeing duplicate records.void
setPipe(String pipe)
fully qualified pipe namevoid
setStatistics(net.snowflake.ingest.connection.HistoryResponse.HistoryStats statistics)
the statistics reported back by the serviceString
toString()
-
-
-
Field Detail
-
files
public List<HistoryResponse.FileEntry> files
the list of file status objects
-
-
Method Detail
-
getStatistics
public net.snowflake.ingest.connection.HistoryResponse.HistoryStats getStatistics()
the statistics reported back by the service
-
setStatistics
public void setStatistics(net.snowflake.ingest.connection.HistoryResponse.HistoryStats statistics)
the statistics reported back by the service
-
isCompleteResult
public Boolean isCompleteResult()
False if an event was missed between the supplied beginMark and the first event in this report history. Otherwise, true.
-
setCompleteResult
public void setCompleteResult(Boolean completeResult)
False if an event was missed between the supplied beginMark and the first event in this report history. Otherwise, true.
-
getPipe
public String getPipe()
fully qualified pipe name
-
setPipe
public void setPipe(String pipe)
fully qualified pipe name
-
getNextBeginMark
public String getNextBeginMark()
beginMark to use on the next request to avoid seeing duplicate records. (Note that this value is a hint. Duplicates can still occasionally occur.)
-
setNextBeginMark
public void setNextBeginMark(String nextBeginMark)
beginMark to use on the next request to avoid seeing duplicate records. (Note that this value is a hint. Duplicates can still occasionally occur.)
-
-