Uses of Class
org.yamcs.yarch.streamsql.StreamSqlException
Packages that use StreamSqlException
Package
Description
-
Uses of StreamSqlException in org.yamcs
Methods in org.yamcs that throw StreamSqlException -
Uses of StreamSqlException in org.yamcs.yarch
Methods in org.yamcs.yarch that throw StreamSqlExceptionModifier and TypeMethodDescriptionvoidFilterableTarget.addInFilter(ColumnExpression cexpr, boolean negation, Set<Object> values) same asFilterableTarget.addRelOpFilter(ColumnExpression, RelOp, Object)but adds a restrictions for a set of values resulted from a where x in (a,b,c) conditionvoidFilterableTarget.addRelOpFilter(ColumnExpression cexpr, RelOp relOp, Object value) Tries to add a restriction for the rows to be selected/updated/deleted.YarchDatabaseInstance.createStatement(String query, Object... args) Executes a query and returns a result.YarchDatabaseInstance.execute(StreamSqlStatement stmt) voidYarchDatabaseInstance.execute(StreamSqlStatement stmt, ResultListener resultListener) voidYarchDatabaseInstance.execute(StreamSqlStatement stmt, ResultListener resultListener, long limit) voidYarchDatabaseInstance.executeDiscardingResult(String query, Object... args) voidTableDefinition.setHistogramColumns(List<String> histoColumns) voidTableDefinition.setPartitioningSpec(PartitioningSpec pspec) time based partitions can be on the first column of the key (which has to be of type timestamp) value based partitions can be on any other mandatory columnvoidTableDefinition.setSecondaryIndex(List<String> index) voidTableDefinition.validate()Checks that the table definition is valid: - primary key not string, except for the last in the list (otherwise the binary sorting does not work properly)voidAbstractTableWalker.walk(TableVisitor visitor) voidTableWalker.walk(TableVisitor visitor) protected abstract booleanAbstractTableWalker.walkInterval(PartitionManager.Interval interval, DbRange range, TableVisitor visitor) Runs the data in a time interval (corresponding to a time partition) sending data only that conform with the start and end filters.Constructors in org.yamcs.yarch that throw StreamSqlExceptionModifierConstructorDescriptionMergeStream(YarchDatabaseInstance ydb, Stream[] streams, String mergeColumn, boolean ascending) TableDefinition(String name, TupleDefinition tdef, List<String> primaryKey) Used when creating an empty table via sql. -
Uses of StreamSqlException in org.yamcs.yarch.query
Methods in org.yamcs.yarch.query that throw StreamSqlExceptionModifier and TypeMethodDescriptionCreateStreamQueryBuilder.toStatement()CreateTableQueryBuilder.toStatement()InsertIntoTableQueryBuilder.toStatement()QueryBuilder.toStatement()SelectStreamQueryBuilder.toStatement()UpdateTableQueryBuilder.toStatement() -
Uses of StreamSqlException in org.yamcs.yarch.rocksdb
Methods in org.yamcs.yarch.rocksdb that throw StreamSqlExceptionModifier and TypeMethodDescriptionvoidSecondaryIndexTableWalker.walk(TableVisitor visitor) Iterate data through the given interval taking into account also the tableRange.protected booleanRdbTableWalker.walkInterval(PartitionManager.Interval interval, DbRange tableRange, TableVisitor visitor) Iterate data through the given interval taking into account also the tableRange. -
Uses of StreamSqlException in org.yamcs.yarch.streamsql
Subclasses of StreamSqlException in org.yamcs.yarch.streamsqlModifier and TypeClassDescriptionclassclassclassclassMethods in org.yamcs.yarch.streamsql that throw StreamSqlExceptionModifier and TypeMethodDescriptionvoidAndExpression.addFilter(FilterableTarget tableStream) voidBetweenExpression.addFilter(FilterableTarget tableStream) voidExpression.addFilter(FilterableTarget tableStream) add a filter to the table if applicable.voidInExpression.addFilter(FilterableTarget tableStream) voidOrExpression.addFilter(FilterableTarget tableStream) voidRelationalExpression.addFilter(FilterableTarget tableStream) voidTableWalkerBuilder.addInFilter(ColumnExpression cexpr, boolean negation, Set<Object> values) currently adds only filters on value based partitionsvoidTupleSourceExpression.addInFilter(ColumnExpression cexpr, boolean negation, Set<Object> values) final ExpressionStreamSqlParser.AdditiveExpression()final AddOpStreamSqlParser.AddOp()voidTableWalkerBuilder.addRelOpFilter(ColumnExpression cexpr, RelOp relOp, Object value) voidTupleSourceExpression.addRelOpFilter(ColumnExpression cexpr, RelOp relOp, Object value) booleanHistogramStreamBuilder.addRelOpFilterHistogram(ColumnExpression cexpr, RelOp relOp, Object value) protected abstract voidCompilableAggregateExpression.aggregateFillCode_newData(StringBuilder code) final AlterSequenceStatementStreamSqlParser.AlterSequenceStatement()final AlterTableStatementStreamSqlParser.AlterTableStatement()final ExpressionStreamSqlParser.AndExpression()final voidStreamSqlParser.Argument()final voidStreamSqlParser.Arguments()final BetweenClauseStreamSqlParser.BetweenClause()voidAggregateExpression.bind(TupleDefinition def) voidExpression.bind(TupleDefinition inputDef2) voidInsertValuesExpression.bind(ExecutionContext c) voidSelectExpression.bind(ExecutionContext c) voidWindowSpecification.bind(TupleDefinition inputDef) voidAggregateExpression.bindAggregate(TupleDefinition def) When this is called, all the children are already bound.final BitwiseOpStreamSqlParser.BitwiseOp()final CloseStreamStatementStreamSqlParser.CloseStreamStatement()AggregateExpression.compile()ColumnExpression.compile()Expression.compile()StreamSqlParser.CreateInputStreamStatement()final CreateStreamStatementStreamSqlParser.CreateStreamStatement()final CreateTableStatementStreamSqlParser.CreateTableStatement()final DeleteStatementStreamSqlParser.DeleteStatement()final DescribeStatementStreamSqlParser.DescribeStatement()voidAdditiveExpression.doBind()protected voidAggregateListExpression.doBind()voidAndExpression.doBind()protected voidArgumentExpression.doBind()protected voidArrayExpression.doBind()protected voidBetweenExpression.doBind()voidBitwiseExpression.doBind()voidColumnExpression.doBind()voidExponentExpression.doBind()protected abstract voidExpression.doBind()protected voidFirstValExpression.doBind()protected voidInExpression.doBind()protected voidIsNullExpression.doBind()protected voidLikeExpression.doBind()voidMultiplicativeExpression.doBind()voidNegativeExpression.doBind()voidNotExpression.doBind()voidNullExpression.doBind()voidOrExpression.doBind()voidRelationalExpression.doBind()voidValueExpression.doBind()final DropTableStatementStreamSqlParser.DropTableStatement()protected voidAlterSequenceStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) protected voidAlterTableStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) voidCloseStreamStatement.execute(ExecutionContext c, Consumer<Tuple> consumer) protected voidCreateInputStreamStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) voidCreateOutputStreamStatement.execute(ExecutionContext c, Consumer<Tuple> consumer) protected voidCreateStreamStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) protected voidCreateTableStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) protected voidDeleteStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) voidDescribeStatement.execute(ExecutionContext c, Consumer<Tuple> consumer) protected voidDropTableStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) protected voidInsertStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) InsertValuesExpression.execute(ExecutionContext c) protected voidMergeStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) SelectExpression.execute(ExecutionContext c) SelectTableStatement.execute(YarchDatabaseInstance ydb) voidSelectTableStatement.execute(YarchDatabaseInstance ydb, ResultListener resultListener, long limit) protected voidShowDatabasesStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) protected voidShowSequencesStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) protected voidShowStreamsStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) protected voidShowStreamStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) protected voidShowTablesStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) protected abstract voidSimpleStreamSqlStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) SimpleStreamSqlStatement.execute(YarchDatabaseInstance ydb) voidSimpleStreamSqlStatement.execute(YarchDatabaseInstance ydb, ResultListener resultListener, long limit) StreamSqlStatement.execute(YarchDatabaseInstance ydb) Execute query and return a result.default voidStreamSqlStatement.execute(YarchDatabaseInstance ydb, ResultListener resultListener) Execute query and send the results to the result listener.voidStreamSqlStatement.execute(YarchDatabaseInstance ydb, ResultListener resultListener, long limit) Execute query and limit the number of results returned.protected voidUpdateTableStatement.execute(ExecutionContext context, Consumer<Tuple> consumer) final ExpressionStreamSqlParser.ExponentExpression()final ExpressionStreamSqlParser.Expression()final List<Expression>StreamSqlParser.ExpressionList()protected voidExpression.fillCode_Constructor(StringBuilder code) protected voidInExpression.fillCode_Constructor(StringBuilder code) protected voidArrayExpression.fillCode_Declarations(StringBuilder code) protected voidExpression.fillCode_Declarations(StringBuilder code) protected voidBetweenExpression.fillCode_getValueBody(StringBuilder code) protected voidExpression.fillCode_getValueBody(StringBuilder code) protected voidInExpression.fillCode_getValueBody(StringBuilder code) voidAdditiveExpression.fillCode_getValueReturn(StringBuilder code) voidAggregateExpression.fillCode_getValueReturn(StringBuilder code) voidAndExpression.fillCode_getValueReturn(StringBuilder code) voidArgumentExpression.fillCode_getValueReturn(StringBuilder code) voidArrayExpression.fillCode_getValueReturn(StringBuilder code) voidBetweenExpression.fillCode_getValueReturn(StringBuilder code) voidBitwiseExpression.fillCode_getValueReturn(StringBuilder code) voidColumnExpression.fillCode_getValueReturn(StringBuilder code) voidExponentExpression.fillCode_getValueReturn(StringBuilder code) abstract voidExpression.fillCode_getValueReturn(StringBuilder code) voidInExpression.fillCode_getValueReturn(StringBuilder code) voidIsNullExpression.fillCode_getValueReturn(StringBuilder code) voidLikeExpression.fillCode_getValueReturn(StringBuilder code) voidMultiplicativeExpression.fillCode_getValueReturn(StringBuilder code) voidNegativeExpression.fillCode_getValueReturn(StringBuilder code) voidNotExpression.fillCode_getValueReturn(StringBuilder code) voidNullExpression.fillCode_getValueReturn(StringBuilder code) voidOrExpression.fillCode_getValueReturn(StringBuilder code) voidRelationalExpression.fillCode_getValueReturn(StringBuilder code) voidValueExpression.fillCode_getValueReturn(StringBuilder code) final ExpressionStreamSqlParser.FunctionCall()abstract CompiledAggregateExpressionAggregateExpression.getCompiledAggregate()AggregateListExpression.getCompiledAggregate()CompilableAggregateExpression.getCompiledAggregate()FirstValExpression.getCompiledAggregate()final InClauseStreamSqlParser.InClause()final InsertStatementStreamSqlParser.InsertStatement()final voidStreamSqlParser.IntoClause()final IsNullClauseStreamSqlParser.IsNullClause()final LikeClauseStreamSqlParser.LikeClause()final org.yamcs.yarch.streamsql.MergeExpressionStreamSqlParser.MergeExpression()final ExpressionStreamSqlParser.MultiplicativeExpression()final MultOpStreamSqlParser.MultOp()final BigDecimalStreamSqlParser.NumericConstant()final StringStreamSqlParser.ObjectName()final StreamSqlStatementStreamSqlParser.OneStatement()final booleanStreamSqlParser.OrderClause()final PartitioningSpecStreamSqlParser.PartitioningSpec()final ExpressionStreamSqlParser.PrimaryExpression()final ExpressionStreamSqlParser.RelationalExpression()final RelOpStreamSqlParser.RelOp()final SelectExpressionStreamSqlParser.Select()final SelectExpressionStreamSqlParser.SelectExpression()final SelectItemStreamSqlParser.SelectItem()final List<SelectItem>StreamSqlParser.SelectList()final SelectTableStatementStreamSqlParser.SelectTableStatement()final ShowDatabasesStatementStreamSqlParser.ShowDatabasesStatement()final ShowEnginesStatementStreamSqlParser.ShowEnginesStatement()final ShowSequencesStatementStreamSqlParser.ShowSequencesStatement()final ShowStreamsStatementStreamSqlParser.ShowStreamsStatement()final ShowStreamStatementStreamSqlParser.ShowStreamStatement()final ShowTablesStatementStreamSqlParser.ShowTablesStatement()final ExpressionStreamSqlParser.SimpleExpression()final org.yamcs.yarch.streamsql.StreamExpressionStreamSqlParser.StreamExpression()final StreamSqlStatementStreamSqlParser.StreamSqlStatement()final TableColumnDefinitionStreamSqlParser.TableColumnDefinition()StreamSqlParser.TableFormatOption()final voidStreamSqlParser.TableOption(CreateTableStatement cts) final TupleDefinitionStreamSqlParser.TupleDefinition()final TupleSourceExpressionStreamSqlParser.TupleSourceExpression()final ExpressionStreamSqlParser.UnaryExpression()final ExpressionStreamSqlParser.UnaryLogicalExpression()final UpdateTableStatementStreamSqlParser.UpdateTableStatement()final WindowSpecificationStreamSqlParser.WindowSpecification()Constructors in org.yamcs.yarch.streamsql that throw StreamSqlExceptionModifierConstructorDescriptionInsertValuesExpression(List<String> columns, List<SelectItem> selectList) -
Uses of StreamSqlException in org.yamcs.yarch.streamsql.funct
Methods in org.yamcs.yarch.streamsql.funct that throw StreamSqlExceptionModifier and TypeMethodDescriptionprotected voidCountExpression.aggregateFillCode_newData(StringBuilder code) protected voidSumExpression.aggregateFillCode_newData(StringBuilder code) protected voidCoalesceExpression.doBind()protected voidCountExpression.doBind()protected voidExtractNumberExpression.doBind()protected voidSubstringExpression.doBind()protected voidSumExpression.doBind()protected voidUnhexExpression.doBind()voidCoalesceExpression.fillCode_getValueReturn(StringBuilder code) voidExtractNumberExpression.fillCode_getValueReturn(StringBuilder code) voidSubstringExpression.fillCode_getValueReturn(StringBuilder code) voidUnhexExpression.fillCode_getValueReturn(StringBuilder code)