v1

latestOpenAPI 3.0.12026-07-26245126202.6 KB
Segment

Get selected segments timestamps

Get the selected segments given the (inclusive) start and (exclusive) end timestamps in milliseconds. These timestamps will be compared against minmax values of the time column in each segment. If the table is a refresh use case, the value of start and end timestamp is voided, since there is no time column for refresh use case; instead, the whole qualified segments will be returned. If no timestamps are provided, all the qualified segments will be returned. For the segments that partially belong to the time range, the boolean flag 'excludeOverlapping' is introduced in order for user to determine whether to exclude this kind of segments in the response.

get/segments/{tableName}/select

Path parameters

tableNamestring required

Name of the table

Query parameters

typestring

OFFLINE|REALTIME

startTimestampstring

Start timestamp (inclusive) in milliseconds

endTimestampstring

End timestamp (exclusive) in milliseconds

excludeOverlappingboolean

Whether to exclude the segments overlapping with the timestamps, false by default

Response

successful operation

object[] required