All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alicloud.openservices.tablestore.timeline.query.SearchResult Maven / Gradle / Ivy

Go to download

Aliyun Open Services SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

The newest version!
package com.alicloud.openservices.tablestore.timeline.query;

import com.alicloud.openservices.tablestore.timeline.model.TimelineIdentifier;

import java.util.List;

public class SearchResult {
    public static class Entry {
        private TimelineIdentifier identifier;
        private T data;

        public Entry(TimelineIdentifier identifier, T data) {
            this.identifier = identifier;
            this.data = data;
        }

        public TimelineIdentifier getIdentifier() {
            return identifier;
        }

        public T getData() {
            return data;
        }
    }

    private List> entries;
    private long totalCount;
    private boolean isAllSucceed;
    private byte[] nextToken;

    public SearchResult(List> entries, boolean isAllSucceed, long totalCount, byte[] nextToken) {
        this.entries = entries;
        this.isAllSucceed = isAllSucceed;
        this.totalCount = totalCount;
        this.nextToken = nextToken;
    }

    public List> getEntries() {
        return entries;
    }

    public long getTotalCount() {
        return totalCount;
    }

    public boolean isAllSucceed() {
        return isAllSucceed;
    }

    public byte[] getNextToken() {
        return nextToken;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy