net.quasardb.qdb.jni.qdb_ts_blob_aggregation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jni Show documentation
Show all versions of jni Show documentation
API for the JNI components of the QuasarDB API for Java. Should not be included directly.
package net.quasardb.qdb.jni;
import net.quasardb.qdb.ts.TimeRange;
public final class qdb_ts_blob_aggregation {
protected long aggregation_type;
protected TimeRange time_range;
protected long count;
protected qdb_ts_blob_point result;
public qdb_ts_blob_aggregation(TimeRange time_range, long aggregation_type) {
this.time_range = time_range;
this.aggregation_type = aggregation_type;
this.count = -1;
}
public qdb_ts_blob_aggregation(TimeRange time_range, long aggregation_type, long count, qdb_ts_blob_point result) {
this.time_range = time_range;
this.aggregation_type = aggregation_type;
this.count = count;
this.result = result;
}
public TimeRange getTimeRange() {
return this.time_range;
}
public long getAggregationType() {
return this.aggregation_type;
}
public long getCount() {
return this.count;
}
public qdb_ts_blob_point getResult() {
return this.result;
}
}