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

org.diirt.datasource.timecache.query.QueryDataNR Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
 * All rights reserved. Use is subject to license terms. See LICENSE.TXT
 */
package org.diirt.datasource.timecache.query;

import java.util.Collections;
import java.util.List;

import org.diirt.util.time.TimeInterval;
import org.diirt.util.time.Timestamp;
import org.diirt.vtype.VType;

/**
 * Represents a incomplete chunk with not all data yet available.
 * @author Fred Arnaud (Sopra Group) - ITER
 */
public class QueryDataNR implements QueryData {

	private final TimeInterval timeInterval;

	QueryDataNR(TimeInterval timeInterval) {
		this.timeInterval = timeInterval;
	}

	/** {@inheritDoc} */
	@Override
	public TimeInterval getTimeInterval() {
		return timeInterval;
	}

	/** {@inheritDoc} */
	@Override
	public int getCount() {
		return 0;
	}

	/** {@inheritDoc} */
	@Override
	public List getData() {
		return Collections.emptyList();
	}

	/** {@inheritDoc} */
	@Override
	public List getTimestamps() {
		return Collections.emptyList();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy