edit-icon download-icon

Query

Last Updated: Mar 28, 2018

Class name: com.aliyun.hitsdb.client.value.response.QueryResult

    • 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 time
        endDate - 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 timestamp
        endTime - 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
Thank you! We've received your feedback.