org.diirt.datasource.timecache.query.QueryDataNR Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datasource-timecache Show documentation
Show all versions of datasource-timecache Show documentation
Local cache for time series gathered from multiple sources.
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();
}
}