public class DataRowQueryExpression extends DefaultExpressionParameter
Modifier and Type | Class and Description |
---|---|
static class |
DataRowQueryExpression.VariableSource |
DefaultExpressionParameter.List
Constructor and Description |
---|
DataRowQueryExpression() |
DataRowQueryExpression(DataRowQueryExpression other) |
DataRowQueryExpression(String expression) |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
query(JIPipeDataSlot slot)
Returns matching rows
|
List<Integer> |
query(JIPipeDataSlot slot,
Collection<Integer> rows)
Returns matching rows
|
boolean |
test(JIPipeDataSlot slot,
int row)
Returns true if the data contained in this slot matches the expression
|
getAdditionalUIVariables, getEvaluator, getEvaluatorInstance, setAdditionalUIVariables
evaluate, evaluateToBoolean, evaluateToColor, evaluateToDouble, evaluateToFloat, evaluateToInteger, evaluateToNumber, evaluateToString, getExpression, isEmpty, setExpression, test, toString
public DataRowQueryExpression()
public DataRowQueryExpression(String expression)
public DataRowQueryExpression(DataRowQueryExpression other)
public boolean test(JIPipeDataSlot slot, int row)
slot
- the data slotrow
- data row indexpublic List<Integer> query(JIPipeDataSlot slot)
slot
- the data slotpublic List<Integer> query(JIPipeDataSlot slot, Collection<Integer> rows)
slot
- the data slotrows
- rows to be checkedCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.