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>
files
the list of file status objects
-
Constructor Summary
Constructors Constructor Description HistoryRangeResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEndTimeExclusive()
endTimeExclusive (timestamp in ISO-8601 format) provided in the request.String
getPipe()
fully qualified pipe nameString
getRangeEndTime()
lastInsertTime (timestamp in ISO-8601 format) of the latest entry in the files included in the response.String
getRangeStartTime()
lastInsertTime (timestamp in ISO-8601 format) of the oldest entry in the files included in the response.String
getStartTimeInclusive()
startTimeInclusive (timestamp in ISO-8601 format) provided in the request.boolean
isCompleteResult()
False if the report is incomplete, i.e.void
setCompleteResult(boolean completeResult)
void
setEndTimeExclusive(String endTimeExclusive)
endTimeExclusive (timestamp in ISO-8601 format) provided in the request.void
setPipe(String pipe)
fully qualified pipe namevoid
setRangeEndTime(String rangeEndTime)
lastInsertTime (timestamp in ISO-8601 format) of the latest entry in the files included in the response.void
setRangeStartTime(String rangeStartTime)
lastInsertTime (timestamp in ISO-8601 format) of the oldest entry in the files included in the response.void
setStartTimeInclusive(String startTimeInclusive)
startTimeInclusive (timestamp in ISO-8601 format) provided in the request.String
toString()
-
-
-
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)
-
-