Constructor and Description |
---|
QueryImpl(Executor executor,
ConnectionImpl connection,
String itemId,
QueryParameters parameters,
QueryListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
changeParameters(QueryParameters parameters)
Request a change of parameters
|
void |
close()
Close the query
|
Long |
getCloseId()
The id of the query used for closing it.
|
Long |
getId() |
void |
handleUpdateData(int index,
Map<String,List<Double>> values,
List<ValueInformation> valueInformation) |
void |
handleUpdateParameter(QueryParameters parameters,
Set<String> valueTypes) |
void |
handleUpdateStatus(QueryState state) |
void |
setId(Long id) |
public QueryImpl(Executor executor, ConnectionImpl connection, String itemId, QueryParameters parameters, QueryListener listener)
public void close()
Query
public void changeParameters(QueryParameters parameters)
Query
changeParameters
in interface Query
parameters
- the new requested parameterspublic void setId(Long id)
public Long getId()
public Long getCloseId()
Since the ID will be set to null
once the query gets closed,
this id will be used to close the query. It must be the same value as the
original id, but only set when the query gets closed.
public void handleUpdateStatus(QueryState state)
public void handleUpdateData(int index, Map<String,List<Double>> values, List<ValueInformation> valueInformation)
public void handleUpdateParameter(QueryParameters parameters, Set<String> valueTypes)