public class DataGetter extends DataQuery
| 构造器和说明 |
|---|
DataGetter(AsyncClient asyncClient,
String tableName,
TimestreamIdentifier identifier) |
| 限定符和类型 | 方法和说明 |
|---|---|
DataGetter |
descTimestamp()
Sort in reverse order by the timestamp of the data point, default is ascending.
|
PointIterator |
fetchAll()
Query
|
DataGetter |
filter(Filter filter)
Set the filter condition for the data row, only supports filtering the fields of the data row
|
DataGetter |
limit(int limit)
Set the number of rows returned in a single request during the query
|
DataGetter |
select(String... fields)
Set the list of fields to be read
|
DataGetter |
timeRange(TimeRange timeRange)
The timestamp range of the data to be read
|
DataGetter |
timestamp(long timestamp,
TimeUnit unit)
The timestamp of the data point to read
|
getFilter, getLimit, getSelectColumn, getTimeRange, getTimestamp, getTimestream, isDescTimestamp, setColumnToGet, setFilter, setLimit, setOrderByTimestampDesc, setTimeRange, setTimestamppublic DataGetter(AsyncClient asyncClient, String tableName, TimestreamIdentifier identifier)
public DataGetter filter(Filter filter)
filter - public DataGetter select(String... fields)
fields - The data fields to be queriedpublic DataGetter timeRange(TimeRange timeRange)
timeRange - TimeRange, the time range of the data to be queriedpublic DataGetter timestamp(long timestamp, TimeUnit unit)
timestamp - The timestamp of the data to queryunit - The unit of the timestamppublic DataGetter descTimestamp()
public DataGetter limit(int limit)
limit - public PointIterator fetchAll()
Copyright © 2025. All Rights Reserved.