All Products
Search
Document Center

Query.Builder

Last Updated: Apr 28, 2022

Class name: com.aliyun.hitsdb.client.value.request.Query.Builder

com.aliyun.hitsdb.client.value.request.Query.Builder

public static class Query.Builder
extends Object

Builder Essentials

Builder and explanation

Builder(long startTime)

Build instances by start time

Builder(long startTime, long endTime)

Build instances by start and end time

Method Essentials

Qualifier and type

Method and explanation.

Query

build()

Build a query condition.

Query.Builder

delete()

Specifies to delete the queried data. Currently unavailable.

Query.Builder

delete(boolean delete)

Specifies to delete the queried data. Currently unavailable.

Query.Builder

end(long endTime)

Specifies end of time range to be queried.

Query.Builder

sub(Collection<SubQuery> subQuerys)

Add multiple SubQuery objects.

Query.Builder

sub(SubQuery... subQuerys)

Add multiple SubQuery objects.

Method of inheritance from a class java.lang. Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait

Builder details

  • Builder

public Builder(long startTime)
Build instances by start time
  • Builder
public Builder(long startTime,long endTime)

Build instances by start and end time

Method details

  • end

public Query.Builder end(long endTime)

Specifies end of time range to be queried.

  • sub

public Query.Builder sub(SubQuery... subQuerys)

Add multiple SubQuery objects.

  • sub

public Query.Builder sub(Collection<SubQuery> subQuerys)
Add multiple SubQuery objects.
  • delete

public Query.Builder delete()
Specifies to delete the queried data. Currently unavailable.
  • delete

public Query.Builder delete(boolean delete)
Specifies to delete the queried data. Currently unavailable.
  • build

public Query build()
Build a query condition instance.