public class DataRowQueryExpression extends JIPipeExpressionParameter
Modifier and Type | Class and Description |
---|---|
static class |
DataRowQueryExpression.VariablesInfo |
JIPipeExpressionParameter.Deserializer, JIPipeExpressionParameter.List, JIPipeExpressionParameter.Serializer
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
|
escapeString, escapeString, getAdditionalUIVariables, getEvaluator, getEvaluatorInstance, isValidVariableName, setAdditionalUIVariables
equals, evaluate, evaluateToBoolean, evaluateToColor, evaluateToDouble, evaluateToDoubleList, evaluateToFloat, evaluateToInteger, evaluateToIntegerSafe, evaluateToNumber, evaluateToString, getExpression, getTextDescription, hashCode, isEmpty, setExpression, test, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTextDescriptionOf
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–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.