Class name: com.aliyun.hitsdb.client.value.response.QueryResult
java.lang.Object
com.aliyun.hitsdb.client.value.JSONValue
com.aliyun.hitsdb.client.value.request.Query
public class Query
extends JSONValue
Essentials of the nested class
Qualifier and type | Class and explanations |
|
|
Builder Essentials
Builder and explanation |
|
Method Essentials
Qualifier and type | Method and explanation |
|
Whether to delete. |
|
Get the end time of the queried time range. |
|
Get all sub-queries. |
|
Get the start time of the queried time range. |
|
Specifies to delete the queried data. Set the start time of the queried time range. |
|
Specifies to delete the queried data. Set the start time of the queried time range. |
|
Set the start and end time of the queried time range. And get the Query.Builder instance. |
|
Set the start and end time of the queried time range. And get the Query.Builder instance. |
Method of inheritance from a class com.aliyun.hitsdb.client.value. JSONValue
appendJSON
, parseObject
, toJSON
, toString
Method of inheritance from a class java.lang. Object
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, wait
Builder details
Query
public Query()
Method details
start
public static Query.Builder start(long startTime)
Set the start time of the queried time range.- Parameters:
startTime
- Start timestamp- Return:
- Get the Query.Builder instance
start
public static Query.Builder start(Date startDate)
Set the start time of the queried time range.- Parameters:
startDate
- start date- Return:
- Builder
timeRange
public static Query.Builder timeRange(Date startDate, Date endDate)
Set the start and end time.- Parameters:
startDate
- Start timeendDate
- End time- Return:
- Builder
timeRange
public static Query.Builder timeRange(long startTime, long endTime)
Set the start and end time of the queried time range.- Parameters:
startTime
- Start timestampendTime
- End timestamp- Return:
- Builder
getStart
public long getStart()
Get the start time of the queried time range.getEnd
public long getEnd()
Get the end time of the queried time range.getDelete
public Boolean getDelete()
Get whether to delete the queried data. This function is currently unavailable.getQueries
public List<SubQuery> getQueries()
Get all sub-queries.