Class PushdownSqlParser
- java.lang.Object
-
- com.exasol.adapter.request.parser.PushdownSqlParser
-
public final class PushdownSqlParser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.json.JsonReadercreateJsonReader(java.lang.String rawRequest)Create a JSON reader for raw request data.static PushdownSqlParsercreateWithTablesMetadata(java.util.List<TableMetadata> involvedTableMetadata)Create an instance of aPushdownSqlParserSqlNodeparseExpression(javax.json.JsonObject expression)protected java.util.Map<java.lang.String,java.lang.String>parseProperties(javax.json.JsonObject jsonSchemaMedadataInfo)
-
-
-
Method Detail
-
parseExpression
public SqlNode parseExpression(javax.json.JsonObject expression)
-
createWithTablesMetadata
public static PushdownSqlParser createWithTablesMetadata(java.util.List<TableMetadata> involvedTableMetadata)
Create an instance of aPushdownSqlParser- Parameters:
involvedTableMetadata- metadata for all tables that are referred to in the push-down request- Returns:
- new instance
-
createJsonReader
protected javax.json.JsonReader createJsonReader(java.lang.String rawRequest)
Create a JSON reader for raw request data.The data stream fed into this reader must be UTF-8 encoded.
- Parameters:
rawRequest- raw JSON string representing an adapter request or part thereof- Returns:
- JSON reader
-
parseProperties
protected java.util.Map<java.lang.String,java.lang.String> parseProperties(javax.json.JsonObject jsonSchemaMedadataInfo)
-
-