Package net.snowflake.ingest.connection
Class HistoryRangeResponse
- java.lang.Object
-
- net.snowflake.ingest.connection.HistoryRangeResponse
-
public class HistoryRangeResponse extends Object
HistoryRangeResponse - response containing all history for a given pipe within a given date range, received from range history endpoint. Created by vganesh on 7/18/17.
-
-
Field Summary
Fields Modifier and Type Field Description List<HistoryResponse.FileEntry>filesthe list of file status objects
-
Constructor Summary
Constructors Constructor Description HistoryRangeResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEndTimeExclusive()endTimeExclusive (timestamp in ISO-8601 format) provided in the request.StringgetPipe()fully qualified pipe nameStringgetRangeEndTime()lastInsertTime (timestamp in ISO-8601 format) of the latest entry in the files included in the response.StringgetRangeStartTime()lastInsertTime (timestamp in ISO-8601 format) of the oldest entry in the files included in the response.StringgetStartTimeInclusive()startTimeInclusive (timestamp in ISO-8601 format) provided in the request.booleanisCompleteResult()False if the report is incomplete, i.e.voidsetCompleteResult(boolean completeResult)voidsetEndTimeExclusive(String endTimeExclusive)endTimeExclusive (timestamp in ISO-8601 format) provided in the request.voidsetPipe(String pipe)fully qualified pipe namevoidsetRangeEndTime(String rangeEndTime)lastInsertTime (timestamp in ISO-8601 format) of the latest entry in the files included in the response.voidsetRangeStartTime(String rangeStartTime)lastInsertTime (timestamp in ISO-8601 format) of the oldest entry in the files included in the response.voidsetStartTimeInclusive(String startTimeInclusive)startTimeInclusive (timestamp in ISO-8601 format) provided in the request.StringtoString()
-
-
-
Field Detail
-
files
public List<HistoryResponse.FileEntry> files
the list of file status objects
-
-
Method Detail
-
getPipe
public String getPipe()
fully qualified pipe name
-
setPipe
public void setPipe(String pipe)
fully qualified pipe name
-
getStartTimeInclusive
public String getStartTimeInclusive()
startTimeInclusive (timestamp in ISO-8601 format) provided in the request.
-
setStartTimeInclusive
public void setStartTimeInclusive(String startTimeInclusive)
startTimeInclusive (timestamp in ISO-8601 format) provided in the request.
-
getEndTimeExclusive
public String getEndTimeExclusive()
endTimeExclusive (timestamp in ISO-8601 format) provided in the request.
-
setEndTimeExclusive
public void setEndTimeExclusive(String endTimeExclusive)
endTimeExclusive (timestamp in ISO-8601 format) provided in the request.
-
getRangeStartTime
public String getRangeStartTime()
lastInsertTime (timestamp in ISO-8601 format) of the oldest entry in the files included in the response.
-
setRangeStartTime
public void setRangeStartTime(String rangeStartTime)
lastInsertTime (timestamp in ISO-8601 format) of the oldest entry in the files included in the response.
-
getRangeEndTime
public String getRangeEndTime()
lastInsertTime (timestamp in ISO-8601 format) of the latest entry in the files included in the response.
-
setRangeEndTime
public void setRangeEndTime(String rangeEndTime)
lastInsertTime (timestamp in ISO-8601 format) of the latest entry in the files included in the response.
-
isCompleteResult
public boolean isCompleteResult()
False if the report is incomplete, i.e. the number of entries in the specified time range exceeds the 10,000 entry limit. If false, the user can specify the current``rangeEndTime`` value as the startTimeInclusive value for the next request to proceed to the next set of entries.
-
setCompleteResult
public void setCompleteResult(boolean completeResult)
-
-