java.lang.Object
org.yamcs.yarch.streamsql.TableWalkerBuilder
- All Implemented Interfaces:
FilterableTarget
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInFilter(ColumnExpression cexpr, boolean negation, Set<Object> values) currently adds only filters on value based partitionsvoidaddRelOpFilter(ColumnExpression cexpr, RelOp relOp, Object value) Tries to add a restriction for the rows to be selected/updated/deleted.build()voidsetAscending(boolean ascending) voidsetFollow(boolean follow)
-
Constructor Details
-
TableWalkerBuilder
-
-
Method Details
-
addRelOpFilter
public void addRelOpFilter(ColumnExpression cexpr, RelOp relOp, Object value) throws StreamSqlException Description copied from interface:FilterableTargetTries to add a restriction for the rows to be selected/updated/deleted. This will implement optimisations to avoid scanning the table row by row.Typically it works if the condition refers to the primary key.
- Specified by:
addRelOpFilterin interfaceFilterableTarget- Throws:
StreamSqlException
-
addInFilter
public void addInFilter(ColumnExpression cexpr, boolean negation, Set<Object> values) throws StreamSqlException currently adds only filters on value based partitions- Specified by:
addInFilterin interfaceFilterableTarget- Throws:
StreamSqlException
-
build
-
setAscending
public void setAscending(boolean ascending) -
setFollow
public void setFollow(boolean follow) -
getTableDefinition
-