mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-22 12:03:58 +00:00
23 lines
558 B
Java
23 lines
558 B
Java
package com.sap.sse.datamining;
|
|
|
|
import java.util.concurrent.TimeUnit;
|
|
import java.util.concurrent.TimeoutException;
|
|
|
|
import com.sap.sse.datamining.shared.QueryResult;
|
|
|
|
public interface Query<AggregatedType> {
|
|
|
|
public enum QueryType { STATISTIC, DIMENSION_VALUES, OTHER }
|
|
|
|
public QueryState getState();
|
|
|
|
public AdditionalQueryData getAdditionalData();
|
|
|
|
public QueryResult<AggregatedType> run();
|
|
|
|
public QueryResult<AggregatedType> run(long timeout, TimeUnit unit) throws TimeoutException;
|
|
|
|
public void abort();
|
|
|
|
}
|