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 classHistoryResponse.FileEntryFileEntry - 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>filesthe list of file status objects
-
Constructor Summary
Constructors Constructor Description HistoryResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNextBeginMark()beginMark to use on the next request to avoid seeing duplicate records.StringgetPipe()fully qualified pipe namenet.snowflake.ingest.connection.HistoryResponse.HistoryStatsgetStatistics()the statistics reported back by the serviceBooleanisCompleteResult()False if an event was missed between the supplied beginMark and the first event in this report history.voidsetCompleteResult(Boolean completeResult)False if an event was missed between the supplied beginMark and the first event in this report history.voidsetNextBeginMark(String nextBeginMark)beginMark to use on the next request to avoid seeing duplicate records.voidsetPipe(String pipe)fully qualified pipe namevoidsetStatistics(net.snowflake.ingest.connection.HistoryResponse.HistoryStats statistics)the statistics reported back by the serviceStringtoString()
-
-
-
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.)
-
-