Class ColumnExpressionValidator
java.lang.Object
com.github.javaparser.ast.visitor.VoidVisitorAdapter<Object>
io.deephaven.server.table.validation.ColumnExpressionValidator
- All Implemented Interfaces:
com.github.javaparser.ast.visitor.VoidVisitor<Object>
public class ColumnExpressionValidator
extends com.github.javaparser.ast.visitor.VoidVisitorAdapter<Object>
Validates a column expression coming from the web api, to ensure that the included code will use the limited
supported API, and no use of `new`.
This must be an early pass at the AST on the server, as the server's stricter validation will not function without
it.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
validateColumnExpressions
(SelectColumn[] selectColumns, String[] originalExpressions, Table table) static WhereFilter[]
validateSelectFilters
(String[] conditionalExpressions, Table table) void
void
Methods inherited from class com.github.javaparser.ast.visitor.VoidVisitorAdapter
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
ColumnExpressionValidator
public ColumnExpressionValidator()
-
-
Method Details
-
validateSelectFilters
-
validateColumnExpressions
public static void validateColumnExpressions(SelectColumn[] selectColumns, String[] originalExpressions, Table table) -
visit
-
visit
-