public static class QueryImpl.QueryEntry extends java.lang.Object implements QueryListener, QueryDataHolder, java.lang.Comparable<QueryImpl.QueryEntry>
| Constructor and Description |
|---|
QueryImpl.QueryEntry(QueryImpl impl,
int priority) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(QueryImpl.QueryEntry o) |
QueryParameters |
getParameters() |
Query |
getQuery() |
QueryState |
getState() |
java.util.List<ValueInformation> |
getValueInformation() |
java.util.HashMap<java.lang.String,java.util.List<java.lang.Double>> |
getValues() |
void |
setQuery(Query query) |
void |
updateData(int index,
java.util.Map<java.lang.String,java.util.List<java.lang.Double>> values,
java.util.List<ValueInformation> valueInformation)
Reports data update
|
void |
updateParameters(QueryParameters parameters,
java.util.Set<java.lang.String> valueTypes)
Reports a change in parameters
|
void |
updateState(QueryState state)
Updates the state of the query
|
public QueryImpl.QueryEntry(QueryImpl impl, int priority)
public void setQuery(Query query)
public Query getQuery()
public QueryParameters getParameters()
getParameters in interface QueryDataHolderpublic QueryState getState()
getState in interface QueryDataHolderpublic java.util.List<ValueInformation> getValueInformation()
getValueInformation in interface QueryDataHolderpublic java.util.HashMap<java.lang.String,java.util.List<java.lang.Double>> getValues()
getValues in interface QueryDataHolderpublic void updateState(QueryState state)
QueryListenerupdateState in interface QueryListenerstate - the new statepublic void updateParameters(QueryParameters parameters, java.util.Set<java.lang.String> valueTypes)
QueryListenerupdateParameters in interface QueryListenerparameters - the new parameters, must not be nullvalueTypes - the new value types to expect, must not be null
or emptypublic void updateData(int index,
java.util.Map<java.lang.String,java.util.List<java.lang.Double>> values,
java.util.List<ValueInformation> valueInformation)
QueryListenerAll arrays must have the same size.
updateData in interface QueryListenerindex - index from which the data update starts, must be greater or
equal to zero
and lower than the reported number of entriesvalues - the values that are updates, must not be nullvalueInformation - the value information for the provided values. must not be
nullpublic int compareTo(QueryImpl.QueryEntry o)
compareTo in interface java.lang.Comparable<QueryImpl.QueryEntry>
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0